/*
Theme Name: Electronic Storefront
Template: best-shop
Author: gradientthemes
Author URI: https://gradientthemes.com/
Version: 1.0.6
Requires PHP: 5.6
Tested up to: 6.9.4
Description: Electronic Storefront is a modern WooCommerce WordPress theme designed for shops, storefronts, and eCommerce websites. Suitable for business owners and sellers, it helps create fast, responsive, and professional online stores with ease.
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: electronic-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;
}


/* =========================================================
   TOOLS PLUG & TECH GH — GLOBAL STOREFRONT COLORS
   Electronic Storefront / Best Shop
========================================================= */

:root {
    --tpt-yellow: #FFC20A;
    --tpt-yellow-dark: #E5A900;

    --tpt-black: #0D0D0D;
    --tpt-charcoal: #121212;
    --tpt-dark-gray: #1A1A1A;

    --tpt-white: #FFFFFF;
    --tpt-light: #F5F5F5;
    --tpt-border: #E5E5E5;

    --tpt-text: #1A1A1A;
    --tpt-text-light: #666666;

    /* Electronic Storefront / Best Shop */
    --glb-primary-color: #0D0D0D;
    --glb-secondary-color: #FFC20A;
    --gbl-primary-color: #0D0D0D;
    --gbl-secondary-color: #FFC20A;
}


/* =========================================================
   HEADER
========================================================= */

#masthead,
.site-header,
.site-header .header-wrapper {
    background-color: #FFFFFF !important;
}

.site-header .header-wrapper a,
.site-header .header-wrapper .header-left ul li a,
.site-header #primary-menu > li > a {
    color: #1A1A1A !important;
}

.site-header .header-wrapper a:hover,
.site-header .header-wrapper a:focus,
.site-header #primary-menu > li > a:hover,
.site-header .header-wrapper .header-left ul li.current_page_item > a {
    color: #FFC20A !important;
}


/* =========================================================
   SHOP / WOOCOMMERCE BAR
========================================================= */

.woocommerce-bar {
    background-color: #0D0D0D !important;
    color: #FFFFFF !important;
}

.woocommerce-bar a {
    color: #FFFFFF !important;
}

.woocommerce-bar a:hover {
    color: #FFC20A !important;
}


/* Categories */

.categories-menu-first,
.categories-menu-first a {
    color: #FFC20A !important;
}


/* =========================================================
   SEARCH
========================================================= */

div.product-search-form,
.product-search-form {
    background: #FFFFFF !important;
    border: 1px solid #E5E5E5 !important;
}

.product-search-form input,
.product-search-form input[type="search"],
.product-search-form input[type="text"] {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
    border-color: #E5E5E5 !important;
}

.product-search-form input::placeholder {
    color: #777777 !important;
}

.product-search-form button,
.product-search-form input[type="submit"],
.product-search-form .search-submit {
    background-color: #FFC20A !important;
    color: #0D0D0D !important;
    border-color: #FFC20A !important;
}

.product-search-form button:hover,
.product-search-form input[type="submit"]:hover,
.product-search-form .search-submit:hover {
    background-color: #E5A900 !important;
    color: #0D0D0D !important;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.breadcrumb-wrapper {
    background: #FFFFFF !important;
}

.breadcrumb-wrapper #crumbs,
.breadcrumb-wrapper #crumbs a {
    color: #1A1A1A !important;
}

.breadcrumb-wrapper #crumbs a:hover {
    color: #E5A900 !important;
}


/* =========================================================
   SHOP CONTENT
========================================================= */

.woocommerce-result-count {
    color: #666666 !important;
}

.woocommerce-ordering select {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
    border: 1px solid #E5E5E5 !important;
}


/* =========================================================
   PRODUCT CARDS
========================================================= */

.woocommerce ul.products li.product {
    background: #FFFFFF !important;
    border: 1px solid #E5E5E5 !important;
}

.woocommerce ul.products li.product:hover {
    border-color: #FFC20A !important;
    box-shadow: 0 8px 24px rgba(13, 13, 13, 0.08) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
    color: #1A1A1A !important;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount {
    color: #0D0D0D !important;
}


/* =========================================================
   SALE BADGES
========================================================= */

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
    background: #FFC20A !important;
    color: #0D0D0D !important;
}


/* =========================================================
   ADD TO CART / WOOCOMMERCE BUTTONS
========================================================= */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button {
    background-color: #FFC20A !important;
    color: #0D0D0D !important;
    border-color: #FFC20A !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
    background-color: #E5A900 !important;
    color: #0D0D0D !important;
    border-color: #E5A900 !important;
}


/* =========================================================
   PAGINATION
========================================================= */

.woocommerce nav.woocommerce-pagination ul.page-numbers li a,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span {
    color: #1A1A1A !important;
    background: #FFFFFF !important;
    border-color: #E5E5E5 !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover {
    background: #FFC20A !important;
    color: #0D0D0D !important;
    border-color: #FFC20A !important;
}

/* =========================================================
   TOOLS PLUG & TECH GH — GLOBAL FOOTER
========================================================= */

.tpt-global-footer {
    background: #0D0D0D !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid #1A1A1A !important;
}

.tpt-footer-inner {
    width: 100%;
    background: #0D0D0D;
}

.tpt-footer-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* FOOTER COLUMNS */

.tpt-footer-inner .tpt-footer-container:first-child {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 55px;
}

.tpt-footer-column h3 {
    margin: 0 0 22px 0 !important;
    padding: 0 !important;

    color: #FFC20A !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;

    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.tpt-footer-column ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tpt-footer-column li {
    list-style: none !important;
    margin: 0 0 13px 0 !important;
    padding: 0 !important;
}

.tpt-footer-column li::before {
    display: none !important;
}

.tpt-footer-column a {
    color: #A0A0A0 !important;
    text-decoration: none !important;

    font-size: 14px !important;
    font-weight: 400 !important;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.tpt-footer-column a:hover,
.tpt-footer-column a:focus {
    color: #FFC20A !important;
    text-decoration: none !important;
}


/* FOOTER BOTTOM */

.tpt-global-footer .tpt-footer-bottom {
    border-top: 1px solid #1A1A1A !important;
    background: #080808 !important;
    padding: 24px 0 !important;
}

.tpt-global-footer .tpt-footer-bottom .tpt-footer-container {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
}

.tpt-global-footer .tpt-footer-bottom p {
    margin: 0 !important;
    padding: 0 !important;

    color: #666666 !important;

    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center;
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .tpt-footer-inner .tpt-footer-container:first-child {
        grid-template-columns: 1fr;
        gap: 35px;

        padding-top: 45px;
        padding-bottom: 40px;
    }

    .tpt-footer-column h3 {
        margin-bottom: 16px !important;
    }

    .tpt-footer-column li {
        margin-bottom: 11px !important;
    }

}

@media (max-width: 480px) {

    .tpt-footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tpt-footer-inner .tpt-footer-container:first-child {
        padding-top: 40px;
        padding-bottom: 35px;
    }

}

/* =========================================================
   TPT FOOTER — BALANCED DESKTOP COLUMN POSITIONING
========================================================= */

@media (min-width: 769px) {

    .tpt-footer-inner .tpt-footer-container:first-child {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 0;
    }

    /* SHOP — use the space before Information */
    .tpt-footer-column:nth-child(1) {
        transform: none;
        padding-left: 90px;
    }

    /* INFORMATION — centered between Shop and Need Help */
    .tpt-footer-column:nth-child(2) {
        transform: none;
        padding-left: 45px;
    }

    /* NEED HELP — leave exactly where it is */
    .tpt-footer-column:nth-child(3) {
        transform: none;
        padding-left: 0;
    }

}
/* =========================================================
   TPT PRODUCT CATEGORY NAVIGATION
========================================================= */

.tpt-category-bar {
    background: #0D0D0D;
    border-top: 1px solid #222222;
    border-bottom: 3px solid #FFC20A;
    position: relative;
    z-index: 999;
}

.tpt-category-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tpt-category-item {
    position: relative;
}

.tpt-category-item > a {
    display: block;
    padding: 14px 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.25px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tpt-category-item > a:hover,
.tpt-category-item:hover > a {
    background: #FFC20A;
    color: #0D0D0D;
}


/* =========================================================
   MEGA MENU
========================================================= */

.tpt-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    background: #FFFFFF;
    border-top: 4px solid #FFC20A;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    padding: 28px 30px 20px;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.tpt-category-item:hover .tpt-mega-menu,
.tpt-category-item:focus-within .tpt-mega-menu {
    display: grid;
}


/* =========================================================
   MEGA MENU COLUMNS
========================================================= */

.tpt-mega-column h4 {
    color: #0D0D0D;
    font-size: 12px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: 0.4px;
}

.tpt-mega-column a {
    display: block;
    color: #555555;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    padding: 5px 0;
}

.tpt-mega-column a:hover {
    color: #E5A900;
}


/* =========================================================
   MEGA MENU FOOTER
========================================================= */

.tpt-mega-footer {
    grid-column: 1 / -1;
    border-top: 1px solid #E5E5E5;
    padding-top: 15px;
    margin-top: 5px;
}

.tpt-mega-footer a {
    color: #0D0D0D;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.tpt-mega-footer a:hover {
    color: #E5A900;
}


/* =========================================================
   SECURITY & TECHNOLOGY MENU
========================================================= */

.tpt-tech-menu {
    width: 920px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1200px) {

    .tpt-category-item > a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 10px;
    }

}

@media (max-width: 900px) {

    .tpt-category-container {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .tpt-category-item > a {
        padding: 13px 12px;
        font-size: 11px;
    }

    .tpt-mega-menu {
        display: none !important;
    }

}
/* =========================================================
   TPT - REMOVE OLD TOP CATEGORIES PANEL
========================================================= */

.categories-menu-first {
    display: none !important;
}
/* =========================================================
   TPT - SEARCH BAR AFTER REMOVING TOP CATEGORIES
========================================================= */

.woocommerce-bar .container {
    display: flex;
    align-items: center;
    justify-content: center !important;
}

.woocommerce-bar .product-search-form,
.woocommerce-bar div.product-search-form {
    flex: 1;
    max-width: 700px;
}
/* =========================================================
   TPT - REMOVE REDUNDANT PAGE TITLE / BREADCRUMB AREA
   ========================================================= */

/* Remove breadcrumb navigation */
.breadcrumb-wrapper {
    display: none !important;
}

/* Remove the large page title/header area */
.entry-header {
    display: none !important;
}

/* Remove leftover spacing created by the hidden header */
.site-main {
    padding-top: 0 !important;
}

.content-area {
    padding-top: 0 !important;
}

/* Keep normal page content from inheriting the old spacing */
.page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* =========================================================
   TPT - REMOVE SHOP PAGE TITLE / BREADCRUMB
   ========================================================= */

/* Remove WooCommerce breadcrumb */
.woocommerce-shop .breadcrumb-wrapper {
    display: none !important;
}

/* Remove Shop page title */
.woocommerce-shop .page-header,
.woocommerce-shop .woocommerce-products-header {
    display: none !important;
}

/* Remove any remaining top spacing on Shop */
.woocommerce-shop .site-main {
    padding-top: 0 !important;
}

.woocommerce-shop .content-area {
    padding-top: 0 !important;
}

/* Keep the product area tight to the category navigation */
.woocommerce-shop .woocommerce {
    margin-top: 0 !important;
}
/* =========================================================
   TPT - REMOVE DUPLICATE HEADER SEARCH ICON
   ========================================================= */

/* Hide the small search icon in the main header */
.site-header .search-icon,
.site-header .header-search,
.site-header .search-button,
.site-header .search-toggle,
.site-header .search-form-toggle {
    display: none !important;
}
/* =========================================================
   TPT SHOP — PHASE 2B.1
   Shop layout + product cards
========================================================= */

/* ---------------------------------------------------------
   SHOP PAGE BACKGROUND
--------------------------------------------------------- */

.woocommerce-shop,
.post-type-archive-product {
    background: #f5f5f5;
}

.woocommerce-shop .site-main,
.post-type-archive-product .site-main {
    background: #f5f5f5;
}


/* ---------------------------------------------------------
   SHOP PAGE TITLE
--------------------------------------------------------- */

.woocommerce-shop .page-title,
.post-type-archive-product .page-title {
    color: #0d0d0d;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ---------------------------------------------------------
   BREADCRUMBS
--------------------------------------------------------- */

.woocommerce-shop .breadcrumb-wrapper,
.post-type-archive-product .breadcrumb-wrapper {
    background: #ffffff;
}

.woocommerce-shop .breadcrumb-wrapper a,
.post-type-archive-product .breadcrumb-wrapper a {
    color: #1a1a1a;
}

.woocommerce-shop .breadcrumb-wrapper a:hover,
.post-type-archive-product .breadcrumb-wrapper a:hover {
    color: #ffc20a;
}

/* =========================================================
   TPT SHOP — PRODUCT GRID
========================================================= */

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 !important;
}


/* PRODUCT CARD */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    padding: 16px !important;

    background: #ffffff;

    border: 1px solid #e5e5e5;
    border-radius: 4px;

    box-shadow: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


/* HOVER */

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-3px);

    border-color: #ffc20a;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


/* PRODUCT IMAGE */

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
    width: 100%;
    height: 210px;

    object-fit: contain;

    background: #ffffff;

    margin: 0 0 14px !important;
}


/* PRODUCT TITLE */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    color: #0d0d0d;

    font-size: 15px;
    line-height: 1.4;

    font-weight: 700;

    margin: 0 0 6px;

    min-height: 42px;
}


/* PRICE */

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    color: #0d0d0d;

    font-size: 18px;
    font-weight: 900;

    margin: 8px 0 12px;
}


/* ADD TO CART */

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    width: 100%;

    min-height: 42px;

    padding: 10px 14px;

    background: #ffc20a;
    color: #0d0d0d;

    border: 2px solid #ffc20a;
    border-radius: 3px;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background: #e5a900;
    border-color: #e5a900;
}


/* SALE */

.woocommerce span.onsale,
.woocommerce-page span.onsale {
    background: #0d0d0d;
    color: #ffc20a;
}