/*
Theme Name: webpopular Child
Theme URI: https://webpopular.net/wordpress-theme
Description: Child theme for webpopular. Add your custom CSS below the header block.
Author: Your name
Author URI: https://example.com/
Template: webpopular
Version: 1.0.3
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 5.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webpopular-child
*/

/* Customizations go here. Parent styles load first (handle: main-styles). */

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .product_type_variable {
  display: none !important;
}

body.error404 ul.products li.product .button,
body.error404 ul.products li.product .add_to_cart_button,
body.error404 ul.products li.product .product_type_simple,
body.error404 ul.products li.product .product_type_variable {
  display: none !important;
}

.woocommerce .woocommerce-result-count {
  font-size: 15px;
  color: #1d2a44;
  margin-bottom: 28px;
}

.woocommerce .woocommerce-ordering select {
  border: 1px solid #c6b37f;
  background: #fff;
  color: #1d2a44;
  padding: 10px 14px;
  font-size: 14px;
  min-width: 190px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 42px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  background: #fff;
  padding: 0 0 22px;
  border: 1px solid rgba(198, 179, 127, 0.35);
  box-shadow: 0 10px 25px rgba(29, 42, 68, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(29, 42, 68, 0.13);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 20px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #1d2a44;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
  padding: 0 20px;
  margin: 0 0 8px;
}

.woocommerce ul.products li.product .price {
  color: #b08b23;
  font-size: 16px;
  font-weight: 500;
  padding: 0 20px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .product_type_variable {
  display: none !important;
}

@media (max-width: 1100px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
  }
}

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
	
	.woocommerce ul.products li.product {
  background: #fff;
}
	
	
	
	
	
	
	body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  background: #f8f5ef;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category {
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(176, 139, 35, 0.16);
  box-shadow: 0 10px 28px rgba(29, 42, 68, 0.07);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(29, 42, 68, 0.12);
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product-category a img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 !important;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
  color: #1d2a44 !important;
  font-size: 24px !important;
  line-height: 1.3;
  font-weight: 400 !important;
  padding: 28px 28px 8px !important;
  margin: 0 !important;
  background: #fff !important;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product-category .count {
  color: #b08b23 !important;
  background: transparent !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 0 28px 28px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .product_type_variable {
  display: none !important;
}

@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    font-size: 20px !important;
    padding: 22px 22px 8px !important;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce ul.products li.product-category .count {
    font-size: 16px !important;
    padding: 0 22px 22px !important;
  }
}

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  background: #f8f5ef;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category {
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(176, 139, 35, 0.12);
  box-shadow: 0 8px 24px rgba(29, 42, 68, 0.05);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(29, 42, 68, 0.10);
}

.woocommerce ul.products li.product a,
.woocommerce ul.products li.product-category a {
  text-decoration: none !important;
  display: block;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product-category a img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 !important;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
  color: #1d2a44 !important;
  font-size: 34px !important;
  line-height: 1.15;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  padding: 26px 34px 30px !important;
  margin: 0 !important;
  position: relative;
  background: #fff !important;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
  font-family: var(--wp--preset--font-family--serif, Georgia, "Times New Roman", serif) !important;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title::after {
  content: "→";
  color: #b08b23;
  font-size: 32px;
  font-weight: 300;
  margin-left: 18px;
  position: relative;
  top: -1px;
}

.woocommerce ul.products li.product-category .count {
  display: none !important;
}

.woocommerce ul.products li.product .price {
  color: #b08b23 !important;
  background: transparent !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 0 34px 30px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .product_type_variable {
  display: none !important;
}

@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {

  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    font-size: 26px !important;
    padding: 22px 24px 24px !important;
  }

  .woocommerce ul.products li.product-category .woocommerce-loop-category__title::after {
    font-size: 24px;
    margin-left: 14px;
  }

  .woocommerce ul.products li.product .price {
    padding: 0 24px 24px !important;
  }
}

.wc-block-components-button__text {
	color: white;
}

body.woocommerce-checkout #event_date_field,
body.woocommerce-checkout .webpopular-child-event-date-field {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	position: relative !important;
	overflow: visible !important;
}

body.woocommerce-checkout #event_date_field label,
body.woocommerce-checkout .webpopular-child-event-date-field label,
body.woocommerce-checkout .webpopular-child-event-date-label {
	display: block !important;
	position: static !important;
	transform: none !important;
	margin: 0 0 8px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	order: 0 !important;
	pointer-events: auto !important;
}

body.woocommerce-checkout .webpopular-child-event-date-label::after {
	content: " *";
	color: #b32d2e;
}

body.woocommerce-checkout #event_date,
body.woocommerce-checkout .webpopular-child-event-date-input {
	min-height: 52px !important;
	width: 100% !important;
	padding: 12px 128px 12px 16px !important;
	font-size: 18px !important;
	line-height: 1.4 !important;
	order: 1 !important;
}

body.woocommerce-checkout .webpopular-child-date-picker-control {
	position: absolute;
	right: 10px;
	bottom: 9px;
	z-index: 10;
	order: 2;
}

body.woocommerce-checkout .webpopular-child-date-picker-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid #c6b37f !important;
	background: #fff !important;
	color: #1d2a44 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1;
	cursor: pointer;
}

body.woocommerce-checkout .webpopular-child-date-picker {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: 280px;
	padding: 14px;
	border: 1px solid rgba(29, 42, 68, 0.18);
	background: #fff;
	box-shadow: 0 16px 36px rgba(29, 42, 68, 0.16);
	color: #1d2a44;
	z-index: 1000;
}

body.woocommerce-checkout .webpopular-child-date-picker[hidden] {
	display: none !important;
}

body.woocommerce-checkout .webpopular-child-date-picker__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

body.woocommerce-checkout .webpopular-child-date-picker__title {
	font-size: 15px;
	font-weight: 700;
}

body.woocommerce-checkout .webpopular-child-date-picker__nav,
body.woocommerce-checkout .webpopular-child-date-picker__day {
	border: 1px solid rgba(198, 179, 127, 0.6);
	background: #fff;
	color: #1d2a44;
	cursor: pointer;
}

body.woocommerce-checkout .webpopular-child-date-picker__nav {
	width: 32px;
	height: 32px;
	font-size: 16px;
	line-height: 1;
}

body.woocommerce-checkout .webpopular-child-date-picker__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

body.woocommerce-checkout .webpopular-child-date-picker__day-label {
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	color: #5b6475;
}

body.woocommerce-checkout .webpopular-child-date-picker__day {
	aspect-ratio: 1;
	padding: 0;
	font-size: 13px;
	line-height: 1;
}

body.woocommerce-checkout .webpopular-child-date-picker__day:hover,
body.woocommerce-checkout .webpopular-child-date-picker__day.is-selected {
	background: #c6a66a;
	color: #fff;
}

body.woocommerce-cart .webpopular-child-addons,
body.woocommerce-checkout .webpopular-child-addons {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.45;
}

body.woocommerce-cart .webpopular-child-addons__title,
body.woocommerce-cart .webpopular-child-addons__line,
body.woocommerce-checkout .webpopular-child-addons__title,
body.woocommerce-checkout .webpopular-child-addons__line {
	display: block;
}

body.woocommerce-cart .webpopular-child-addons__title,
body.woocommerce-cart .webpopular-child-addons__line--total,
body.woocommerce-checkout .webpopular-child-addons__title,
body.woocommerce-checkout .webpopular-child-addons__line--total {
	font-weight: 700;
}

body.woocommerce-cart .webpopular-child-addons__line--total,
body.woocommerce-checkout .webpopular-child-addons__line--total {
	margin-top: 2px;
}

body.woocommerce-cart .webpopular-child-custom-cart-line,
body.woocommerce-checkout .webpopular-child-custom-cart-line {
	margin: 0;
}

body.woocommerce-cart .webpopular-child-custom-cart-line .wc-block-components-totals-item,
body.woocommerce-checkout .webpopular-child-custom-cart-line .wc-block-components-totals-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding-top: 8px;
	padding-bottom: 8px;
}

body.woocommerce-cart .webpopular-child-custom-cart-line__caption,
body.woocommerce-checkout .webpopular-child-custom-cart-line__caption {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	color: #5b6475;
}

/* Hide delivery/shipping totals only when no shipping rates are available. */
body.webpopular-child-no-delivery-options.woocommerce-cart .woocommerce-shipping-totals,
body.webpopular-child-no-delivery-options.woocommerce-cart .wp-block-woocommerce-cart-order-summary-shipping-block,
body.webpopular-child-no-delivery-options.woocommerce-cart .wc-block-components-totals-shipping,
body.webpopular-child-no-delivery-options.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block,
body.webpopular-child-no-delivery-options.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block,
body.webpopular-child-no-delivery-options.woocommerce-checkout .wc-block-components-totals-shipping,
body.webpopular-child-no-delivery-options.woocommerce-checkout .woocommerce-shipping-totals {
	display: none !important;
}

/* Temporarily hide checkout payment until that flow is ready. */
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
body.woocommerce-checkout #payment {
	display: none !important;
}

a.wp-block-button__link.add_to_cart_button {
    height: auto;
    color: white;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    padding-left: 0;
    margin-top: 40px;
}