/*
Theme Name: Cristiano Child
Theme URI: http://cristiano.ukrdevs.com
Description: Cristiano Child Theme
Author: UkrDevs
Author URI: http://ukrdevs.com
Template: cristiano
Version: 1.0
License: GPL 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cristiano-child
*/

/*
* PLEASE INSERT YOUR CUSTOM CSS AT HERE
*/
a {
    color: var(--clr-main-ac);
}
strong {
    font-weight: 600;
}
.herro .swiper {
    position: absolute!important;
}
.custom-logo {
    width: auto;
    height: auto;
    max-height: 90px;
    max-width: 100%;
	    padding-top: 6px;
    padding-bottom: 6px;
}
.login-form{
	max-width:100%;
}
.elementor-widget-text-editor ul {
  padding-left: 20px;
  margin-bottom: 2px;
  list-style-type: disc; /* or circle/square/none */
}
.fgf_gift_products_table td img {
    height: auto;
    width: 200px;
}
.woocommerce-form__label.terms_label{
	line-height:16px;
}
.woocommerce-message {
    padding: 12px 32px;
	margin-bottom: 0;
}

/* General Table Styling */
.fgf_shortcode_gift_products_wrapper {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fgf_gift_products_wrapper h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.fgf-gift-products-content {
    margin-top: 20px;
}

.fgf_gift_products_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.fgf_gift_products_table th,
.fgf_gift_products_table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
}

.fgf_gift_products_table th {
    background-color: #0073e6;
    color: white;
}

/* Product Name Styling */
.fgf_gift_products_table td[data-title="Product Name"] {
    font-weight: bold;
}

/* Image Styling */
.fgf-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Add to Cart Button Styling */
.fgf-gift-product-add-to-cart-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fgf-add-manual-gift-product {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.fgf-add-manual-gift-product:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* Selected Button Styling */
.fgf-add-manual-gift-product.selected {
    background-color: #0073e6;
    color: white;
    pointer-events: none; /* Disable clicking once selected */
}

.fgf-add-manual-gift-product.selected:hover {
    background-color: #005bb5;
}
.wcmca_address_selector_container{
    overflow: visible!important;
}
button#wcmca_save_address_button_billing {
    appearance: none;
    font-family: var(--font-head);
    font-weight: inherit;
    line-height: 1;
    letter-spacing: 1.2px;
    padding: 1.25em 2em;
    background: var(--clr-contrast-bg);
    color: var(--clr-contrast-tx);
    border-radius: 30px;
    cursor: pointer;
    border: 1px solid var(--clr-contrast-bg);
    font-size: .875rem;
    -webkit-font-smoothing: subpixel-antialiased;
    transition: all 250ms;
}
/* Responsive Design: Mobile-Friendly */
@media (max-width: 768px) {
    .fgf_gift_products_table {
        display: block;
        overflow-x: auto;
    }

    .fgf_gift_products_table th, 
    .fgf_gift_products_table td {
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 15px;
    }

    .fgf_gift_products_table th {
        text-align: left;
    }

    .fgf_gift_products_table td[data-title="Product Name"],
    .fgf_gift_products_table td[data-title="Product Image"],
    .fgf_gift_products_table td[data-title="Add to cart"] {
        display: block;
        width: 100%;
        text-align: left;
        padding-left: 0;
    }

    .fgf-gift-product-add-to-cart-actions {
        text-align: left;
        padding-left: 0;
    }
}

/* Add some padding and margins for better spacing */
.fgf-gift-products-content {
    padding: 0 10px;
}

/* Accessibility: Focus state for buttons */
.fgf-add-manual-gift-product:focus {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

/* Custom styles for 'Gift Product' items */
.fgf-gift-product-item {
    transition: background-color 0.3s ease;
}

.fgf-gift-product-item:hover {
    background-color: #f1f1f1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Table Styles */
.fgf_gift_products_table th {
    font-size: 16px;
    padding: 10px;
}

.fgf_gift_products_table td {
    font-size: 14px;
    padding: 12px;
}

/* Small screens adjustments */
@media (max-width: 480px) {
    .fgf_gift_products_table td {
        font-size: 12px;
    }
}

/* Pagination Wrapper */
.fgf_gift_products_table tfoot {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Pagination List */
.fgf_gift_products_table tfoot ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
}

.fgf_gift_products_table tfoot li {
    margin: 0 5px;
}

/* Pagination Links */
.fgf_pagination {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Current Page Styling */
.fgf_pagination.current {
    background-color: #0073e6;
    color: white;
    pointer-events: none;
    border-color: #0073e6;
}

/* Hover Effect for Pagination */
.fgf_pagination:hover:not(.current) {
    background-color: #0073e6;
    color: white;
}

/* Disabled Pagination (First & Last) */
.fgf_pagination.fgf_first_pagination,
.fgf_pagination.fgf_last_pagination,
.fgf_pagination.fgf_prev_pagination,
.fgf_pagination.fgf_next_pagination {
    cursor: not-allowed;
    opacity: 0.5;
}

.fgf_pagination.fgf_first_pagination:hover,
.fgf_pagination.fgf_last_pagination:hover,
.fgf_pagination.fgf_prev_pagination:hover,
.fgf_pagination.fgf_next_pagination:hover {
    background-color: #f1f1f1;
    color: #333;
}

/* Hover Effect for Pagination Arrows */
.fgf_pagination.fgf_first_pagination:hover,
.fgf_pagination.fgf_last_pagination:hover,
.fgf_pagination.fgf_prev_pagination:hover,
.fgf_pagination.fgf_next_pagination:hover {
    background-color: #0073e6;
    color: white;
}

/* Pagination Arrows */
.fgf_pagination.fgf_first_pagination,
.fgf_pagination.fgf_last_pagination {
    padding: 8px 16px;
    font-size: 16px;
}

.fgf_pagination.fgf_prev_pagination,
.fgf_pagination.fgf_next_pagination {
    padding: 8px 12px;
}


/* Style for the Variation Type Label (dt) */
.woocommerce-mini-cart-item .variation dt {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

/* Style for the Variation Type Description (dd) */
.woocommerce-mini-cart-item .variation dd {
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 14px;
    display: inline-block;
}

/* Optional: Style the entire variation block */
/* .woocommerce-mini-cart-item .variation {
    margin-bottom: 10px;
}
dl.variation{
	display:flex;
}
dd.variation-Type p {
	    margin-top: 0px;
    margin-left: 10px;
    line-height: 26px;
    font-size: 16px;
} */
/* Style for the mini-cart item footer */
.woocommerce-mini-cart-item .mini-cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
} 

/* Style for the 'left' section containing quantity and 'Free' label */
/* .woocommerce-mini-cart-item .mini-cart-item-footer .left {
    font-size: 16px;
    color: #333;
    font-weight: bold;
} */

/* Style for the quantity and 'Free' label */
/* .woocommerce-mini-cart-item .mini-cart-item-footer .left {
    display: inline-block;
    color: #28a745; 
    font-size: 14px;
} */

/* Optional: Style for the mini-cart actions section */
.woocommerce-mini-cart-item .mini-cart-item-footer .mini-cart-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Style for the edit link */
.woocommerce-mini-cart-item .mini-cart-item-footer .mini-cart-actions .edit {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.woocommerce-mini-cart-item .mini-cart-item-footer .mini-cart-actions .edit:hover {
    text-decoration: underline;
}

/* Style for the remove button */
.woocommerce-mini-cart-item .mini-cart-item-footer .mini-cart-actions .remove {
    font-size: 16px;
    color: #dc3545; /* Red color for remove icon */
    text-decoration: none;
    display: inline-block;
}

.woocommerce-mini-cart-item .mini-cart-item-footer .mini-cart-actions .remove:hover {
    color: #c82333; /* Darker red on hover */
}


.elementor-widget-text-editor ul li {
  padding-left: 10px;
  margin-bottom: 2px;
}
.elementor-widget-text-editor p {
    margin-top: 0.5em;
}
.woocommerce-shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 5px;
}

.woocommerce-shipping-methods li {
    list-style: none;
}

.woocommerce-shipping-methods input[type="radio"] {
    display: none;
}

.woocommerce-shipping-methods label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #d62828;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    position: relative;
	    margin-left: 10px;
}

.woocommerce-shipping-methods input[type="radio"]:checked + label {
    background: #007c3f;
}
.woocommerce-form-coupon p:first-child {
    display: block;
}

.footer-title h3{
	    padding-bottom: 6px;
    font-size: 20px;
    margin-bottom: 0rem;
	font-family: "Cinzel"!important;
    font-weight: 400!important;
}

.footer-title h3:after{
	    mask: linear-gradient(90deg, white, transparent);
		content: '';
    position: absolute;
    inset: 0;
       border-bottom: .0625rem solid #ffc222;
}
.footer-title.footer-title-right h3:after{
	  mask: linear-gradient(90deg, transparent, white);
}
.icon-whatsapp:before {
    content: '\f232'; /* WhatsApp icon */
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
}
.icon-whatsapp1:before {
    content: '\f232'; /* WhatsApp icon */
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
}
.icon-tiktok:before {
    content: '\e07b'; /* TikTok icon */
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
}
.categories-nav {
	display: flex;
	flex-wrap: wrap; /* allow items to wrap to new line */
	gap: 2em;
	text-transform: uppercase;
	font-family: var(--font-head);
	font-size: .875em;
	overflow: visible; /* allow overflow to be visible */
	white-space: normal; /* allow wrapping */
	margin: 0 auto;
	max-width: 1288px;
	padding: 2em 3em;
	mask: var(--mask-to-center-short);
}
p.category-note {
    margin-top: 1em;
    font-size: 0.9em;
    color: #555;
    font-style: italic;
    text-align: center;
}
.nav-cat-hr {
    margin-bottom: 2rem;
}
 .woocommerce-checkout .mini-cart-btn {
    pointer-events: all;
}
.woocommerce-cart .mini-cart-btn .amount {
    visibility: visible;
}
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
	background: transparent;
    color: #000;
}

.woocommerce form input[type="password"],
.woocommerce-page form input[type="password"] {
    position: relative;
    padding-right: 40px; /* leave room for the eye icon */
}
.show-password-input:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: baseline;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    content: "";
}
.show-password-input.display-password:after {
    color: #e8e8e8;
}
.woocommerce-pagination.woocommerce-pagination--without-numbers.woocommerce-Pagination {
    margin-top: 20px;
}
a.woocommerce-button.woocommerce-button--next.woocommerce-Button.woocommerce-Button--next.button {
    color: #000;
}
a.woocommerce-button.woocommerce-button--previous.woocommerce-Button.woocommerce-Button--previous.button{
	color: #000;
}
.woocommerce-orders-table__cell-order-actions a.order-again{
    background: var(--clr-contrast-bg);
    color: var(--clr-contrast-tx);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: .8px;
    position: relative;
    z-index: 1;
}
.menu-cat-page {
    margin-bottom: 6rem;
    margin-top: 2rem;
}
/* Responsive Design: Pagination for Small Screens */
@media (max-width: 768px) {
    .fgf_gift_products_table tfoot {
        font-size: 12px;
    }

    .fgf_gift_products_table tfoot ul {
        flex-wrap: wrap;
    }

    .fgf_gift_products_table tfoot li {
        margin: 5px;
    }
	#customer_login {
    	grid-template-columns: 1fr;
	}
	#customer_login > div {
		padding: 20px;
	}
	.login-form .u-column1.col-1 {
		padding-bottom: 40px !important;
	}
	.login-form .u-column2.col-2 {
    	border-top: 1px solid #00000030;
		/* margin-top: 30px; */
		/* margin-bottom: 20px; */
		padding-top: 40px !important;
	}
	.login-form {
		position: relative;
		padding: 50px;
		margin: 0px auto;
 	}
}
@media (max-width: 500px) {
	.login-form {
		position: relative;
		padding: 20px;
		margin: 0px auto;
 	}
}

.add_to_cart_button.loading::after,
.addon-atc-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.product-card .to-cart {
    display: block;
    justify-content: space-between;
    align-items: center;
}
/* Two-column grid layout for the whole list */
ul.pewc-product-extra-groups.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Each item in the grid */
.pewc-product-extra-groups .pewc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f0f0f0; /* Softer gray */
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.2s, box-shadow 0.2s;
  margin-bottom: 0px;
}

/* On hover */
.pewc-product-extra-groups .pewc-item:hover {
  background: #eaeaea;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Image styling */
.pewc-item-field-image-wrapper {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
}

.pewc-item-field-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text + checkbox area */
.pewc-item-field-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

/* Label + price */
.pewc-checkbox-form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.pewc-checkbox-price {
  font-size: 13px;
  color: #666;
  margin-left: 6px;
}

.required,
.pewc-separator {
  display: none;
}

/* Refined checkbox styling */
.pewc-form-field[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: 0.2s ease;
}

.pewc-form-field[type="checkbox"]:checked {
  border-color: #007c44; /* Darker green */
  background-color: #007c44;
}

.pewc-form-field[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.product-card .summary {
    padding: clamp(1.25rem, -0.15rem + 2.5vw, 2rem) clamp(1.25rem, -0.65rem + 2vw, 5rem);
    position: relative;
    display: grid
;
    grid-template-rows: min-content;
    border-radius: 0 9px 9px 0;
}
.pewc-preset-style .pewc-checkbox-form-label span.pewc-theme-element, .pewc-preset-style .pewc-radio-form-label span.pewc-theme-element, .pewc-preset-style .pewc-item-field-wrapper span.pewc-theme-element, .pewc-preset-style .pewc-item-checkbox span.pewc-theme-element, .pewc-preset-style .pewc-checkbox-wrapper span.pewc-theme-element, .pewc-preset-style .pewc-radio-wrapper span.pewc-theme-element {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background: #ccc;
    cursor: pointer;
}
.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
ul.pewc-product-extra-groups.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;

  max-height: 300px; /* Fixed height */
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Optional scrollbar styling for better UX */
ul.pewc-product-extra-groups.cols-2::-webkit-scrollbar {
  width: 6px;
}
ul.pewc-product-extra-groups.cols-2::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 3px;
}
ul.pewc-product-extra-groups.cols-2::-webkit-scrollbar-track {
  background: transparent;
}
.pewc-preset-style .pewc-item-field-wrapper,.pewc-preset-style .pewc-item-checkbox label{
	margin-bottom:0px;
}
.thwepof-input-field,.thwepo-input-field{
	border:1px solid;
}
.wc-item-meta p{
	margin:0;
}
.product-card .to-cart .price{
	font-size:16px;
}
.has-extra-fields .woocommerce-variation .woocommerce-variation-price {
    display: block;
    visibility: visible;
    font-size: 20px;
    font-weight: 600;
}
span.custom-variation-value{
    font-size: 13px;
}
span.custom-variation-label {
    font-size: 13px;
}
label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox{
	line-height:22px;
}
#wcmca_form_popup_container_shipping, #wcmca_form_popup_container_billing {
   
    max-width: 800px;

}
form p label.outside, form p.focus label {
    transform: unset; 
    opacity: unset;
    left: unset;
}
form p label {

    transition: unset;
    position: unset;
    top: unset;
    left: unset;
  
}
.products .to-cart .button, .products .to-cart .added_to_cart{
	z-index:99999;
}