/*
 Theme Name:   Twenty Twenty-Four Child
 Theme URI:    http://example.com/twentytwentyfour-child/
 Description:  Twenty Twenty-Four Child Theme
 Author:       Magia Wróżb
 Author URI:   https://jezyksnow.pl
 Template:     twentytwentyfour
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twentytwentyfour-child
*/

/* Poniżej dodawaj swoje style */
.woocommerce-checkout {
	font-size: var(--wp--preset--font-size--normal)
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: var(--wp--preset--font-size--small);
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions {
    word-break: break-word;
}
.woocommerce-checkout .woocommerce-legal-note .woocommerce-privacy-policy-text p {
    margin-top: 0;
    padding: 0.5em 0;
    font-size: 0.85rem;
}

.wp-site-blocks .entry-content.wp-block-post-content {
	margin-top:0;
}

.woocommerce .col2-set, .woocommerce-page .col2-set {
    width: 100%;
}
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
}
.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 960px) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: 3fr 2fr;
		grid-column-gap: 60px;
	}
}
.woocommerce-checkout form.checkout .woocommerce-NoticeGroup-checkout {
	grid-column: 1 / -1;
}
.woocommerce table.shop_table {
    text-align: left;
    width: 100%;
}
.woocommerce .woocommerce-checkout-review-order-table tfoot .cart-subtotal {
	display:none;
}
.woocommerce-checkout table .product-quantity {
	display:none;
}
.woocommerce-checkout main button:not(.wc-block-components-button) {
    width: 100%;
}
.woocommerce-checkout .payment_method_payu_blik img {
	height: 24px;
}
.woocommerce-checkout .checkout-message {
	font-size: 0.9rem;
    margin-top: 1rem;
}
.woocommerce-checkout .wc-block-order-confirmation-status .wc-block-order-confirmation-status__actions {
	display: none;
}
.woocommerce-checkout .wc-block-order-confirmation-summary ul {
	gap: 8px;
}
/*float label*/
.form-row input {
	background-color: #fff; 
    border: 1px solid hsla(0, 0%, 7%, .8);
    border-radius: 4px;
    font-family: inherit;
    padding: 1em;
    width: 100%;
}

.form-row input:not([type="checkbox"]):focus, form .woocommerce-billing-fields .form-row textarea:focus {
	background-color: #fff;
    box-shadow: 0 0 0 1px #50575e;
    color: #2b2d2f;
    outline: 0;
}

/*formularz z pytaniem*/
.row-5rem {
	height: 8rem;
}
.wrozba-form .form-group {
	margin-bottom: 0.5em;
}
.wrozba-form .form-group input, .wrozba-form .form-group textarea {
	background-color: #fff;
    border: 1px solid hsla(0, 0%, 7%, .8);
    border-radius: 4px;
    box-sizing: border-box;
    color: #2b2d2f;
    font-family: inherit;
    font-size: 1em;
    line-height: 1em;
    margin: 0;
    min-height: 0;
    padding: 1em;
    /* padding: 1.5em 0.5em 0.5em; */
    width: 100%;
}
.wrozba-form .form-group textarea {
    line-height: 1.375;
    /* padding: 0.75em 16px;*/
}
.wrozba-form .form-group label {
    font-size: 0.875em;
    color: hsla(0, 0%, 7%, .5);
}
.wrozba-form button {
	width: 100%;
	background-color: var(--wp--preset--color--custom-dark-bg-button);
    border-radius: 0.33rem;
    border-color: var(--wp--preset--color--contrast);
    border-width: 0;
    color: var(--wp--preset--color--base-2);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--small);
    font-style: normal;
    font-weight: 500;
    line-height: inherit;
    padding-top: 0.6rem;
    padding-right: 1rem;
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    text-decoration: none;
	cursor: pointer;
}
.wrozba-form button:hover {
	background-color: var(--wp--preset--color--contrast-2);
    border-color: var(--wp--preset--color--contrast-2);
    color: var(--wp--preset--color--base);
}
.wrozba-form button:focus {
	box-shadow: 0 0 0 2px #0675c4;
    box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #0675c4;
    outline: 3px solid transparent;
}
.wrozba-form button .magic-icon {
	filter: invert(100%);
    height: 1rem;
    vertical-align: text-top;
    margin-left: 0.25em
}
.is-style-fill a img {
	height: 1rem;
    vertical-align: text-top;
    margin-left: 0.25em
}
.is-style-outline a img {
	filter: invert(100%);
	height: 1rem;
    vertical-align: text-top;
    margin-left: 0.25em
}
.darken img {
	mix-blend-mode: darken;
}
/*checkout*/
form .woocommerce-billing-fields .form-row {
	margin-bottom: 0.5em;
	padding: 0 3px;
}
form .woocommerce-billing-fields .form-row label {
    font-size: 0.875em;
	margin-bottom:0;
}
form .woocommerce-billing-fields .form-row textarea {
	border: 1px solid hsla(0, 0%, 7%, .8);
    border-radius: 4px;
    color: #2b2d2f;
    font-family: inherit;
    padding: 1em;
	height: auto;
}
.woocommerce form .form-row.woocommerce-validated textarea#billing_question {
	border-color: #6dc22e;
}
.upsell-wrapper p {
	font-size: .875em;
    line-height: 1.5;
    margin-top: 1em;
}
.upsell-wrapper p a {
	font-weight: 500;
}
.woocommerce .hidden {
	display:none;
}
#billing_add_context_field .optional, #billing_context_field .optional {
	display:none;
}
.woocommerce form .upsell-wrapper {
	border-top: 1px solid hsla(0, 0%, 7%, .11);
    margin-top: 1em;
    margin-left: 3px;
    padding-top: 1em;
	padding-bottom: 1em;
}
.woocommerce form .upsell-wrapper p {
	padding:0;
}
.add-context label.checkbox {
    /*color: var(--wp--preset--color--custom-text);*/
}
.add-context input {
	height: 1.2em;
    margin: 0 1em 0 0;
    width: 1.5em;
    font-size: 1em;
}
.form-row input.input-checkbox {
	width: 1.5em;
}

.payment_method_payu p {
	margin-top: 0;
}
.payment_method_payu_blik .payu-blik-method-description {
	margin-top: 0;
}
.payment_method_payu_blik input {
	border-width: var(--wc-form-border-width);
    border-radius: var(--wc-form-border-radius);
    padding: .5rem 0;
    letter-spacing: 0.1em;
}
.payment_method_stripe fieldset {
	border: none;
    padding: 0;
    margin: 0;
}
.order-total .woocommerce-Price-amount {
	font-weight:bold!important;
}

/* wasze opinie - remove, stary wpis */
/*.postid-54 .wp-block-comments .wp-block-heading {
	display:none;
}
.postid-54 .wp-block-group .wp-block-group .wp-block-separator {
	display:none;
}
.postid-54 .wp-block-comments .wp-block-comment-date {
	display:none;
}*/

/* formularz - darmowe wrozby + contact form 7 */
.grecaptcha-badge { visibility: hidden; }
.wpcf7-form p {
    margin: 0 0 0.5em 0;
}

.wpcf7-spinner {
	background: url(https://magiawrozb.pl/wp-content/uploads/2024/05/gif-magic.gif);
    background-size: cover;
    border-radius: 0;
    display: block;
    margin: 10px auto;
	height:0
}
.wpcf7-spinner img {
	height:24px;
	width:24px;
}
.wpcf7-spinner:before {
	display:none;
}
.wpcf7-not-valid-tip {
	font-size: .875em;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1em .5em 1em;
    padding: 16px;
    border-radius: 4px;
    color: #2f2f2f;
    border: 1px solid;
    /*background-color: #fff0f0;
    border-color: #cc1818;*/
    font-size: .875em;
    font-weight: 400;
}
.wpcf7 form.invalid .wpcf7-response-output {
	background-color: #fff5cb;
	border-color: #ffb900;
}
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #f4fff7;
    border-color: #4ab866;
}
.wrozba-form .form-group .wpcf7-submit {
	
}
.wrozba-form .consent {
	font-size: 0.75rem;
    color: #a4a4a4;
}
.wrozba-form .consent a {
    color: inherit;
}
.wpcf7 .wpcf7-spinner {
    visibility: visible;
    display: none;
}

/*** TAROT ***/
.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.4s ease-in;
}

.wrozba-form .form-group select {
	/*width: 100%; */
    border: 1px solid #CFCABE;
    border-radius: 4px;
    text-transform: uppercase;
    border: none;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1em;
    min-height: 0;
    margin: 0 auto;
    padding: 10px;
    background-color: inherit;
    color: #575657;
    transition: border-color 0.3s;
	font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* helper dla pól */
.woocommerce-checkout .helper {
    display: block;
    font-size: 0.75em;
	line-height: 1.4;
    margin: -2px 0 2px 0;
	color: var(--wp--preset--color--contrast-3);
}

/* odwrócić kolejność kolumn rozkładów */
@media (max-width: 781px) {
	.reversao .wp-block-column:first-child {
		order: 2;
	}
	.reversao .wp-block-column:nth-child(2) {
		order: 1;
	}
}

/* tarot cards in checkout */
.tarot-cards-info {
    /*margin-bottom: 20px;*/
}

.tarot-cards-info p {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: #B5BDBC;
}

.tarot-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
	max-width: 620px;
}

.tarot-card {
    width: 17%;
	max-width: 100px;
    min-width: 45px;
    aspect-ratio: 400 / 660;
}

.tarot-card.card-30 {
    flex-basis: 30%;
}

.tarot-card .card-inner {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

/* site review */
.glsr-review-author::before {
    content: '\2014';
}
.glsr-review-response:after {
    background-color: #a4a4a4 !important;
}
.glsr-review-response:before {
    color: #a4a4a4;
}
.glsr-button.wp-block-button__link {
	width:inherit; /*fix zeby nie bylo 100%*/
}
.glsr-summary.cta-review { /*małe gwiazdki pod przyciskiem*/
	margin: 0 auto;
	justify-content: center;
    text-align: center;
    font-size: 0.8rem;
}

/*strony produktowe*/
/*.glsr-summary.cta-review-left { 
    font-size: 0.8rem;
}*/
.single-product.product_cat-wrozby .wp-block-woocommerce-add-to-cart-form form.cart {
	display: block;
}
.single-product.woocommerce div.product form.cart div.quantity {
	display: none;
}
.postid-45107 .onsale, .postid-45108 .onsale {
	display: none;
}

.postid-45107 .wp-block-woocommerce-product-collection,
.postid-45108 .wp-block-woocommerce-product-collection {
	display:none;
}

/* upsell - thank you */
.do-justify-center {
	justify-items: center;
}

/* sidebar */
nav.sidebar-losuj {
	gap: 0.5rem;
}
.sidebar-search form {
	width:100%;
}