/* Global WooCommerce Styles */
:root {
    --wc-primary: #DA6E4B;      /* główny kolor akcji */
    --wc-primary-hover: #1D1D1B; /* hover dla przycisków */
    --wc-text: #1D1D1B;         /* kolor tekstu */
    --wc-border: rgba(0,0,0,0.1); /* kolor obramowań */
    --wc-background: #EFEEEC;
    --wc-background-dark: #202020;
}

a {
    color: #DA6E4B;
}

a:hover {
    color: #1D1D1B;
}

/* Ukryj krótki opis produktu na stronie podsumowania zamówienia */
.wc-block-components-product-metadata__description {
    display: none !important;
}

.woocommerce-message {
    background-color: var(--wc-background);
    color: #1D1D1B;
    padding: 10px 20px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
	-webkit-box-shadow: 8px 8px 24px 0px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 8px 8px 24px 0px rgba(0, 0, 0, 0.25);
	box-shadow: 8px 8px 24px 0px rgba(0, 0, 0, 0.25);
}

.woocommerce-message a {
    color: #DA6E4B;
}

.woocommerce-message:focus,
.woocommerce-error:focus,
.woocommerce-info:focus {
    outline: none;
}

.woocommerce-checkout .site-header,
.woocommerce-account .site-header,
.woocommerce-cart .site-header{
    background-color: #1D1D1B;
}

.woocommerce-checkout .site-main{
    margin-top: 150px;
}

.woocommerce-order-pay .site-main {
	margin-top: 200px;
}

.woocommerce-checkout .site-main,
.woocommerce-account .site-main{
    margin-bottom: 100px;
    min-height: 600px;
}

.woocommerce-cart .site-main{
    margin-top: 150px;
}


.entry-content {
    align-content: center;
    min-height: 800px;
}

.wc-block-components-button{
    font-family: var(--body-font-family);
}

.wc-block-checkout__actions_row {
    gap: 10px;
}


.wc-block-components-form .wc-block-components-text-input input[type=email], 
.wc-block-components-form .wc-block-components-text-input input[type=number], 
.wc-block-components-form .wc-block-components-text-input input[type=password], 
.wc-block-components-form .wc-block-components-text-input input[type=tel], 
.wc-block-components-form .wc-block-components-text-input input[type=text], 
.wc-block-components-form .wc-block-components-text-input input[type=url], 
.wc-block-components-text-input input[type=email], 
.wc-block-components-text-input input[type=number], 
.wc-block-components-text-input input[type=password], 
.wc-block-components-text-input input[type=tel], 
.wc-block-components-text-input input[type=text], 
.wc-block-components-text-input input[type=url],
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-button,
.wc-block-components-radio-control-accordion-option,
.wc-block-components-textarea{
    border-radius: 0px !important;
    border: 1px solid #1D1D1B !important;
    box-shadow: none !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=number]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=password]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=tel]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=text]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=url]:focus, 
.wc-block-components-text-input input[type=email]:focus, 
.wc-block-components-text-input input[type=number]:focus, 
.wc-block-components-text-input input[type=password]:focus, 
.wc-block-components-text-input input[type=tel]:focus, 
.wc-block-components-text-input input[type=text]:focus, 
.wc-block-components-text-input input[type=url]:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-components-button:focus,
.wc-block-components-radio-control-accordion-option:focus,
.wc-block-components-textarea:focus{
    outline: none !important;
}

.woocommerce-account #customer_login {
display: flex;
justify-content: space-between;
}

.woocommerce-privacy-policy-text {
    margin-bottom: 20px;
}

.wp-block-woocommerce-checkout-order-summary-block{

    border-radius: 0px !important;
}


/* Style dla komunikatów na stronie logowania */
.woocommerce-notices-wrapper {
    color: #1D1D1B;
    padding: 10px 20px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info,
body.woocommerce-order-pay .woocommerce-error{
    position: static;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #EFEEEC;
    border-left: 4px solid;
	-webkit-box-shadow: 8px 8px 24px 0px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 8px 8px 24px 0px rgba(0, 0, 0, 0.25);
	box-shadow: 8px 8px 24px 0px rgba(0, 0, 0, 0.25);
}

body.woocommerce-account .woocommerce-error,
body.woocommerce-order-pay .woocommerce-error{
    border-left-color: #e74c3c;
    background-color: #EFEEEC;
}

.woocommerce-error {
	list-style: none;
}

body.woocommerce-account .woocommerce-info {
    border-left-color: #3498db;
    background-color: #EFEEEC;
}

body.woocommerce-account .woocommerce-message {
    border-left-color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.1);
}


@media (max-width: 768px) {
    .entry-content {
        min-height: 100%;
        margin-top: 50px;
    }

    .woocommerce-checkout .site-main, .woocommerce-account .site-main{
        margin-bottom: 40px;
    }
	
	.woocommerce-message {
		max-width: 300px;
	}
}

#order_review {
	border: 1px solid rgba(99, 99, 97, 0.4);
    padding: 40px;
}

table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 16px;
}

table.shop_table th,
table.shop_table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

table.shop_table th {
  font-weight: 600;
}

table.shop_table td.product-name {
  font-weight: 500;
}

table.shop_table tfoot td {
  font-weight: 600;
}


#payment .wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

#payment .form-row {
	gap: 50px;
}

.wc_payment_method {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fafafa;
  position: relative;
}

.wc_payment_method label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.wc_payment_method img {
  max-height: 22px;
  height: auto;
  width: auto;
}

.payment_box {
  font-size: 14px;
  color: #444;
  padding-left: 1.5rem;
}

#paynow_blik_code {
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 140px;
}

.paynow-payment-option-pbls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}

.paynow-payment-option-pbl {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px;
  background-color: #fff;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.paynow-payment-option-pbl:hover {
  box-shadow: 0 0 0 2px #00a1ff4d;
}

.paynow-payment-option-pbl input[type="radio"] {
  display: none;
}

.paynow-payment-option-pbl label img {
  max-width: 80px;
  height: auto;
}

.woocommerce-privacy-policy-text {
  font-size: 13px;
}

.paynow-confirm-blik {
	display: flex;
	justify-content: center;
    align-items: center;
}

.paynow-confirm-blik h2 {
	order: 2;
	width: 100%;
}

.paynow-confirm-blik img {
	max-width: 200px;
	margin: 0;
	
}