/* ==============================
/* END - Custom CSS for Random Product Grid (3x4 desktop, 1x12 mobile)
============================== */

/*
Theme Name:   ChildNeve
Theme URI:    https://equallife.in/ChildNeve/
Description:  Child theme for the Neve theme
Author:       Kaushik Mukherjee
Author URI:   https://equallife.in
Template:     neve
Version:      1.0.3
*/

/* You can add custom styles for your child theme below this line */

/* TAKEN FROM THEME IN BUILT CSS EDITOR - deactivated */

/* Contact form 
.contact-form div.wpforms-container-full .wpforms-form input[type=text],
.contact-form div.wpforms-container-full .wpforms-form input[type=email]{
    padding: 34px 22px;
		border: none;
	  border-radius: 4px;
    background-color: #ffffff;
		font-family: Arial;
    font-size: 14px;
		margin-bottom: 12px;
}
.contact-form div.wpforms-container-full .wpforms-form .wpforms-field-label{
	font-family:Rubik;
	font-size:14px;
	font-weight:700;
	color:var(--nv-text-color);
	margin-bottom: 12px;
}
.contact-form div.wpforms-container-full .wpforms-form .wpforms-required-label{
	font-weight:700;
	color:#000000;
}
/* Contact form - Button
.contact-form div.wpforms-container-full .wpforms-form button[type=submit] {
		margin-top: -22px;
		border: none;
		letter-spacing: 1.1px;
    background-color: var(--nv-primary-accent);
    font-family: Rubik;
    font-size: 14px;
    color: #ffffff;
    padding: 8.875px 44.3906px;
	font-weight:700;
}
.contact-form div.wpforms-container-full .wpforms-form button[type=submit]:hover {
	  background-color: var(--nv-secondary-accent);
}
/* Link colors
.link-white a  {
    color: #ffffff;
		text-decoration: none !important;
}
.link-black a  {
	  text-decoration: none !important;
}
/* Responsiveness
@media screen and (max-width: 600px) {
  .contact-form {
    width: 100%;
  }
}
*/

/*IMPORTANY*/

/* TAKEN FROM SITE ORIGIN CSS EDITOR */

/*mega-menu-no-description*/
.mega-menu-description {
	display: none !important;
}

/*product page width issue*/
.single-product .summary {
	width: 100% !important;
	max-width: none !important;
}

/*buttons stay the same line*/
.single-product .quantity {
	margin-right: 10px;
}

.single-product .single_add_to_cart_button {
	margin-top: 10px;
}

.single-product .quantity .qty {
	width: 50px;
}

.single-product .quantity .button {
	width: auto;
}

/*+/- issue*/
.single-product form.cart {
	display: flex;
	align-items: center;
}

.single-product .quantity {
	margin-bottom: 0;
}

.single-product .single_add_to_cart_button {
	margin-left: 10px;
}

/* Product title font change */
.woocommerce div.product .product_title {
	font-size: 16px;
	font-weight: 500;
	text-align: center;
}

/* Product page - price on top fontsize color change */
.woocommerce div.product p.price bdi {
	color: #1500ff;
	font-size: 22px;
	font-weight: 600;
}

/* Product page - price on top center aligned */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price {
	text-align: center;
}

/* Product page - Changing the BRAND font and color and adding Brand before the brand name */
.berocket_brand_post_image_name {
	color: #00a300;
	font-size: 16px;
}

.berocket_brand_post_image_name::before {
	content: "Brand: ";
	font-weight: bold;
	margin-right: 5px;
}

/* PINCODE CHECK - change in font size color */
.serviceavailtxt {
	color: #0022e0;
	font-size: 15px;
}

.deliverytime {
	color: #0017c2;
	font-weight: 500;
}

/* VARIATION DROPDOWN - change in font size color */
.woocommerce div.product form.cart .variations label {
	color: #008006;
	font-size: 18px;
	font-weight: bold;
}

.woocommerce div.product form.cart .variations select {
	font-size: 18px;
	font-weight: bold;
	color: #0900b5;
}

/*******RETURN BUTTON ON PRODUCT PAGE*******/

/*STYLE FOR LIGHTENING QUICK BUY BOTTON ON PRODUCT PAGE*/

/* Style for Quick Buy button */
#sbw_wc-adding-button.single_add_to_cart_button.quick_buy_button.button.alt {
	background-color: #0cf;
	/* Light blue color */
	color: #fff !important;
	border: none !important;
	padding: 10px 20px !important;
	border-radius: 5px !important;
	cursor: pointer !important;
}

/* On hover, change to blue */
.woocommerce div.product form.cart .single_add_to_cart_button.quick_buy_button:hover {
	background-color: #00f !important;
	color: #fff !important;
}

/* Lightning icon and text styling */
.quick_buy_button span {
	margin-right: 5px !important;
}

/* Ensure cart icon is hidden (just in case it's still appearing) */
.quick_buy_button:before {
	content: none !important;
}

/*END*/

/*+ - BUTTON TEXT CHNAGE, BACKGROUND AND BOX SIZE*/
.woocommerce div.product form.cart div.quantity .qty {
	height: 40px;
	/* box size change */
	background-color: #e0fffb;
	/* box background color change */
	color: #000;
	/* font color */
	font-size: 20px;
	/* font size */
	font-weight: bolder;
}

/*END*/

/* ==============================
QUICK BUY ON SHOP PAGES
============================== */

/* Quick Buy button styles */
.woocommerce ul.products li.product .button.quick_buy_button {
	background-color: #32cd32 !important;
	color: #fff !important;
	border: none !important;
	padding: 10px 15px !important;
	border-radius: 5px !important;
	cursor: pointer !important;
	width: auto;
	min-width: 120px;
	display: block;
	margin: 10px auto !important;
	text-align: center;
	position: relative;
	z-index: 2;
}

/* Quick Buy button hover effect */
.woocommerce ul.products li.product .button.quick_buy_button:hover {
	background-color: #228b22 !important;
	color: #fff !important;
}

/* Retain original gold style for Select Options button */
.woocommerce ul.products li.product .button.select_options_button {
	background-color: #ffd700 !important;
	color: #000 !important;
	border: none !important;
	padding: 10px 15px !important;
	border-radius: 5px !important;
	cursor: pointer !important;
	width: auto;
	min-width: 120px;
	display: block;
	margin: 10px auto !important;
	text-align: center;
	position: relative;
	z-index: 2;
}

/* Select Options button hover effect */
.woocommerce ul.products li.product .button.select_options_button:hover {
	background-color: #daa520 !important;
	color: #fff !important;
}

/* Adjust the position of the icons (heart, quick view) below the buttons */
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist, .woocommerce ul.products li.product .woocommerce-LoopProduct-link .yith-wcqv-button {
	margin-top: 10px !important;
	position: relative;
	z-index: 1;
	display: inline-block;
	text-align: center;
	width: auto;
}

/* Align all icons in a center block */
.woocommerce ul.products li.product {
	text-align: center;
	position: relative;
}

/* Ensure consistent button and icon alignment for all screens */
@media screen and (max-width: 768px) {
	.woocommerce ul.products li.product .button.quick_buy_button, .woocommerce ul.products li.product .button.select_options_button {
		padding: 8px 12px !important;
		font-size: 14px !important;
	}
	
	.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist, .woocommerce ul.products li.product .woocommerce-LoopProduct-link .yith-wcqv-button {
		margin-top: 8px !important;
	}
}

/* ==============================
END - QUICK BUY ON SHOP PAGES
============================== */

/* ==============================
BEGIN - CHANGE TO PRODUCT BLOCK TEXT SIZE AND COLOR
============================== */
.wc-block-grid__product-title {
	font-size: 14px !important;
}

.wc-block-grid__product-price.price {
	font-size: 15px !important;
}

.woocommerce-Price-amount.amount {
	color: #00910c !important;
	font-weight: bold !important;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
	background-color: #ffae00 !important;
	font-size: 14px !important;
	color: black !important;
}

/* ==============================
END - CHANGE TO PRODUCT BLOCK TEXT SIZE AND COLOR
============================== */

/* ==============================
/* BEGIN - Custom CSS for Random Product Grid (3x4 desktop, 1x12 mobile)
============================== */

/* Grid layout - 3x4 on desktop, 1x12 on mobile */
.random-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
}

.random-products-grid .product {
	text-align: center;
	background: none;
	border: none;
	padding: 10px 0;
}

.random-products-grid .product h2 {
	font-size: 14px;
	font-weight: bold;
	margin-top: 10px;
}

.random-products-grid .product .price {
	display: block;
	font-size: 16px;
	margin: 10px 0;
	color: #000;
}

.random-products-grid .product .price del {
	color: #999;
	margin-right: 5px;
}

/* Button styling - Add to Cart or Select Options */
.random-products-grid .product .add-to-cart .button {
	background-color: #0071a1;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	text-transform: uppercase;
	font-size: 14px;
	cursor: pointer;
}

.random-products-grid .product .add-to-cart .button:hover {
	background-color: #005c84;
}

/* Mobile view - 1 column layout */
@media only screen and (max-width: 768px) {
	.random-products-grid {
		grid-template-columns: 1fr;
	}
}

/* No background for product items */
.random-products-grid .product {
	background: none;
	border: none;
}
