/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

@media (min-width: 768px) {
    .frm-fluent-form .ff-t-container {
        align-items: center
    }
}

.fluentform .ff-el-is-error .text-danger {
    font-size: 16px !important
}

.wc_payment_methods img {
    max-height: 40px !important;
	max-width: none;
    width: auto !important;
    margin-left: 10px;
    vertical-align: middle;
}

.woocommerce-order-pay {
    width: 100%;
    display: flex;
	justify-content:center;
    background-color: #d4ccbd;
}

.woocommerce-order-pay .woocommerce-verify-email {
	display: flex;
    flex-direction: column;
    row-gap: 20px;
    padding: 40px;
	border: 1px solid #222222;
    width: 40%;
    margin: 190px auto;
    background-color: #d4ccbd;
}

@media (max-width: 768px) {
	.woocommerce-order-pay .woocommerce-verify-email{
		width: 100%;
		padding: 20px;
		margin: 190px 20px;
	}
	
	.woocommerce-tabs .wc-tabs li:last-child {
	border-right: none;
	}
}

.woocommerce-order-received .woocommerce-verify-email {
	display: none !important;
    flex-direction: column;
    row-gap: 20px;
    padding: 90px 20px;
    width: 40%;
    margin: 0 auto;
    background-color: #d4ccbd;
}

/*
.woocommerce-order-received .woocommerce-notice--success {
	padding: 90px 20px;
	background-color: #d4ccbd;
	font-size: 22px;
}
*/

/* Amelia dátum erőteljesebb szabály a sorrend megfordítására */
.am-ec__period-date {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
}

/* Távolság a hónap és a nap között */
.am-ec__period-date__month {
    margin-right: 5px !important;
    text-transform: capitalize !important;
}

/* Pont eltüntetése a nap után, ha ott lenne */
.am-ec__period-date__day::after {
    content: "" !important;
    display: none !important;
}

.single_add_to_cart_button {
	transition: all 0.5s ease;
	text-transform:uppercase;
	font-family:PT Moto;
	border: 1px solid #222222;
}

.single_add_to_cart_button:hover {
	background-color:#dedcce !important;
	color: #222222 !important;
}

:where(.brxe-product-add-to-cart) {
	width: auto !important;
}

.brxe-product-tabs .woocommerce-tabs.wc-tabs-wrapper {
    font-family: 'PT Mono';
}

.woocommerce-tabs .wc-tabs {
	border-bottom: 1px solid #222222;
}

.woocommerce-tabs .wc-tabs li {
	border-right: 1px solid #222222;
	transition: all .5s ease;
}

.woocommerce-tabs .wc-tabs .active, .woocommerce-tabs .wc-tabs li:hover {
	color: #ffffff;
	background-color: #222222;
	font-weight: 400;
}

/* WooCommerce termékadatok táblázatának balra igazítása */

/* A bal oldali oszlop (Tömeg, Hosszúság, Szélesség, Magasság) */
.shop_attributes th {
    width: 150px !important;
    min-width: 150px !important;
    text-align: left !important;
    padding-left: 0 !important;
    font-weight: bold !important;
}

/* A jobb oldali oszlop (5kg, 20 cm, 30 cm, 40 cm) */
.shop_attributes td {
    text-align: left !important;
    padding-left: 10px !important; /* Egy kis rés a két oszlop között */
    font-style: normal !important;
}

.shop_attributes th::after {
    content: ":";
}

.woocommerce-shipping-totals.shipping {
	vertical-align: baseline;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address label {
    padding: 10px 0;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
}

.woocommerce-order-overview.order_details+p {
	text-align: left !important;
}

.woocommerce-thankyou-order-received {
    display: none !important;
}

.woocommerce-checkout #payment .payment_methods .payment_box {
    background-color: #d4ccbd;
}

.wc-stripe-gateway-container {
	margin-top: 20px;
}

ul.payment_methods li[class*=payment_method] {
    border: 1px solid #222222;
    padding: 20px !important;
}

#surbma_hc_legal_checkout {
	display: flex;
	row-gap: 20px;
	flex-direction: column;
	margin-top: 30px;
}

/*
/* Cookie-banner
*/
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
	width: 50%;
	transform: translateX(50%);
    background: #333;
    color: #fff;
    padding: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cookie-notice p { margin: 0;
	font-size: 14px; }

.cookie-notice a { color: #fff;
	text-decoration: underline;
	margin-left: 5px;
}

.cookie-notice button { 
    background: #fff;
	color: #222;
	border: none; 
    padding: 8px 15px;
	cursor: pointer;
	border-radius: 4px;
	font-weight: bold;
	transition: all .5s ease
}

.cookie-notice button:hover{
	background-color: #d4ccbd;
}

@media (max-width: 600px) {
  .cookie-notice {
    width: 90%;
    left: 5%;
    right: 5%;
    transform: none;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
