/* The Modal (background) */

body.shopglut-admin {
  overflow-x: hidden;
}

.shopg_layout_modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 999999;
  /* Sit on top */
  padding-top: 10px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.shopg_layout_modal .modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 98%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

.shopg_layout_modal .modal-header h2 {
  color: #fff;
}

.disable-link {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;

}

.disabled-nav-link {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: none;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -10px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -10px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

/* The Close Button */
.shopg_layout_modal .shop-layouts-compare-modal-close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: 12px;
}

.shopg_layout_modal .shop-layouts-compare-modal-close:hover,
.shopg_layout_modal .shop-layouts-compare-modal-close:focus {
  color: #aaaaaa;
  text-decoration: none;
  cursor: pointer;
}

.shopg_layout_modal .modal-header {
  padding: 2px 16px;
  background-color: #2365a5;
  color: white;
}

.shopg_layout_modal .modal-body {
  padding: 2px 16px;
}

.shopg_layout_modal .modal-footer {
  padding: 5px 16px;
  background-color: #2365a5;
  color: white;
}

.shopglut-admin #screen-meta-links {
  display: none;
}

.shopglut-admin .notice.notice-warning.update-nag {
  display: none;
}

.shopglut-admin .updated,
.shopglut-admin .notice {
  display: none !important;
}

/* styles.css */
#shopg-layout-admin-settings {
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.897);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  /* Ensure this is above other content */
  transition: opacity 0.5s ease;
}

.loader-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  /* Adjust the width according to your icon size */
  height: 100px;
  /* Adjust the height according to your icon size */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.loader-image {
  width: 80%;
  /* Adjust the size of your icon image */
  height: 80%;
  position: absolute;
  z-index: 1;
  animation: breathe 1.7s ease-in-out infinite;
}

.loader-dash-circle {
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 3px dashed #0668c4;
  /* Adjust the border color and thickness */
  border-radius: 50%;
  animation: rotate 6.4s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.loader-text {
  position: absolute;
  z-index: 1;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #0668c4;
  background-color: white;
  padding: 5px 10px;
  border-radius: 4px;
  animation: breathe 1.7s ease-in-out infinite;
  width: 80%;
  max-width: 120px;
}

@keyframes breathe {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.shopg-inside-loader {
  display: none;
}

.shopg-inside-loader-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.897);
  transition: opacity 0.5s ease;
}

.shopg-inside-loader-container {
  position: relative;
  /* This ensures child elements are positioned correctly */
  width: 100px;
  /* Adjust the width according to your icon size */
  height: 100px;
  /* Adjust the height according to your icon size */
  display: flex;
  align-items: center;
  justify-content: center;
}

.shopg-inside-loader-image {
  width: 80%;
  /* Adjust the size of your icon image */
  height: 80%;
  animation: breathe 1.7s ease-in-out infinite;
  z-index: 1;
  /* Ensure the image is above the dash circle */
}

.shopg-inside-loader-dash-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px dashed #0668c4;
  /* Adjust the border color and thickness */
  border-radius: 50%;
  animation: rotate 6.4s linear infinite;
  z-index: 0;
  /* Ensure the dash circle is below the image */
}

#shopg-shoplayout-container #no-product-found {
  padding-left: 10px;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(0.98);
  }

  50% {
    transform: scale(1.05);
  }
}

#shopg-showcase-loading {
  position: fixed;
  top: 0;
  left: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  background-color: #fff;
  z-index: 99;
  overflow: hidden;
  clear: both;
}

@keyframes rotate {

  /* Rotate the image from 0 to 360 degrees */
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#showcase-loading-image {
  z-index: 100;
  align-items: center;
  animation: rotate 10s linear infinite;
}

/**** Modal ****/
/* Modal styling */
/* Background overlay for modal */
/* Modal overlay */
.agshopglut-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0 0 0 / 22%);
  /* Adjust transparency here */
  z-index: 1000;
  /* Behind modal but above other content */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.agshopglut-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Modal container */
.agshopglut-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1010;
  padding: 0;
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  /* Control the duration here */
}

.agshopglut-modal.show {
  opacity: 1;
  visibility: visible;
}

/* Modal content styling */
.agshopglut-modal .modal-content {
  padding: 20px;
  overflow-y: auto;
  max-height: 80vh;
}

/* Close button */
.agshopglut-modal .modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.agshopglut-modal .modal-content .close:hover {
  color: #e74c3c;
  /* Hover color */
}

/* Title styling */
.agshopglut-modal .modal-content h3 {
  margin-top: 0;
  font-size: 1.5em;
  text-align: center;
  color: #333;
}

/* Centering buttons inside modal */
.agshopglut-modal .terms-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Style term items and images */
.agshopglut-modal .term-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.agshopglut-modal .term-item label {
  font-weight: bold;
  color: #333;
}

.agshopglut-modal .term-item .wp-picker-container {
  padding-right: 45px;
}

/* Image preview styling */
.agshopglut-modal .image-preview img {
  max-width: 125px;
  max-height: 85px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Button styling */
.agshopglut-modal .button {
  padding: 8px 12px;
  font-size: 0.9em;
  color: #fff;
  background-color: #0073aa;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.agshopglut-modal .button:hover {
  background-color: #005177;
  color: white;
}

.agshopglut-modal .remove-image {
  background-color: #dc3545;
}

.agshopglut-modal .remove-image:hover {
  background-color: #c82333;
}

.agshopglut-modal .save_images_message.success_message {
  display: none;
  position: relative;
  left: 50%;
  margin-bottom: 10px;
  background-color: #d4edda;
  /* Light green background */
  color: #155724;
  /* Dark green text */
  border: 1px solid #c3e6cb;
  /* Border matching background */
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transform: translateX(-50%);
  z-index: 1050;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.5s ease, top 0.5s ease;
}

/* Save button styling */
.agshopglut-modal #save_filter_images {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  background-color: #28a745;
  border: none;
  border-radius: 4px;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.agshopglut-modal #save_filter_images:hover {
  background-color: #218838;
}

/* Responsive styling */
@media (max-width: 600px) {
  .agshopglut-modal {
    width: 95%;
    max-width: 100%;
  }

  .agshopglut-modal .modal-content h3 {
    font-size: 1.25em;
  }
}

/**** Modal End ******/

.shopglut-shoplayouts #post-body.columns-2 {
  margin-right: 10px !important;
}

#shopg-shoplayout-container {
  float: right;
  width: 74%;
  max-width: 2500px;
  position: relative;
}

#post-body.columns-2 #shopg-shoplayout-settings {
  float: left;
  width: 25%;
  max-width: 1200px;
}

#shopg-product-layout-container {
  float: right;
  width: 62%;
  max-width: 2500px;
  position: relative;
}

#shopg-cart-layout-container {
  float: right;
  width: 100%;
  max-width: 2500px;
  position: relative;
}

.cart_settings .shopglut_layout_contents
 {
    display: flex;
    padding: 5px 0px 3px 0px;
    margin: 0 auto;
    width: 1200px;
}


.agl-tabbed-contents.agl-tabbed-contents-cart-column-section {
    padding: 15px;
}

#shopg-product-layout-container.collapsed {
  width: 96%;
}

#post-body.columns-2 #shopg-product-layout-settings {
  float: left;
  width: 35%;
  max-width: 1200px;
  margin-right: 30px;
}

#shopg-product-layout-settings {
  width: 300px;
  height: 200px;
  display: flex;
  transition: transform 0.3s ease;

}

#shopg-product-layout-settings .toggle-button {
  position: absolute;
  right: 0px;
  top: 100%;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right top;
  padding: 6px 60px;
  background: #097dab;
  color: #fff;
  border: none;
  border-radius: 3px 3px 0 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

#shopg-product-layout-settings .toggle-button:hover {
  background: #135e96;
}

#shopg-product-layout-settings .toggle-button:hover {
  background: #2271b1;
}

#shopg-product-layout-settings .toggle-button.collapsed {
  background: #097dab;
  right: -242px;
}

#shopg_single_product_settings .agl-field-tabbed .agl-tabbed-content>.agl-field {
  padding: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
}

div#shopg_single_product_settings {
  margin-bottom: 7vh;
}

#shopg_single_product_settings .agl-field.agl-field-tabbed.product-tab-section {
  margin-bottom: 100px;
}

/* Add this to ensure proper positioning */
#shopg-product-layout-settings.postbox-container {
  position: relative;
}

#shopg-product-layout-settings.collapsed {
  transform: translateX(-280px);
  width: 2% !important;
  margin-right: 15px !important;
}

#shopg-product-layout-settings .toggle-button:hover {
  background-color: #2980b9;
}

#shopg-product-layout-settings .toggle-button.expanded::after {
  transform: rotate(180deg);
}

#poststuff #post-body.columns-2 #shopg-product-layout-settings #side-sortables {
  width: 100%;
}

#poststuff #post-body.columns-2 #shopg-shoplayout-settings #side-sortables {
  margin-right: 15px;
  width: initial !important;
}

#agwoo_options_settings.postbox {
  width: initial !important;
  min-width: initial !important;
}

.shopg-admin-edit-panel .notice {
  display: none;
}

/* product design */
.shopglut-product-settings-layout {
  display: flex;
}

/* Container for the entire product layout */
.shopglut-product-layout {
  display: flex;
  flex-wrap: wrap;
}

/* Style for each product layout container */
.product-layout {
  width: 48%;
  /* Adjust the width as needed, leaving some space for margins */
  margin: 1%;
  /* Adjust the margin as needed */
  box-sizing: border-box;
}

/* Style for each product design div */
.product-design {
  display: inline-block;
  border: 1px solid #ddd;
  box-sizing: border-box;
  margin-bottom: 20px;
  background-color: #fff;
  margin-bottom: 15px;
}

/* Style for product title */
.product-design .product-title {
  font-size: 16px;
  margin: 0px;
}

.product-design .product-title a {
  text-decoration: none;
}

.product-design .product-category {
  font-size: 15px;
  margin: 0px;
}

.product-design .product-category a {
  text-decoration: none;
}

/* Style for product image */
.product-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

/* Style for product info (price, description, etc.) */

/* Style for product price */
.product-price {
  font-weight: bold;
  color: green;
}

/* Style for product description */
.product-description {
  margin-top: 10px;
  color: #555;
}

/* Style for product add to cart button */
.product-add-to-cart a {
  display: block;
  margin-top: 10px;
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
}

/* Hover effect for add to cart button */
.product-add-to-cart a:hover {
  background-color: #0056b3;
}

/* Style for create layout button */
.create-layout {
  text-align: center;
}

.create-layout input {
  background-color: #28a745;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Hover effect for create layout button */
.create-layout input:hover {
  background-color: #218838;
}

.wrap.shopglut-admin-contents {
  padding-left: 15px;
  padding-top: 8px;
}

.wrap.shopglut-admin-contents.shoplayouts-templates {
  text-align: center;
  padding-left: 0px;
  margin-left: 0px;
  margin-right: 15px;
}

.wrap.shopglut-admin-contents.shortcode-showcase {
  text-align: center;
  padding-left: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding-top: 0px;
  padding-right: 20px;
  margin-top: 8px;
}

.shortcode-showcase h1 {
  padding-top: 4px;
}

.shoplayouts-templates h1,
.shortcode-showcase h1 {
  font-weight: 600;
}

.shoplayouts-templates p,
.shortcode-showcase p {
  margin: 0;
  line-height: 0;
  padding-top: 13px;
  padding-bottom: 35px;
}

.shopg_templates_layouts.col-3 .template_design_layouts {
  grid-template-columns: repeat(3, 1fr);
}

.shopg_templates_layouts .template_design_layouts {
  display: grid;
}

.shopg_template_title {
  text-align: center;
}

.shopg_template_title h2 {
  margin: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.shopg_templates_layouts.choose-template {
  padding: 15px;
  padding-top: 0px;
  background: #fbfbfb;
  margin: 5px;
  margin-bottom: 25px;
  border: 2px solid #d0d0d0;
}

.shopg-create-layout {
  text-align: center;
}

.shopg-create-layout .btn.btn-green {
  background: #219e48;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/*--- Page Header ---*/
.shopglut-admin .shopglut-page-header .shopglut-page-header-banner {
  background-color: #7340b0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  top: 0;
  width: 100%;
  padding: 15px;
  padding-bottom: 0px;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-wrap {
  margin-bottom: 10px;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-banner.shopglut-pro {
  padding: 15px 15px 0;
}

.shopglut-admin .shopglut-page-header .wrap {
  padding-left: 20px;
  margin: 0 20px 0 2px;
}

.wp-admin.shopglut-admin #wpcontent {
  padding: 0;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-banner__logo {
  padding: 0 0 15px;
  display: block;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-banner__logo img {
  width: 150px;
  height: auto;
  float: left;
  margin-top: 25px;
  padding-left: 15px;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-banner__helplinks {
  float: right;
  padding: 20px 20px 20px;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-banner__helplinks a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-banner__helplinks a.shopglut-active {
  background: #fff;
  padding: 5px;
  color: #0068b3;
  border-radius: 4px;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-banner__helplinks>span {
  padding-right: 15px;
}

.shopglut-admin div#screen-meta-links {
  position: absolute;
  right: 0;
  z-index: 9;
}

.shopglut-admin .shopglut-page-header .shopglut-nav-tab-wrapper {
  padding: 0;
  margin: 10px 16px 0;
  border-bottom: 0;
}

.shopglut-admin .shopglut-page-header .shopglut-nav-tab-wrapper .shopglut-nav-tab {
  display: block;
  font-weight: 500;
  padding: 5px 12px;
  padding-bottom: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.shopglut-admin .shopglut-page-header .shopglut-nav-tab-wrapper .shopglut-nav-tab.shopglut-nav-active {
  background-color: #fff;
  color: #2d3559;
  border-color: #fff;
  border-radius: 4px 4px 0 0;
  padding-bottom: 8px;
  padding-top: 7px;
}

.shopglut-admin .shopglut-page-header-banner.shopglut-not-pro {
  padding-bottom: 0;
}

.shopglut-admin .shopglut-page-header .shopglut-no-submenu .shopglut-nav-tab-wrapper {
  margin-top: 0;
}

.shopglut-admin .shopglut-page-header-banner .shopglut-header-menus {
  margin-top: 10px;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-wrap+.wrap h2 {
  font-size: 21px;
  font-weight: 500;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-wrap .subsubsub {
  background: #fff;
  font-size: 14px;
  padding: 0 32px;
  margin-top: 0;
  float: none;
  text-align: left;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-wrap .subsubsub a {
  color: #1d2327;
  display: block;
  font-weight: 600;
  padding: 8px 12px;
}

.shopglut-admin .shopglut-page-header .shopglut-page-header-wrap .subsubsub a.shopglut-current {
  color: #0068b3;
}

.shopglut-admin .shopglut-page-header.wp-core-ui .wrap a.shopglut-link {
  display: block;
  margin-top: 10px;
  font-size: 1em;
}

.shopglut-admin .shopglut-page-header.wp-core-ui .wrap a.shopglut-link svg {
  width: 1.2em;
  margin: 0 0.2em 0;
  height: 1.4em;
  vertical-align: middle;
  fill: currentcolor;
}

.shopglut-admin .ppview .pp-alert-notice,
.shopglut-admin .profile-php .pp-alert-success {
  background: #fff;
  border: 1px solid #c3c4c7;
  border-left-width: 4px;
  box-shadow: rgba(0, 0, 0, 0.04) 0 1px 1px 0;
  margin: 5px 2px;
  padding: 1px 12px;
  border-left-color: #d63638;
}

.shopglut-admin .profile-php .pp-alert-success {
  border-left-color: #72aee6;
  padding: 8px 10px;
}

.shopglut-admin .ppview .pp-alert-notice-info {
  border-left-color: #72aee6;
}

.shopglut-admin .ppview .pp-alert-notice p,
.shopglut-admin .profile-php .pp2fa-up-notice p {
  margin: 0.5em 0;
  padding: 2px;
}

.shopglut-admin .profile-php .ppmyac-2fa-recovery-codes-wrap pre {
  background: #fff;
  max-width: 150px;
  border: 1px solid #c3c4c7;
  width: 100%;
  text-align: center;
  padding: 10px 20px;
  margin-bottom: 20px;
  line-height: 1.8;
  overflow: auto;
}

.shopglut-admin .shopglut-page-header .subscription_plan .manage-column.column-name {
  width: 25%;
}

.shopglut-admin .shopglut-page-header .subscription_plan .manage-column.column-status {
  width: 10%;
}

.shopglut-admin .shopglut-page-header .subscription_plan .manage-column.column-checkout_url {
  width: 20%;
}

.shopglut-admin .shopglut-page-header .ppview .postbox .shopglut-subscription-plan-payment-links input {
  width: 100% !important;
  max-width: 100% !important;
}

/*--- End Page Header ---*/

.shopglut-admin .layout_settings {
  margin: 0px;
  padding-top: 6px;
  padding-left: 10px;
}

.shopglut-admin .shopg-filter-admin-page.layout_settings {
  padding: 0px;
}

.shopglut-admin .shopg-filter-admin-page {
  background: #f5f5f5;
}

.ddpb-container {
  display: flex;
}

.ddpb-sidebar {
  width: 20%;
  background-color: #f4f4f4;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.ddpb-elements {
  flex-grow: 1;
}

.ddpb-element {
  background-color: #e2e2e2;
  margin: 10px 0;
  padding: 10px;
  cursor: pointer;
}

.ddpb-editor {
  width: 80%;
  min-height: 10px;
  border: 2px dashed #ccc;
  margin-left: 10px;
  padding: 10px;
}

.ddpb-settings {
  margin-top: 20px;
}

.ddpb-settings-content {
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 10px;
}

.ddpb-placeholder {
  background: #f0f0f0;
  border: 2px dashed #ccc;
  margin: 10px 0;
  height: 50px;
}

.ddpb-row {
  display: flex;
  margin: 10px 0;
}

.ddpb-column {
  flex: 1;
  border: 1px dashed #ccc;
  padding: 10px;
  margin: 5px;
  min-height: 100px;
}

#shop-layouts-quick-view-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Shared Styles for #shopg-layout-admin-settings and #shopg_shop_contents */

/* Table Header Styling */
#shopg-layout-admin-settings .shop-layouts-compare-modal table.comparison-table th h2,
#shopg_shop_contents .shop-layouts-compare-modal table.comparison-table th h2 {
  margin: 0px;
  font-size: 17px;
  padding: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Button Styling */
#shopg-layout-admin-settings button.shopg-shop-remove-compare,
#shopg_shop_contents button.shopg-shop-remove-compare {
  padding: 6px;
  font-size: 12px;
  background: #e5e5e5;
  color: #000;
  font-weight: bold;
  border: 1px solid #939393;
}

/* Modal Styling */
#shopg-layout-admin-settings .shop-layouts-compare-modal,
#shopg_shop_contents .shop-layouts-compare-modal,
.shopglut-slider-wrapper .shop-layouts-compare-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 950px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  overflow-x: auto;
  overflow-y: auto;
  height: 92vh;
}

/* Modal Content Padding */
#shopg-layout-admin-settings .modal-content,
#shopg_shop_contents .modal-content {
  padding: 20px;
  padding-bottom: 16px;
}

/* Close Button Styling */
#shopg-layout-admin-settings .shop-layouts-compare-modal .shop-layouts-compare-modal-close,
#shopg_shop_contents .shop-layouts-compare-modal .shop-layouts-compare-modal-close,
.shopglut-slider-wrapper .shop-layouts-compare-modal .shop-layouts-compare-modal-close {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 20px;
  cursor: pointer;
}

/* Loading Icon Alignment */
#shopg-layout-admin-settings .shop-layouts-compare-modal .loading-icon,
#shopg_shop_contents .shop-layouts-compare-modal .loading-icon {
  text-align: center;
}

/* Loading Icon Image Size */
#shopg-layout-admin-settings .shop-layouts-compare-modal .loading-icon img,
#shopg_shop_contents .shop-layouts-compare-modal .loading-icon img {
  width: 50px;
  height: 50px;
}

/* Comparison Table Styling */
#shopg-layout-admin-settings .shop-layouts-compare-modal .comparison-table,
#shopg_shop_contents .shop-layouts-compare-modal .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

/* Table Cells Styling */
#shopg-layout-admin-settings .shop-layouts-compare-modal .comparison-table th,
#shopg_shop_contents .shop-layouts-compare-modal .comparison-table th,
#shopg-layout-admin-settings .shop-layouts-compare-modal .comparison-table td,
#shopg_shop_contents .shop-layouts-compare-modal .comparison-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

/* Table Header Background */
#shopg-layout-admin-settings .shop-layouts-compare-modal .comparison-table th,
#shopg_shop_contents .shop-layouts-compare-modal .comparison-table th {
  background-color: #fbfbfb;
  min-width: 150px;
}

/* Notification container styling */
#shopg-notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  /* Ensure it's above other elements */
}

/* General notification styling */
#shopg-notification-container .notification {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 15px;
  margin-top: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  display: none;
  /* Initially hidden */
  position: relative;
  right: -300px;
  /* Off-screen position for sliding effect */
  color: #333;
  /* Default text color */
}

#shopg-notification-container .notification.wishlist-added {
  background-color: #1bb13f;
  border-color: #c3e6cb;
  color: #ffffff;
}

#shopg-notification-container .notification.wishlist-removed {
  background-color: #e93d3d;
  border-color: #f5c6cb;
  color: #ffffff;
}

/* Quick View Container */
.product-quick-view {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
}

/* Product Images */
.product-quick-view .product-images {
  flex: 1;
  max-width: 50%;
  padding-right: 20px;
}

/* Product Summary */
.product-quick-view .product-summary {
  flex: 1;
  max-width: 50%;
  padding-left: 20px;
}

/* Product Title */
.product-quick-view .product-title {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Price */
.product-quick-view .price {
  font-size: 22px;
  color: #000;
  margin-bottom: 10px;
}

/* Rating */
.product-quick-view .rating {
  margin-bottom: 10px;
}

/* Description */
.product-quick-view .description {
  margin-bottom: 20px;
}

/* Product Meta */
#shop-layouts-quick-view-modal .product-quick-view .product-meta {
  margin-bottom: 20px;
}

#shop-layouts-quick-view-modal .product-quick-view .product-meta a {
  text-decoration: none;
}

/* Add to Cart Button */
.product-quick-view .add-to-cart {
  margin-top: 20px;
}

/* Optional: Customize the add-to-cart button */
.product-quick-view .add-to-cart button.single_add_to_cart_button {
  background-color: #0071a1;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.product-quick-view .add-to-cart button.single_add_to_cart_button:hover {
  background-color: #005880;
}

.quick-view-content {
  background-color: #fff;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  max-width: 600px;
  position: relative;
  top: 100px;
}

.shop-layouts-quick-view-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.shop-layouts-quick-view-modal-close:hover,
.shop-layouts-quick-view-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Pagination Container */
.shopglut-pagination-container {
  text-align: center;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

/* Pagination Wrapper */
.shopglut-pagination-container #numbering-pagination {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  /* Space between page links */
}

/* Common Styles for Pagination Links */
.shopglut-pagination-container #numbering-pagination .page-numbers {
  display: inline-block;
  padding: 7px 16px;
  font-size: 16px;
  color: #333;
  /* Text color */
  background-color: #f8f8f8;
  /* Background color */
  border: 1px solid #ddd;
  /* Border color */
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover Effect */
.shopglut-pagination-container #numbering-pagination .page-numbers:hover {
  background-color: #007bff;
  /* Highlight color */
  color: #fff;
  /* Text color on hover */
  border-color: #007bff;
  /* Border color on hover */
}

/* Active Page (Current Page) */
.shopglut-pagination-container #numbering-pagination .page-numbers.current {
  background-color: #007bff;
  /* Active background color */
  color: #fff;
  /* Active text color */
  border-color: #007bff;
  font-weight: bold;
  cursor: default;
}

/* Next Arrow */
.shopglut-pagination-container #numbering-pagination .page-numbers.next {
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 600px) {
  .shopglut-pagination-container #numbering-pagination .page-numbers {
    padding: 8px 10px;
    font-size: 14px;
  }
}

/* Pagination Container */
.shopglut-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-family: Arial, sans-serif;
}

/* Pagination Links */
.shopglut-pagination a {
  text-decoration: none;
  color: #333;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover and Active Styles */
.shopglut-pagination a:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.shopglut-pagination a.current {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* Load More Button */
.shopglut-pagination-load-more .load-more-button {
  padding: 10px 20px;
  font-weight: bold;
  background-color: #007bff;
  color: #fff;
  border: 1px solid #007bff;
  border-radius: 5px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.shopglut-pagination-load-more .load-more-button:hover {
  background-color: #0056b3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Previous/Next Only Pagination */
.shopglut-pagination-prev-next a {
  font-weight: bold;
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.shopglut-pagination-prev-next a:hover {
  background-color: #007bff;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shopglut_wishlist_container {
  display: flex;
}

.shopglut_wishlist_container .shopglut_wishlist {
  margin-left: 5px;
  margin-right: 5px;
}

/* General Styles */
.shopglut-filter {
  color: #333;
  border-radius: 8px;
  padding: 5px;
  max-width: 400px;
}

.shopglut-filter h4 {
  font-size: 1.1em;
  font-weight: bold;
  margin: 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #0073e6;
  color: #ffffff;
  border-radius: 4px;
  position: relative;
  /* Allows tooltip positioning */
}

.filter-tooltip {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  font-size: 9px;
  background-color: rgb(0 0 0 / 59%);
  color: #fff;
  padding: 0px 8px;
  border-radius: 100%;
  transition: opacity 0.3s ease;
  margin-left: 5px;
  margin-top: 5px;
}

/* Add this to your CSS styles */
.shopglut-filter h4:has(.filter-tooltip[data-position="left"]) {
  padding-left: 28px;
}

.filter-tooltip[data-position="left"] {
  /* Adjust to move tooltip to the left of the title */
  transform: translateX(-100%);
  float: left;
  margin-left: -3px;
}


.filter-tooltip[data-position="right"] {
  /* Adjust to move tooltip to the right of the title */
  transform: translateX(100%);
}

.filter-tooltip[data-position="top"] {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
}

.filter-tooltip[data-position="bottom"] {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
}

.filter-tooltip i.tooltip-icon:hover+.filter-tooltip,
.filter-tooltip:hover {
  visibility: visible;
  opacity: 1;
}

.shopglut-filter h4.filter-title-static {
  cursor: default;
}

.shopglut-filter .accordion-toggle {
  font-size: 1.2em;
  color: #ffffff;
}

/* Filter Group Layout */
.shopglut-filter .shopglut-filter-group {
  margin-bottom: 15px;
  /* Space between each filter group */
}

#shopg-layout-admin-settings .agl-field-select_filter_page .chosen-drop .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  z-index: 10;
}

#shopg-layout-admin-settings .agl-field-select_filter_page .chosen-results.filter-dis {
  opacity: 0;
  pointer-events: none;
}

.agl-field-select_products .chosen-drop .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  z-index: 10;
}

.agl-field-select_products .chosen-results.filter-dis {
  opacity: 0;
  /* Adjust as needed for a "disabled" look */
  pointer-events: none;
  /* Prevents clicks and other interactions */
}

#shopg-layout-admin-settings .agl-field-select_archive_page .chosen-drop .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  z-index: 10;
}

#shopg-layout-admin-settings .agl-field-select_archive_page .chosen-results.filter-dis {
  opacity: 0;
  /* Adjust as needed for a "disabled" look */
  pointer-events: none;
  /* Prevents clicks and other interactions */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Filter Content */
.shopglut-filter .filter-content,
.shopglut-filter .filter-content-static {
  padding: 15px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  margin-top: 8px;
}

/* Category Checkbox */
.shopglut-filter .term-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95em;
}

.shopglut-filter .term-checkbox input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
}

/* Category Radio */
.shopglut-filter .term-radio {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95em;
}

.shopglut-filter .term-radio input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
}

/* Dropdown */

.shopglut-filter .shopg-term-dropdown {
  width: 100%;
  max-width: 300px;
  padding: 5px;
  padding-left: 18px;
  font-size: 14px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shopglut-filter .shopg-term-dropdown option {
  padding: 10px;
  color: #333;
  font-size: 14px;
}

.shopglut-filter .shopg-term-dropdown:hover {
  border-color: #bbb;
}

.shopglut-filter .shopg-term-dropdown:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.shopglut-filter .shopg-term-dropdown option[value=""] {
  color: #888;
}

/* Cloud Category Button */
.shopglut-filter .shopg-term-cloud .term-cloud-button {
  display: inline-block;
  padding: 8px 16px;
  margin: 5px;
  border: 1px solid #ccc;
  /* Grey border */
  border-radius: 15px;
  /* Rounded corners for cloud effect */
  background-color: #f5f5f5;
  /* Light background for cloud look */
  color: #333;
  font-size: 0.95em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.shopglut-filter .shopg-term-cloud .term-cloud-button:hover {
  background-color: #e0e0e0;
  /* Slightly darker on hover */
}

/* Grid Table for Categories - Three Column Layout */
.shopglut-filter .shopg-term-button {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Three columns per row */
  gap: 10px;
  width: 100%;
}

.shopglut-filter .shopg-term-button .term-button-item {
  padding: 10px;
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  text-align: center;
  font-size: 0.95em;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover effect for each item */
.shopglut-filter .shopg-term-button .term-button-item:hover {
  background-color: #f0f0f0;
  border-color: #999;
}

/* Indentation for different levels */
.shopglut-filter .shopg-term-button .level-1 {
  padding-left: 15px;
  /* Indent for level 1 */
}

.shopglut-filter .shopg-term-button .level-2 {
  padding-left: 30px;
  /* Further indent for level 2 */
}

/* Button Style with Three Items per Line */
.shopglut-filter .shopg-term-button {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shopglut-filter .shopg-term-button .term-button {
  flex: 1 1 calc(33.33% - 10px);
  /* Three items per row */
  padding: 8px 16px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  border-radius: 4px;
  color: #333;
  font-size: 0.95em;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.shopglut-filter .shopg-term-button .term-button:hover {
  background-color: #f0f0f0;
  border-color: #999;
}

/* Adjust for mobile view */
@media (max-width: 600px) {
  .shopglut-filter .shopg-term-button .term-button {
    flex: 1 1 100%;
  }
}

/* Compact Grid Layout with Fixed Square Boxes and No Gaps */
.shopglut-filter .shopg-term-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Three items per row */
  width: 100%;
  margin-top: 10px;
}

.shopglut-filter .shopg-term-grid .term-grid-item {
  aspect-ratio: 1 / 1;
  /* Ensures each grid item is a perfect square */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  text-align: center;
  font-size: 0.95em;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover effect for each item */
.shopglut-filter .shopg-term-grid .term-grid-item:hover {
  background-color: #f0f0f0;
  border-color: #999;
}

/* Adjust for smaller screens to stack categories */
@media (max-width: 600px) {
  .shopglut-filter .shopg-term-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Two items per row on small screens */
  }
}

/* Buttons */
.shopglut-filter .shopg-filter-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

/* Tree View */
.shopglut-filter .shopg-term-tree {
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
}

.shopglut-filter .tree-item {
  margin-bottom: 5px;
}

.shopglut-filter .tree-header {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e6e6e6;
  transition: background-color 0.2s;
}

.shopglut-filter .tree-header:hover {
  background-color: #f0f0f0;
}

.shopglut-filter .tree-header input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
}

.shopglut-filter .tree-toggle {
  margin-left: auto;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
}

.shopglut-filter .tree-toggle::before,
.shopglut-filter .tree-toggle::after {
  content: '';
  position: absolute;
  background-color: #666;
  transition: transform 0.3s ease;
}

.shopglut-filter .tree-toggle::before {
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
}

.shopglut-filter .tree-toggle::after {
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
}

.shopglut-filter .tree-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.shopglut-filter .tree-children {
  padding-left: 20px;
}

/* Icon-Based Categories */
.shopglut-filter .shopg-term-icon-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shopglut-filter .term-icon-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: #f9f9f9;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.shopglut-filter .term-icon-item:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}

.shopglut-filter .term-icon-item.selected {
  background-color: #e6f4ff;
  border-color: #91caff;
}

.shopglut-filter .term-icon-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.shopglut-filter .term-icon-item i {
  margin-right: 10px;
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #555;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
  .shopglut-filter .chips-selection-area {
    max-width: 100%;
  }

  .shopglut-filter .term-icon-item {
    padding: 8px;
  }

  .shopglut-filter .scroll-item {
    min-width: 100px;
    padding: 8px 12px;
  }
}

.shopglut-filter .apply-button,
.shopglut-filter .reset-button {
  font-size: 0.95em;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.shopglut-filter .apply-button {
  background-color: #0073e6;
  color: #ffffff;
}

.shopglut-filter .apply-button:hover {
  background-color: #005bb5;
}

.shopglut-filter .reset-button {
  background-color: #e0e0e0;
  color: #333;
}

.shopglut-filter .reset-button:hover {
  background-color: #c0c0c0;
}

/* Additional styles for responsiveness */
@media (max-width: 500px) {
  .shopglut-filter {
    padding: 15px;
  }

  .shopglut-filter h4 {
    font-size: 1em;
  }

  .shopglut-filter .apply-button,
  .shopglut-filter .reset-button {
    padding: 8px 16px;
  }
}

.shopg-term-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
  /* Creates responsive columns */
  gap: 15px;
  /* Space between items */
}

.shopg-term-image-grid .term-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* Makes each item square */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  /* Optional rounded corners */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.shopg-term-image-grid .category-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
}

.shopg-term-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35px, 1fr));
  /* Adjusts columns based on container width */
  gap: 10px;
  /* Spacing between grid items */
  justify-items: center;
  align-items: center;
}

.shopg-term-color-grid .term-color {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* Makes it a circle */
  display: inline-block;
  position: relative;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

/* Tooltip styling */
.shopg-term-color-grid .term-color:hover::after {
  content: attr(data-title);
  /* Display category name from data-title */
  position: absolute;
  top: -35px;
  /* Position tooltip above the element */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 12px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
  opacity: 1;
  transition: opacity 0.2s;
}

/* Arrow styling, pointing upward */
.shopg-term-color-grid .term-color:hover::before {
  content: "";
  position: absolute;
  top: -8px;
  /* Position the arrow closer to the tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
  /* Arrow pointing upwards */
  z-index: 1;
}

/* Container for the color-button options */
.shopg-color-button-container {
  display: block;
  padding: 10px;
}

/* Each color-button item */
.shopg-color-button-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Checkbox styling */
.shopg-color-button-item input[type="checkbox"] {
  margin-right: 10px;
}

/* Label styling */
.shopg-color-button-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.shopg-color-button-item label {
  display: flex !important;
}

/* Color box styling */
.shopg-color-box {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  margin-right: 8px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.shopglut-filter-price-range {
  background-color: #fff;
  border-radius: 15px;
  width: 100%;
  transition: transform 0.2s;
}

.shopglut-filter-price-range .custom-wrapper {
  width: 100%;
  position: relative;
}

.shopglut-filter-price-range .price-field {
  margin-top: 20px;
}

.shopglut-filter-price-range .price-input-container {
  width: 100%;
}

.shopglut-filter-price-range .price-input .price-field {
  display: flex;
  margin-bottom: 22px;
}

.shopglut-filter-price-range .price-field span {
  margin-right: 10px;
  margin-top: 6px;
  font-size: 17px;
}

.shopglut-filter-price-range .price-field input {
  width: 65px;
  height: 35px;
  font-size: 15px;
  border-radius: 5px;
  text-align: center;
  border: 0px;
  background: #f1f1f1;
}

.shopglut-filter-price-range .slider-container {
  width: 100%;
  height: 6px;
  position: relative;
  background: #e4e4e4;
  border-radius: 5px;
}

.shopglut-filter-price-range .slider-container .price-slider {
  height: 100%;
  position: absolute;
  border-radius: 5px;
}

.shopglut-filter-price-range .range-input input[type="range"] {
  position: absolute;
  width: 100%;
  height: 14px;
  background: none;
  top: -5px;
  pointer-events: none;
  cursor: pointer;
  -webkit-appearance: none;
  margin: 0px;
}

.shopglut-filter-price-range input[type="range"]::-webkit-slider-thumb {
  height: 18px;
  width: 18px;
  border-radius: 70%;
  background: #555;
  pointer-events: auto;
  -webkit-appearance: none;
}



.shopglut-filter-price-range .slider-container {
  position: relative;
  height: 6px;
  background: #e4e4e4;
  border-radius: 5px;
}

.shopglut-filter-price-range .price-slider {
  position: absolute;
  height: 100%;
  border-radius: 5px;
}

.shopglut-filter-container {
  display: flex;
  gap: 20px;
  /* Space between filter and shop content */
}

.shopglut-filters {
  width: 100%;
  /* Adjust as necessary */
  position: relative;
}

.shopglut-filter-content {
  width: 75%;
  /* Adjust as necessary */
}

.shopglut-filter-group .term-grid-item,
.shopglut-filter-group .term-cloud-button,
.shopglut-filter-group .term-button,
.shopglut-filter-group .term-image,
.shopglut-filter-group .term-color {
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
}

.shopglut-filter-group .term-grid-item.selected,
.shopglut-filter-group .term-cloud-button.selected,
.shopglut-filter-group .term-button.selected,
.shopglut-filter-group .term-image.selected,
.shopglut-filter-group .term-color.selected {
  border: 1px solid #0073e6;
  /* Customize the color as needed */
}

.shopglut-filter-group .term-grid-item input[type="checkbox"],
.shopglut-filter-group .term-cloud-button input[type="checkbox"],
.shopglut-filter-group .term-button input[type="checkbox"],
.shopglut-filter-group .term-image input[type="checkbox"],
.shopglut-filter-group .term-color input[type="checkbox"] {
  display: none;
}

.shopglut-filter-group .term-color .selected-icon {
  top: 3px;
  right: 6px;
}

.shopglut-filter-group .selected-icon {
  position: absolute;
  top: 0px;
  right: 3px;
  display: none;
  color: #0073aa;
  /* Customize the color as needed */
  font-size: 11px;
}

.shopglut-filter-group .selected .selected-icon {
  display: inline;
}

/* Welcome Page */

input.shopglut-filter-input-search {
  width: 90%;
}

.shopg-price-slider-tooltip {
  padding-top: 28px;
}

/* Essential base styles */
.shopglut-filter-price-range .irs {
  position: relative;
  display: block;
  user-select: none;
  font-size: 12px;
  font-family: Arial, sans-serif;
}

.shopglut-filter-price-range .irs-line {
  position: relative;
  display: block;
  overflow: hidden;
  outline: none !important;
}

.shopglut-filter-price-range .irs-bar {
  position: absolute;
  display: block;
  left: 0;
  width: 0;
}

.shopglut-filter-price-range .irs-handle {
  position: absolute;
  display: block;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 1;
}

/* Flat theme customization */
.shopglut-filter-price-range .irs--flat {
  height: 40px;
}

.shopglut-filter-price-range .irs--flat .irs-line {
  top: 25px;
  height: 6px;
  background-color: #e1e4e9;
  border-radius: 4px;
}

.shopglut-filter-price-range .irs--flat .irs-bar {
  top: 25px;
  height: 6px;
  background-color: #2196F3;
}

.shopglut-filter-price-range .irs--flat .irs-handle {
  top: 22px;
  width: 18px;
  height: 18px;
  background-color: #2196F3;
  border-radius: 50%;
  cursor: pointer;
}

.shopglut-filter-price-range .irs--flat .irs-handle>i:first-child {
  display: none;
}

.shopglut-filter-price-range .irs--flat .irs-handle:hover {
  background-color: #1976D2;
}

/* Tooltip/Label styles */
.shopglut-filter-price-range .irs--flat .irs-from,
.shopglut-filter-price-range .irs--flat .irs-to,
.shopglut-filter-price-range .irs--flat .irs-single {
  color: white;
  font-size: 12px;
  line-height: 1;
  text-shadow: none;
  padding: 3px 8px;
  background-color: #333;
  border-radius: 4px;
}

.shopglut-filter-price-range .irs--flat .irs-from:before,
.shopglut-filter-price-range .irs--flat .irs-to:before,
.shopglut-filter-price-range .irs--flat .irs-single:before {
  position: absolute;
  display: block;
  content: "";
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -3px;
  overflow: hidden;
  border: 3px solid transparent;
  border-top-color: #333;
}

/* Hide min-max labels */
.shopglut-filter-price-range .irs--flat .irs-min,
.shopglut-filter-price-range .irs--flat .irs-max {
  display: none;
}

/* Input field styles */
.shopglut-filter-price-range .price-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.shopglut-filter-price-range .price-field input[type="number"] {
  width: 80px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

#shopg_single_product_settings .agl-field-switcher .agl--switcher {
  float: left;
  margin-left: 10px;
}

/* Lock Modal Styles */
.shopglut-lock-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
}

.shopglut-lock-modal .modal-dialog {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 1.75rem auto;
  top: 50%;
  transform: translateY(-50%);
}

/* Modal Container */
.shopglut-lock-modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease-out;
}

.modal.show .shopglut-lock-modal-content {
  transform: scale(1);
}

/* Modal Header */
.modal-header {
  background: #f5f5f5;
  color: white;
  border-bottom: none;
  padding: 1.5rem;
  position: relative;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

.close {
  color: rgba(255, 255, 255, 0.8);
  opacity: 1;
  position: absolute;
  right: 0.1rem;
  top: 15%;
  transform: translateY(-50%);
  transition: all 0.2sease;
  background: #e9e9e9;
  padding: 5px;
}

.close:hover {
  color: white;
  transform: translateY(-50%) scale(1.1);
  background: #d8d8d8;
}

/* Modal Body */
.modal-body {
  padding: 2rem;
  background: #f8f9fa;
}

.shopglut-lock-section p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Form Elements */
.shopglut-email-lock-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Submit Button */
.shopglut-subscribe-button {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.shopglut-subscribe-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Loading Animation */
.shopglut-lock-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.2em;
  color: #3498db;
}

.shopglut-lock-loading p {
  color: #2c3e50;
  font-weight: 500;
  margin-top: 1rem;
}

/* Response Messages */
.response-message {
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin: 1rem 0;
  text-align: center;
  opacity: 1;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.response-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

body.modal-open {
  overflow: hidden;
}

.shopglut_filter_reset {
  margin-left: 30px;
}


/* .agl-depend-hidden {
  display: none !important;
} */