/*
Theme Name: newshop
Theme URI: https://newshoponline.com
Description: NewShop WooCommerce Child Theme based on Storefront
Author: newshop
Author URI: https://newshoponline.com
Template: storefront
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: newshop
*/

/*
 * NewShop Child Theme
 * WooCommerce custom theme development
 */
#secondary {
  display: none;
}

.woocommerce-notices-wrapper {
  margin-bottom: 2rem;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  position: relative;
  padding: 1rem 3rem 1rem 3.5rem;
  margin: 0 0 1.5rem 0;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  background: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  border: none;
  list-style: none;
  overflow: hidden;
  animation: slideDown 0.3s ease-out;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Font Awesome 5 Free', 'Dashicons', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.woocommerce-message {
  background: #2d7d46;
}

.woocommerce-message::before {
  content: "\f058";
  content: "\f147";
}

.woocommerce-error {
  background: #b81c23;
}

.woocommerce-error::before {
  content: "\f057";
}

.woocommerce-info {
  background: #2c7db8;
}

.woocommerce-info::before {
  content: "\f05a";
}

.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.woocommerce-message a:hover,
.woocommerce-error a:hover,
.woocommerce-info a:hover {
  color: #ffd966;
  text-decoration: none;
}

.woocommerce-message .woocommerce-close-notice,
.woocommerce-error .woocommerce-close-notice,
.woocommerce-info .woocommerce-close-notice {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.5rem;
  transition: color 0.2s;
}

.woocommerce-message .woocommerce-close-notice:hover,
.woocommerce-error .woocommerce-close-notice:hover,
.woocommerce-info .woocommerce-close-notice:hover {
  color: #fff;
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
}

.woocommerce-error ul,
.woocommerce-message ul,
.woocommerce-info ul {
  margin: 0;
  padding: 0;
}

.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.3rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.5rem;
  transition: all 0.25s;
}

.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

@media (max-width: 600px) {

  .woocommerce-message,
  .woocommerce-error,
  .woocommerce-info {
    padding: 0.8rem 2.5rem 0.8rem 3rem;
    font-size: 0.9rem;
    border-radius: 4px;
  }

  .woocommerce-message::before,
  .woocommerce-error::before,
  .woocommerce-info::before {
    left: 1rem;
    font-size: 1rem;
  }

  .woocommerce-message .button,
  .woocommerce-error .button,
  .woocommerce-info .button {
    display: inline-block;
    margin: 0.3rem 0 0 0;
    width: 100%;
    text-align: center;
  }

  .woocommerce-message .woocommerce-close-notice,
  .woocommerce-error .woocommerce-close-notice,
  .woocommerce-info .woocommerce-close-notice {
    right: 0.3rem;
    font-size: 1rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  margin-bottom: 0.8rem;
}

.offcanvas-cart .inner {
  overflow: auto;
}

.single_add_to_cart_button,
.pc-cart-checkout-button {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #343538;
  display: inline-block;
  line-height: 1;
  padding: 23px 38px 23px;
  z-index: 99;
  margin-top: 15px;
  margin-right: 15px;
}

.product-count .in-stock {
  display: none;
}

.product-footer .variations select {
  color: #1d1d1d;
  background-color: #fff;
  height: 45px;
  padding: 10px 30px 10px 10px;
  border: 1px solid #ebebeb;
  display: block;
  text-align: center;
  -moz-appearance: textfield;
  width: 150px;
}

.product-footer .single_variation_wrap {
  margin-top: 15px;
}

.grid-nav-wraper .shop-grid-button .orderby {
  width: 100%;
  border: 1px solid #ebebeb;
  background: #fff;
  padding: 5px 15px;
  line-height: 24px;
  font-size: 14px;
  color: #1d1d1d;
  text-align: left;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 30px;
}

.grid-nav-wraper .woocommerce-ordering {
  width: 100%;
}

.page-item a,
.page-item .current {
  font-family: Gilroy-Regular ☞;
  display: block;
  padding: 0;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-weight: 400;
  color: #1d1d1d !important;
  background: #f6f6f6 !important;
  font-size: 18px;
  text-align: center;
  border: 0 !important;
  border-radius: 50% !important;
}

.breadcrumb li a {
  color: #000 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
  display: none !important;
}

.cart_item .product-thumbnail img {
  width: 100px;
}

#coupon_code {
  width: 150px !important;
  height: 32px !important;
}

.regular-price {
  text-decoration: line-through;
  color: #b5b5b5 !important;
  font-size: 14px !important;
}

@media (min-width: 768px) {
  .header__lang {
    display: none;
  }
}

@media (max-width: 767px) {
  .carts__total-items {
    min-width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    position: absolute;
    top: -8px;
    left: 14px;
    color: #ffffff;
    background: #fcb700;
    border-radius: 100%;
    font-size: 10px;
  }

  .header__lang {
    position: relative;
    left: -15px;
    top: 1px;
  }

  .mobile-shoping-carts {
    font-size: 16px;
    margin-top: 10px;
  }
}

.product__details-quantity .quantity input {
  outline: 0px;
  background: none;
  font-weight: 400;
  color: #222;
  font-size: 14px;
  display: inline-block;
  height: 45px;
  padding: 0 50px;
  width: 180px;
  border: 1px solid #ebebeb;
  text-align: center;
  border-radius: 30px;
  margin-top: 10px;
}

.product__details-quantity .variations .label label {
  padding-right: 10px;
}

.paginatoin-area .pagination .current {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  background: #fcb700 !important;
  color: #ffffff !important;
}

#mobile-menu {
  background: #fff;
}

.cart__total-price .woocommerce-Price-amount {
  display: inline-block;
  white-space: nowrap;
}

.cart__total-price .woocommerce-Price-currencySymbol {
  display: inline;
}

.flash__sell .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch !important;
}

.flash__sell [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.flash__sell .product__item-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 100%;
  padding: 12px 10px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.flash__sell .product__item-wrapper:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.flash__sell .product-card {
  width: 100%;
  height: auto;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent !important;
}

.flash__sell .product-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #ffffff;
  display: block;
}

.flash__sell .col-xxl-4 .product-card-image,
.flash__sell .col-xl-4 .product-card-image,
.flash__sell .col-lg-6 .product-card-image {
  aspect-ratio: 4 / 3;
}

.flash__sell .product__content {
  width: 100%;
  padding-top: 8px;
  text-align: center;
}

.flash__sell .product-name {
  margin: 0 0 4px 0;
  font-size: 14px;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.flash__sell .product-name a {
  color: #2c3e50;
  text-decoration: none;
}

.flash__sell .product-name a:hover {
  color: #3182ce;
}

.flash__sell .new {
  font-size: 15px;
  font-weight: 600;
  color: #e53e3e;
}

.flash__sell .price-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  margin-left: 5px;
}

.flash__sell .col-xxl-4 .product__item-wrapper,
.flash__sell .col-xl-4 .product__item-wrapper {
  height: 520px !important;
  padding: 15px 12px;
}

.flash__sell .col-xxl-4 .product-card-image-large,
.flash__sell .col-xl-4 .product-card-image-large {
  aspect-ratio: 16 / 9 !important;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 6px;
}

.flash__sell .col-xxl-4 .product-card,
.flash__sell .col-xl-4 .product-card {
  padding: 20px 16px;
}

.flash__sell .col-xxl-4 .product__content {
  padding-top: 14px;
}

.flash__sell .col-xxl-4 .product-name {
  font-size: 17px;
  max-height: 3.4em;
  font-weight: 600;
}

.flash__sell .col-xxl-4 .new {
  font-size: 20px;
  font-weight: 700;
}

.flash__sell .col-xxl-4 .price-old {
  font-size: 16px;
}

.product-hot-image {
  width: 100%;
  height: auto;
  display: block;
  background-color: #ffffff;
}

@media screen and (min-width: 768px) {
  .product-hot-image {
    height: 220px;
    object-fit: cover;
  }
}

@media screen and (min-width: 1200px) {
  .product-hot-image {
    height: 240px;
  }
}

.product-grid-card .product-grid-thumb,
.product-grid-card .product__thumb {
  height: 380px !important;
  background-color: #ffffff !important;
}

.product-grid-card .product-grid-thumb img,
.product-grid-card img.product-grid-image,
.product-grid-card .product__thumb img {
  background-color: #ffffff !important;
}

.product-grid-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.product-grid-content {
  flex: 1 !important;
  padding: 10px 8px 12px !important;
  text-align: center !important;
}

.product-grid-card .product-grid-thumb img,
.product-grid-card .product__thumb img {
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

.product-grid-card .product__thumb a.w-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.product-grid-content .product-name {
  font-size: 14px !important;
  line-height: 1.3 !important;
  max-height: 2.6em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.product-grid-content .new {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #e53e3e !important;
}

.product-grid-content .price-old {
  font-size: 13px !important;
  color: #999 !important;
  text-decoration: line-through !important;
  margin-left: 5px !important;
}

@media screen and (max-width: 767px) {

  .product-grid-card .product-grid-thumb,
  .product-grid-card .product__thumb {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 250px !important;
  }

  .product-grid-card .product-grid-thumb img,
  .product-grid-card .product__thumb img {
    position: relative !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

.offcanvas__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #333;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.offcanvas__close-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.offcanvas__close-btn i {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.product__price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product__price .new span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e74c3c;
  line-height: 1.2;
}

.product__price .old span {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}