/**
 * Comon Addons for Elementor - Frontend Styles
 *
 * @package XpertAddons
 * @since 1.0.0
 */

/* Slider Widget Styles */
.xpert-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.xpert-slider-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  will-change: transform;
}

.xpert-slider-item {
  position: relative;
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.xpert-slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.xpert-slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xpert-slider-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: #fff;
  max-width: 800px;
}

.xpert-slider-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.xpert-slider-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #fff;
}

.xpert-slider-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.xpert-slider-button:hover {
  background-color: #005a87;
}

.xpert-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s ease;
}

.xpert-slider-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.xpert-slider-prev {
  left: 20px;
}

.xpert-slider-next {
  right: 20px;
}

.xpert-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.xpert-slider-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.xpert-slider-dots span.active {
  background-color: #fff;
}

/* Custom Header Widget Styles */
.xpert-custom-header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.xpert-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.xpert-header-logo img {
  max-height: 50px;
  width: auto;
}

.xpert-header-nav {
  flex: 1;
  margin: 0 40px;
}

.xpert-header-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.xpert-header-menu li {
  margin: 0;
}

.xpert-header-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.xpert-header-menu a:hover {
  color: #0073aa;
}

.xpert-header-button {
  margin-left: auto;
}

.xpert-header-cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.xpert-header-cta:hover {
  background-color: #005a87;
}

.xpert-cta-icon {
  max-width: 50px;
}

/* Custom Footer Widget Styles */
.xpert-custom-footer {
  width: 100%;
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 20px 20px;
}

.xpert-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.xpert-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.xpert-footer-about {
  max-width: 300px;
}

.xpert-footer-logo img {
  max-height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.xpert-footer-description {
  color: #ccc;
  line-height: 1.6;
}

.xpert-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.xpert-footer-column-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.xpert-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.xpert-footer-links li {
  margin-bottom: 10px;
}

.xpert-footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.xpert-footer-links a:hover {
  color: #fff;
}

.xpert-footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
}

.xpert-footer-copyright {
  margin: 0;
  color: #999;
}

/* Hero Section Widget Styles */
.xpert-hero-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.xpert-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.xpert-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xpert-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.xpert-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 40px;
  color: #fff;
}

.xpert-hero-subtitle {
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.xpert-hero-title {
  font-size: 56px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.2;
}

.xpert-hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.xpert-hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.xpert-hero-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.xpert-hero-button-primary {
  background-color: #0073aa;
  color: #fff;
}

.xpert-hero-button-primary:hover {
  background-color: #005a87;
}

.xpert-hero-button-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.xpert-hero-button-secondary:hover {
  background-color: #fff;
  color: #333;
}

/* CTA Box Widget Styles */
.xpert-cta-box {
  background-color: #0073aa;
  color: #fff;
  padding: 60px 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.xpert-cta-content {
  flex: 1;
  min-width: 300px;
}

.xpert-cta-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.xpert-cta-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}

.xpert-cta-description {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.6;
}

.xpert-cta-button-wrapper {
  flex-shrink: 0;
}

.xpert-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #fff;
  color: #0073aa;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.xpert-cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Testimonials Widget Styles */
.xpert-testimonials-wrapper {
  display: grid;
  gap: 30px;
}

.xpert-testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.xpert-testimonials-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.xpert-testimonials-carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.xpert-testimonials-carousel .xpert-testimonial-item {
  flex-shrink: 0;
  padding: 0 15px;
  box-sizing: border-box;
}

.xpert-testimonials-carousel[data-slides-show="3"] .xpert-testimonial-item {
  width: 33.333%;
  min-width: 33.333%;
}

.xpert-testimonials-carousel[data-slides-show="2"] .xpert-testimonial-item {
  width: 50%;
  min-width: 50%;
}

.xpert-testimonials-carousel[data-slides-show="1"] .xpert-testimonial-item {
  width: 100%;
  min-width: 100%;
}

.xpert-testimonials-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s ease;
  border-radius: 50%;
}

.xpert-testimonials-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.xpert-testimonials-prev {
  left: 20px;
}

.xpert-testimonials-next {
  right: 20px;
}

.xpert-testimonials-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.xpert-testimonials-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.xpert-testimonials-dots span.active {
  background-color: #fff;
}

.xpert-testimonial-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.xpert-testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.xpert-testimonial-rating {
  margin-bottom: 20px;
}

.xpert-star {
  color: #ddd;
  font-size: 20px;
}

.xpert-star-filled {
  color: #ffc107;
}

.xpert-testimonial-content {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  font-style: italic;
}

.xpert-testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.xpert-testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.xpert-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xpert-testimonial-author-name {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 5px 0;
  color: #333;
}

.xpert-testimonial-author-position {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Pricing Table Widget Styles */
.xpert-pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.xpert-pricing-plan {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.xpert-pricing-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.xpert-pricing-plan-featured {
  border: 2px solid #0073aa;
  transform: scale(1.05);
}

.xpert-pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0073aa;
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.xpert-pricing-plan-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.xpert-pricing-plan-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.xpert-pricing-plan-price {
  margin-bottom: 30px;
}

.xpert-pricing-amount {
  font-size: 48px;
  font-weight: bold;
  color: #0073aa;
}

/* WooCommerce Product Grid Styles */
.xpert-woo-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.xpert-woo-product-grid.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}

.xpert-woo-product-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.xpert-woo-product-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.xpert-woo-product-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.xpert-woo-product-grid.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.xpert-woo-product-grid.columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.xpert-woo-product-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.xpert-woo-product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.xpert-woo-product-image img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.xpert-woo-product-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.xpert-woo-product-title a {
  color: #333;
  text-decoration: none;
}

.xpert-woo-product-title a:hover {
  color: #0073aa;
}

.xpert-woo-product-price {
  margin-bottom: 10px;
  font-weight: 600;
  color: #0073aa;
}

.xpert-woo-product-rating {
  margin-bottom: 10px;
}

.xpert-woo-product-add-to-cart .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.xpert-woo-product-add-to-cart .button:hover {
  background-color: #005a87;
}

/* WooCommerce Product Carousel Styles */
.xpert-woo-product-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.xpert-woo-product-carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.xpert-woo-product-carousel .xpert-woo-product-item {
  flex-shrink: 0;
  padding: 0 15px;
  box-sizing: border-box;
}

.xpert-woo-product-carousel[data-slides-show="1"] .xpert-woo-product-item {
  width: 100%;
  min-width: 100%;
}

.xpert-woo-product-carousel[data-slides-show="2"] .xpert-woo-product-item {
  width: 50%;
  min-width: 50%;
}

.xpert-woo-product-carousel[data-slides-show="3"] .xpert-woo-product-item {
  width: 33.333%;
  min-width: 33.333%;
}

.xpert-woo-product-carousel[data-slides-show="4"] .xpert-woo-product-item {
  width: 25%;
  min-width: 25%;
}

.xpert-woo-product-carousel[data-slides-show="5"] .xpert-woo-product-item {
  width: 20%;
  min-width: 20%;
}

.xpert-woo-product-carousel[data-slides-show="6"] .xpert-woo-product-item {
  width: 16.666%;
  min-width: 16.666%;
}

/* Responsive Product Carousel */
@media (max-width: 1024px) {
  .xpert-woo-product-carousel[data-slides-show="4"] .xpert-woo-product-item,
  .xpert-woo-product-carousel[data-slides-show="5"] .xpert-woo-product-item,
  .xpert-woo-product-carousel[data-slides-show="6"] .xpert-woo-product-item {
    width: 33.333%;
    min-width: 33.333%;
  }
}

@media (max-width: 768px) {
  .xpert-woo-product-carousel[data-slides-show="2"] .xpert-woo-product-item,
  .xpert-woo-product-carousel[data-slides-show="3"] .xpert-woo-product-item,
  .xpert-woo-product-carousel[data-slides-show="4"] .xpert-woo-product-item,
  .xpert-woo-product-carousel[data-slides-show="5"] .xpert-woo-product-item,
  .xpert-woo-product-carousel[data-slides-show="6"] .xpert-woo-product-item {
    width: 50%;
    min-width: 50%;
  }

  .xpert-woo-product-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .xpert-woo-product-prev {
    left: 10px;
  }

  .xpert-woo-product-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .xpert-woo-product-carousel .xpert-woo-product-item {
    width: 100% !important;
    min-width: 100% !important;
  }
}

.xpert-woo-product-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s ease;
  border-radius: 50%;
}

.xpert-woo-product-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.xpert-woo-product-prev {
  left: 20px;
}

.xpert-woo-product-next {
  right: 20px;
}

.xpert-woo-product-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.xpert-woo-product-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.xpert-woo-product-dots span.active {
  background-color: #fff;
}

/* Single Product Elements */
.xpert-woo-single-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.xpert-woo-single-price {
  font-size: 24px;
  font-weight: 600;
  color: #0073aa;
  margin-bottom: 20px;
}

.xpert-woo-single-add-to-cart {
  margin-bottom: 25px;
}

.xpert-woo-single-add-to-cart .button {
  padding: 12px 30px;
  background-color: #0073aa;
  color: #fff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.xpert-woo-single-add-to-cart .button:hover {
  background-color: #005a87;
}

.xpert-woo-mini-cart {
  position: relative;
  display: inline-block;
}

.xpert-woo-mini-cart-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #333;
}

.xpert-woo-mini-cart-count {
  background-color: #d63638;
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.xpert-woo-mini-cart-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 10px;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 15px;
  min-width: 260px;
  z-index: 20;
  display: none;
}

.xpert-woo-mini-cart:hover .xpert-woo-mini-cart-dropdown {
  display: block;
}

/* Generic Rating Widget */
.xpert-rating-widget {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.xpert-rating-widget .xpert-star {
  color: #ddd;
  font-size: 18px;
}

.xpert-rating-widget .xpert-star-filled {
  color: #ffc107;
}

.xpert-rating-widget .xpert-star-half {
  color: #ffc107;
  position: relative;
}

.xpert-rating-value {
  font-size: 14px;
  color: #555;
}

.xpert-pricing-period {
  font-size: 18px;
  color: #666;
}

.xpert-pricing-features {
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
  text-align: left;
}

.xpert-pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}

.xpert-pricing-feature-icon {
  color: #0073aa;
  font-size: 18px;
}

.xpert-pricing-button {
  display: inline-block;
  width: 100%;
  padding: 15px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.xpert-pricing-button:hover {
  background-color: #005a87;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .xpert-header-container {
    flex-direction: column;
    gap: 20px;
  }

  .xpert-header-nav {
    margin: 0;
    width: 100%;
  }

  .xpert-header-menu {
    flex-direction: column;
    gap: 15px;
  }

  .xpert-footer-top {
    grid-template-columns: 1fr;
  }

  .xpert-footer-columns {
    grid-template-columns: 1fr;
  }

  .xpert-hero-title {
    font-size: 36px;
  }

  .xpert-hero-description {
    font-size: 16px;
  }

  .xpert-cta-box {
    flex-direction: column;
    text-align: center;
  }

  .xpert-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .xpert-pricing-wrapper {
    grid-template-columns: 1fr;
  }

  .xpert-pricing-plan-featured {
    transform: scale(1);
  }
}

/* WooCommerce Featured Single Product Styles */
.xpert-woo-featured-product {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Default & Centered Layout */
.xpert-woo-featured-layout-default,
.xpert-woo-featured-layout-centered {
  text-align: center;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-image,
.xpert-woo-featured-layout-centered .xpert-woo-featured-image {
  margin-bottom: 20px;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-image img,
.xpert-woo-featured-layout-centered .xpert-woo-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-image:hover img,
.xpert-woo-featured-layout-centered .xpert-woo-featured-image:hover img {
  transform: scale(1.05);
}

.xpert-woo-featured-layout-default .xpert-woo-featured-title,
.xpert-woo-featured-layout-centered .xpert-woo-featured-title {
  margin-bottom: 15px;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-title a,
.xpert-woo-featured-layout-centered .xpert-woo-featured-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-title a:hover,
.xpert-woo-featured-layout-centered .xpert-woo-featured-title a:hover {
  color: #0073aa;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-rating,
.xpert-woo-featured-layout-centered .xpert-woo-featured-rating {
  margin-bottom: 15px;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-price,
.xpert-woo-featured-layout-centered .xpert-woo-featured-price {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-excerpt,
.xpert-woo-featured-layout-centered .xpert-woo-featured-excerpt {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.xpert-woo-featured-layout-default .xpert-woo-featured-add-to-cart,
.xpert-woo-featured-layout-centered .xpert-woo-featured-add-to-cart {
  margin-top: 20px;
}

/* Image Left/Right Layout */
.xpert-woo-featured-layout-image-left .xpert-woo-featured-content-wrapper,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-content-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-content-wrapper {
  flex-direction: row;
}

.xpert-woo-featured-layout-image-right .xpert-woo-featured-content-wrapper {
  flex-direction: row-reverse;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-image,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-image {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-image img,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-image:hover img,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-image:hover img {
  transform: scale(1.05);
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-details,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-title,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-title {
  margin-bottom: 15px;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-title a,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-title a:hover,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-title a:hover {
  color: #0073aa;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-rating,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-rating {
  margin-bottom: 15px;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-price,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-price {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-excerpt,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-excerpt {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-add-to-cart,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-add-to-cart {
  margin-top: auto;
}

/* Common Styles */
.xpert-woo-featured-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.xpert-woo-featured-rating {
  display: flex;
  align-items: center;
  justify-content: center;
}

.xpert-woo-featured-layout-image-left .xpert-woo-featured-rating,
.xpert-woo-featured-layout-image-right .xpert-woo-featured-rating {
  justify-content: center;
}

.xpert-woo-featured-price {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
}

.xpert-woo-featured-price .amount {
  font-weight: 600;
}

.xpert-woo-featured-price del {
  opacity: 0.6;
  margin-right: 10px;
}

.xpert-woo-featured-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.xpert-woo-featured-add-to-cart .button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.xpert-woo-featured-add-to-cart .button:hover {
  background-color: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.xpert-woo-featured-add-to-cart .button:active {
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .xpert-woo-featured-layout-image-left .xpert-woo-featured-content-wrapper,
  .xpert-woo-featured-layout-image-right .xpert-woo-featured-content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .xpert-woo-featured-layout-image-left .xpert-woo-featured-image,
  .xpert-woo-featured-layout-image-right .xpert-woo-featured-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .xpert-woo-featured-title {
    font-size: 24px;
  }

  .xpert-woo-featured-price {
    font-size: 20px;
  }

  .xpert-woo-featured-layout-image-left .xpert-woo-featured-rating,
  .xpert-woo-featured-layout-image-right .xpert-woo-featured-rating {
    justify-content: center;
  }
}
