/*
Theme Name: Elite Storefront
Template: best-shop
Author: gradientthemes
Author URI: https://gradientthemes.com/
Version: 1.0.3
Requires PHP: 5.6
Tested up to: 6.9
Description: Elite Storefront is a modern, responsive WooCommerce storefront eCommerce theme designed for online shops, product catalogs, and digital stores. Built for seamless integration with WooCommerce, it offers a clean, conversion-focused design ideal for selling products online. The theme includes one-click demo import and full compatibility with Elementor, Gutenberg, Divi, and Visual Composer, making customization fast and easy without coding. Elite Storefront is SEO-friendly, lightweight, and optimized for speed and performance, ensuring a smooth shopping experience across all devices. Fully mobile-responsive and user-friendly, Elite Storefront helps you build a professional online store that boosts engagement, increases sales, and grows your business.
Tags: blog, one-column, two-columns, three-columns, right-sidebar, left-sidebar, grid-layout, sticky-post, footer-widgets,
custom-background, custom-header, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments,
translation-ready, full-width-template, rtl-language-support, theme-options, e-commerce, food-and-drink
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: elite-storefront
*/

/* =========================================================
   1. GLOBAL / TYPOGRAPHY / ACCESSIBILITY
========================================================= */

.page .entry-content li a,
.page .comments-list .comment-meta-data a,
.comments-area .comment-respond a,
.post .entry-content a,
.comment-content a,
#primary .page .entry-content table a {
  text-decoration: underline;
}

#secondary .widget a,
#primary .page .entry-content table a {
  color: var(--glb-primary-color);
}

#secondary .widget a:hover,
#primary .page .entry-content table a:hover {
  color: var(--glb-secondary-color);
}

.mobile-menu #primary-menu>li>a {
  text-transform: uppercase;
}

/* Fix for currency symbol issues */
.woocommerce-Price-currencySymbol,
.amount-cart {
  font-family: "Source Sans Pro", "HelveticaNeue-Light", "Helvetica Neue Light",
    "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

/* =========================================================
   2. HEADER & TOP BAR
========================================================= */

#masthead {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.site-header .header-wrapper .header-left ul li.current_page_item::after {
  color: var(--gbl-secondary-color);
}

.site-header .top-bar-menu .right-menu ul li a:hover,
.site-header .top-bar-menu .right-menu ul li a:focus,
.site-header .top-bar-menu .left-menu ul li a:hover,
.site-header .top-bar-menu .left-menu ul li a:focus,
.breadcrumb-wrapper #crumbs a:hover,
.breadcrumb-wrapper #crumbs a:focus,
.site-branding .site-title a:hover,
.site-branding .site-title a:focus,
.site-main .entry-content ul li a:hover,
.site-main .entry-content ul li a:focus {
  color: var(--gbl-secondary-color);
}

/* =========================================================
   3. WOOCOMMERCE BAR & SEARCH
========================================================= */

.woocommerce-bar {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.woocommerce-bar .container {
  display: flex;
  justify-content: space-between !important;
}

.categories-menu-first {
  padding: 10px 20px 10px 4px !important;
}

div.product-search-form {
  border: 1px solid #e9e9e9;
}

/* =========================================================
   4. WOOCOMMERCE PRODUCT LISTING
========================================================= */

.custom_product_widget .woocommerce-ordering {
  display: none;
}

.custom_product_widget .woocommerce-result-count {
  font-size: 0.9em;
  margin: 0.5em 0 10px;
  font-style: italic;
}

.custom_product_widget .woocommerce nav.woocommerce-pagination .page-numbers li,
.custom_product_widget .woocommerce nav.woocommerce-pagination .page-numbers li a,
.custom_product_widget .woocommerce nav.woocommerce-pagination .page-numbers li span.page-numbers {
  line-height: 10px;
  height: 25px;
  width: 25px;
  border: initial;
  font-size: 14px;
}

.custom_product_widget .woocommerce a.added_to_cart {
  padding-top: 0;
  padding-bottom: 10px;
}

.hover-area .yith-wcwl-wishlistexistsbrowse {
  display: none;
}

/* =========================================================
   5. PRODUCT HOVER EFFECTS
========================================================= */

.custom_product_widget li,
.woocommerce ul.products li {
  transition: transform 0.9s;
}

.custom_product_widget li:hover,
.woocommerce ul.products li:hover {
  -ms-transform: scale(1.04);
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}

/* =========================================================
   6. PRELOADER
========================================================= */

.preloader-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--glb-primary-color);
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.preloader-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  animation: preloader-ring 2s linear infinite;
}

.preloader-ring:before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.preloader-center span {
  color: #8e8c8c;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 200px;
  animation: text 3s ease-in-out infinite;
}

@keyframes preloader-ring {
  0% {
    transform: rotate(0deg);
    box-shadow: 1px 5px 2px #e65c00;
  }

  50% {
    transform: rotate(180deg);
    box-shadow: 1px 5px 2px #18b201;
  }

  100% {
    transform: rotate(360deg);
    box-shadow: 1px 5px 2px #0456c8;
  }
}

@keyframes text {
  50% {
    color: black;
  }
}

/* =========================================================
   7. NEWSLETTER
========================================================= */

.container .footer-newsletter-section .blossomthemes-email-newsletter-wrapper {
  background: transparent;
  color: #ffffff;
  padding: 25px 0;
}

section.newsletter-section .dt-newsletter-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: transparent;
  margin: 0;
  border-radius: 0;
}

section.newsletter-section .dt-newsletter-wrapper .blossomthemes-email-newsletter-wrapper .text-holder span,
section.newsletter-section .dt-newsletter-wrapper .blossomthemes-email-newsletter-wrapper>form>label .text {
  color: var(--footer-text-color);
}

/* =========================================================
   8. FOOTER
========================================================= */

.site-footer .footer-bottom .container.footer-info {
  border-top: 0 !important;
}


.entry-header .entry-title {
  word-wrap: break-word;
  -ms-word-wrap: break-word;
}

/* =========================================================
   9. BLOCKS
========================================================= */

.wp-block-group {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

.be-hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
}

.be-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.be-btn-outline {
  background: transparent;
  border: 2px solid #2563eb;
  color: #2563eb;
}

.be-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.be-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.be-img-placeholder {
  width: 100%;
  height: 160px;
  background: repeating-linear-gradient(45deg,
      #e5e7eb,
      #e5e7eb 10px,
      #f3f4f6 10px,
      #f3f4f6 20px);
  border-radius: 8px;
  margin-bottom: 20px;
}


#secondary .widget ul {
  padding: 0px
}

@media (max-width: 1024px) {

  .woocommerce-bar-icons {
    display: none;

  }

  .product-search-form {
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

/* =========================================================
   10. WOOCOMMERCE ORDERING DROPDOWN
========================================================= */
.woocommerce-ordering {
  margin-bottom: 2em;
}

.woocommerce-ordering .orderby {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 40px 10px 16px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  outline: none;
}

.woocommerce-ordering .orderby:hover,
.woocommerce-ordering .orderby:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================================
   11. WOOCOMMERCE PRODUCT CARDS (SHOP & SLIDERS)
========================================================= */
.woocommerce ul.products li.product {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #f5f5f5;
  text-align: center;
}

.woocommerce ul.products li.product:hover {
  background: #635bff;
  border-color: #635bff;
  box-shadow: 0 10px 25px rgba(99, 91, 255, 0.3);
}

.woocommerce ul.products li.product img {
  border-radius: 10px;
  margin-bottom: 15px;
  width: 100%;
  height: auto;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 5px 0 10px;
  padding: 0;
  text-align: center;
  transition: color 0.3s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:hover .price,
.woocommerce ul.products li.product:hover .price ins {
  color: #fff;
}

.woocommerce ul.products li.product .price {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px 0;
  display: block;
}

.woocommerce ul.products li.product .price del {
  font-size: 14px;
  color: #888;
  font-weight: normal;
  margin-left: 5px;
}

.woocommerce ul.products li.product:hover .price del {
  color: #e0e0e0;
}

.woocommerce ul.products li.product .price ins {
  background: transparent;
  text-decoration: none;
  font-weight: 700;
}

.woocommerce ul.products li.product .star-rating {
  font-size: 12px;
  color: #ffb800;
  margin: 0 auto 15px;
  display: block;
}

.woocommerce ul.products li.product .star-rating span::before {
  color: #ffb800;
}

.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 20px;
  right: 0;
  left: auto;
  background: #635bff;
  color: #fff;
  padding: 4px 12px;
  border-radius: 10px 0 0 10px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  min-height: auto;
  min-width: auto;
  width: auto;
  display: inline-block;
  margin: 0;
  border: none;
  z-index: 9;
}

.woocommerce ul.products li.product:hover .onsale {
  background: #fff;
  color: #635bff;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .product-category {
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
  text-transform: capitalize;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-category__title,
.woocommerce ul.products li.product:hover .product-category {
  color: #e0e0e0;
}


.woocommerce ul.products li.product a .woocommerce-loop-product__title {
  font-weight: 600;
  font-size: 0.9em;
  padding: 0px;
}

.woocommerce-page #secondary .widget {
  margin-bottom: 20px;
  margin-top: 0;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  border: 1px solid #f4f4f4;
  border-radius: 8px;
}

.woocommerce-page #secondary {
  border: 0px;
}