/*
Theme Name: Alukas Child
Theme URI: https://alukas.presslayouts.com/
Author: PressLayouts
Description: This is a child theme for Alukas
Version: 1.0
Author URI: https://www.presslayouts.com/
Template: alukas
Text Domain: pls-theme-child
*/


.woocommerce-terms-and-conditions-wrapper {
	opacity: 0;
	height: 0;
	display: none;
}
#mailpoet_woocommerce_checkout_optin_present_field {
	display: none !important;
}
.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
	display: none;
}


.col-customtext {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; 
}

.shipping-description-list {
  display: flex;
  flex-direction: column;
}

.shipping-description-item {
  display: flex;
  margin: 4px 0;
  line-height: 1;
text-align: left;
margin-bottom: 10px;
}

.shipping-icon {
  min-width: 12px;
  height: 20px;
  max-width: none;
  position: relative;
  bottom: 2px;
}







.woocommerce div.summary > p.price, .woocommerce div.summary > span.price {
	font-size: 30px !important;
	font-weight: 600 !important;
	line-height: 30px !important;
}
.woocommerce div.summary > p.price del, .woocommerce div.summary > span.price del {
	font-size: 20px !important;
	font-weight: 500 !important;
	margin-left: 0px !important;
}
div.product p.price ins, div.product span.price ins, .woocommerce-grouped-product-list-item__price ins {
	background: none !important;
	color: #007BFF !important;
	
}
body.single-product div.product p.price ins, body.single-product div.product span.price ins, body.single-product .woocommerce-grouped-product-list-item__price ins {
	display: block !important;
}

.woocommerce .star-rating {
	height: 21px  !important;
	width: 115px !important;
	color: transparent !important;
	font-size: 0 !important;
}

.woocommerce .star-rating span {
	position: absolute !important;
	height: 22px !important;
}

.woocommerce .star-rating span::before {
	content: '';
	background: url(https://mlfiik4wx1ma.i.optimole.com/cb:eUJT.4f6/w:auto/h:auto/q:mauto/g:sm/f:best/https://www.capcastle.com/wp-content/themes/alukas/assets/images/icons-star-48.png) !important;
	height: 22px !important;
	background-size: 22px auto !important;
	width: 100% !important;
}
.woocommerce .star-rating::before {
	color: transparent !important;
}
.woocommerce div.product .product_title {
	font-weight: 500 !important;
	margin-top: 15px !important;
	margin-bottom: 15px !important;
}

.shipping-description-text {
	line-height: 16px;
	font-size: 16px;
	color: #979797;
}
.woocommerce div.summary .woocommerce-product-details__short-description ul {
	list-style: none !important;
	margin-bottom: 20px !important;
}


div.summary form.cart .button {
	background-color: #007bff !important;
}
div.summary form.cart .button:hover {
	background-color: #1e73be !important;
}



@media only screen and (max-width: 768px) {
	
.about-us-widget .about-logo img {
	width: 60%;
}
	
.shipping-description-text {
  font-size: 14px;
}		
	
.promo-bar-msg {
	line-height: 1.1;
	text-align: center;
	font-size: 14px !important;
	font-weight: 600;
}
	
html body div.crisp-client div[data-full-view="true"] div a[aria-label="Open chat"]{
		bottom: 70px !important;
	}
	
body.single-product.pls-mobile-bottom-navbar-single-page div.product .pls-quick-buy{
	display: none;
}	
	
	
body.single-product.pls-mobile-bottom-navbar-single-page div.product .single_add_to_cart_button{
	position: relative !important;
	width: 66% !important;
}	
	
body.single-product.pls-mobile-bottom-navbar-single-page div.product .single_add_to_cart_button.fixedaddcart{
	position: fixed !important;
	width: 50% !important;
}		

body.single-product.pls-mobile-bottom-navbar-single-page div.product .pls-quick-buy.fixedaddcartbuynow{
	display: block;
}	

}

/*
, 
.woocommerce-cart.pls-mobile-bottom-navbar-single-page .wc-proceed-to-checkout, 
.woocommerce-checkout.pls-mobile-bottom-navbar-single-page .place-order button[type="submit"] {
*/


.pls-estimated-delivery {
	margin-top: 2em;
}

.woocommerce div.product form.cart select {
	border-color: #000 !important;
}

.entry-summary .quantity {
	border: 1px solid #000;
}


/* === Cap Castle Hat Collection - CORRECTED for Alukas theme === */

/* Card */
.page-id-5148 .products .product-category {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.page-id-5148 .products .product-category:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}

/* Image */
.page-id-5148 .products .product-category img {
  width: 100% !important;
  height: 150px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #f3f4f6 !important;
}

/* Title — override the theme's ellipsis truncation */
.page-id-5148 .products .product-category h2.woocommerce-loop-category__title {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  background: transparent !important;
  padding: 10px 12px 6px !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  text-align: left !important;
}

/* Fix 2: product count always visible, never tooltip */
.page-id-5148 .products .product-category span.product-count {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  pointer-events: none !important;
  background: #d1fae5 !important;
  color: #065f46 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  margin-left: 4px !important;
}

/* Fix 3: make sure button renders AFTER the title cleanly */
.page-id-5148 .products .product-category .pls-product-inner a {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
}

.page-id-5148 .products .product-category .pls-product-inner a::after {
  content: "View Collection" !important;
  display: block !important;
  order: 9 !important;
  margin: 4px 12px 12px !important;
  padding: 7px 0 !important;
  background: #1e3a8a !important;
  color: #fff !important;
  text-align: center !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}



.page-id-5148 .products .product-category .pls-product-inner a:hover::after {
  background: #1e40af !important;
}

/* Product count — Alukas uses SPAN not MARK */
.page-id-5148 .products .product-category span.product-count {
  display: inline-block !important;
  background: #d1fae5 !important;
  color: #065f46 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  margin-left: 4px !important;
}

/* Link wrapper — Alukas wraps inside .pls-product-inner */
.page-id-5148 .products .product-category .pls-product-inner a {
  display: block !important;
  text-decoration: none !important;
  padding-bottom: 12px !important;
  color: inherit !important;
}

/* View Collection button */
.page-id-5148 .products .product-category .pls-product-inner a::after {
  content: "View Collection" !important;
  display: block !important;
  margin: 8px 12px 0 !important;
  padding: 7px 0 !important;
  background: #1e3a8a !important;
  color: #fff !important;
  text-align: center !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.page-id-5148 .products .product-category .pls-product-inner a:hover::after {
  background: #1e40af !important;
}

/* Placeholder image — contain instead of cover */
.page-id-5148 .products .product-category img[src*="woocommerce-placeholder"] {
  object-fit: contain !important;
  padding: 20px !important;
  background: #f3f4f6 !important;
}