/* Center the complete logo, including its turquoise mark, in the navigation bar. */
.k-header .k-logo{transform:none;display:flex;align-items:center;align-self:center}
.k-header .k-logo img{width:100%;height:auto}
/* Photographs retain their native ratio; no grey letterboxes or forced square frame. */
.k-real-catalog .k-gallery{align-items:start}
.k-real-catalog .k-gallery-main{height:auto;min-height:0;max-height:none;aspect-ratio:auto;background:transparent;align-self:start}
.k-real-catalog .k-gallery-main>img{display:block;width:100%;height:auto;max-height:none;object-fit:initial;background:transparent;padding:0}
.k-real-catalog .k-thumbnails button{background:transparent}
.k-real-catalog .k-thumbnails img{object-fit:contain;background:transparent}
.k-real-catalog .k-product-photo,.k-real-catalog .k-product-photo img,.k-real-catalog .k-catalog-products .k-product-photo img,.k-real-catalog .k-home-products .k-product-photo img{background:#fff}
.k-real-catalog .k-product-photo img{padding:0;object-fit:contain}
.k-gift-notice,.k-order-items article,.k-order-items .variation{min-width:0;max-width:100%;overflow-wrap:anywhere}
.k-order-items dl.variation{display:block;white-space:normal}
.k-order-items dl.variation dt,.k-order-items dl.variation dd{display:block;float:none;white-space:normal;margin:0 0 4px;max-width:100%}
.k-order-items dl.variation p{white-space:normal}
.k-footer-expanded .k-footer-follow{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-left:auto;flex-wrap:wrap}
.k-footer-expanded .k-footer-follow .k-social{display:flex;gap:12px;margin:0}
.k-footer-expanded .k-footer-world{flex-wrap:wrap;align-items:center}
.k-footer-expanded .k-footer-world nav{flex:1 1 420px}
.k-footer-expanded .k-footer-payments{margin-top:20px}
.k-story-content .k-story-hero-copy h1{letter-spacing:-.025em;line-height:1.08}
.k-story-content .k-story-hero-copy h1 br{display:block}
.k-invoice-section #ship-to-different-address{margin:20px 0;font-size:16px;font-weight:400}
.k-invoice-section .shipping_address{margin-top:16px}
.k-category-filter details details{margin-left:12px;border-left:1px solid var(--line);padding-left:8px}
.k-category-filter summary{cursor:pointer}
.k-category-filter .k-category-child{min-height:32px}
@media(max-width:600px){.k-footer-expanded .k-footer-follow{justify-content:flex-start;margin:18px 0 0;gap:14px}.k-footer-expanded .k-footer-world nav{flex-basis:100%}.k-real-catalog .k-gallery-main>img{height:auto;max-height:none}.k-invoice-section .k-checkout-fields{grid-template-columns:1fr}}
.k-carrier img{width:48px;height:32px;object-fit:contain;border-radius:3px}
/* Catalog images share a quiet white canvas without the former grey bars. */
.k-real-catalog .k-catalog-products .k-product:nth-child(n+5) .k-product-photo{background:white}
.k-story-content .k-visit-parcel-note{max-width:1440px;width:calc(100% - 9.2%);margin:0 auto 40px;padding:16px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.7}
.k-visit-parcel-note summary{cursor:pointer;font-weight:500}
.k-story-content .k-story-team-head{max-width:850px}
.k-story-content .k-story-team-head>p{font-size:18px;line-height:1.8}

/* Native ORLEN/Poczta pickup fields remain inside the checkout delivery fragment. */
.k-carrier-pickup-fields{width:100%;border-collapse:collapse;margin-top:20px}.k-carrier-pickup-fields th,.k-carrier-pickup-fields td{padding:12px 0;text-align:left;vertical-align:top}.k-carrier-pickup-fields th{width:30%;padding-right:16px}.k-carrier-pickup-fields select{width:100%;max-width:100%}.k-carrier-pickup-fields .select2-container{max-width:100%}.k-carrier-pickup-fields:empty{display:none}@media(max-width:640px){.k-carrier-pickup-fields,.k-carrier-pickup-fields tbody,.k-carrier-pickup-fields tr,.k-carrier-pickup-fields th,.k-carrier-pickup-fields td{display:block;width:100%}.k-carrier-pickup-fields th{padding-bottom:4px}.k-carrier-pickup-fields td{padding-top:4px}}

/* Scope the method cards separately from the native inline Tpay form. */
.k-payment-choices .payment_box{min-width:0;max-width:100%;overflow-wrap:anywhere}.k-payment-choices .tpay_blik-payment-form{min-width:0!important;width:100%;max-width:100%}.k-payment-choices .tpay_blik-payment-form .top{flex-wrap:wrap}.k-payment-choices .tpay_blik-payment-form input[type=text]{max-width:100%;box-sizing:border-box}.k-order-total>strong:last-child{min-width:0;white-space:normal;text-align:right}.k-order-total>strong:last-child>strong{display:block;white-space:nowrap}.k-order-total .includes_tax{display:block;font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}

/* Override legacy plugin sizing: this template owns the complete checkout grid. */
.k-checkout-page>.woocommerce>form.k-checkout-form{float:none!important;width:100%!important;margin:0;clear:both}
/* Bound the horizontal thumbnail strip to the mobile gallery track. */
@media(max-width:900px){.k-real-catalog .k-gallery,.k-real-catalog .k-gallery .k-thumbnails{min-width:0;max-width:100%}.k-real-catalog .k-gallery .k-thumbnails{width:100%;box-sizing:border-box}}

/* Production integrations: keep rate descriptions with their cards and native payment fields readable. */
.k-checkout-delivery .k-shipping-choices{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.k-shipping-option{min-width:0}.k-shipping-option .k-shipping-choice{height:auto;min-height:104px;width:100%;box-sizing:border-box}
.k-shipping-option .shipping-method-description{margin:8px 4px 0;font-size:13px;line-height:1.5;color:var(--muted)}
.k-shipping-choice>.k-carrier{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;background:none!important;color:var(--navy)}
.k-shipping-choice>.k-carrier img{display:block;visibility:visible!important;width:100%;height:100%;object-fit:contain}
.k-shipping-choice>span:not(.k-carrier){min-width:0}.k-shipping-choice>strong{white-space:nowrap}
.k-checkout-page #payment .k-payment-choices{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;width:100%;margin:0;padding:0}
.k-checkout-page #payment .k-payment-choices>li{min-width:0;width:100%;height:auto;margin:0;align-self:start;box-sizing:border-box}
.k-checkout-page #payment .k-payment-choices>li>label{display:flex;align-items:center;gap:12px;min-height:72px;padding:16px;box-sizing:border-box}
.k-checkout-page #payment .k-payment-brand{display:inline-block;flex:0 0 58px;width:58px;min-width:58px;height:30px}
.k-checkout-page #payment .k-payment-choices .payment_box{width:100%;margin:0;padding:0 16px 16px;box-sizing:border-box;overflow-wrap:normal}
.k-checkout-page #payment .tpay_blik-payment-form{display:flex;flex-direction:column;align-items:stretch;min-width:0!important;width:100%!important;max-width:100%;margin:0;box-sizing:border-box;border:1px solid var(--line);border-radius:8px}
.k-checkout-page #payment .tpay_blik-payment-form .top{display:block;padding:16px;min-width:0;width:100%;box-sizing:border-box}
.k-checkout-page #payment .tpay_blik-payment-form .spacer{display:none}
.k-checkout-page #payment .tpay_blik-payment-form .top label{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;margin:0;padding:0;box-sizing:border-box}
.k-checkout-page #payment .tpay_blik-payment-form .blik-label{flex:1;min-width:0;font-size:17px;line-height:1.4;word-break:normal;overflow-wrap:normal;white-space:normal}
.k-checkout-page #payment .tpay_blik-payment-form .top img{flex:0 0 48px;width:48px;max-width:48px;height:auto}
.k-checkout-page #payment .tpay_blik-payment-form .bottom{width:100%;min-width:0;padding:0 16px 16px;margin:0;box-sizing:border-box;font-size:14px}
.k-checkout-page #payment .tpay_blik-payment-form input[type=text]{display:block;width:100%!important;max-width:260px;min-width:0;height:52px;margin:8px 0 0;padding:10px 14px;font-size:24px;box-sizing:border-box}
.k-checkout-page form .form-row input[type=checkbox],.k-checkout-page .k-checkout-fields input[type=checkbox],.k-checkout-page #ship-to-different-address input[type=checkbox]{display:inline-block!important;appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;padding:0!important;margin:2px 0 0!important;float:none!important;accent-color:var(--navy);vertical-align:middle}
.k-checkout-page .form-row label.checkbox,.k-checkout-page #ship-to-different-address label{display:flex!important;align-items:flex-start;gap:10px;line-height:1.5;font-size:15px;font-weight:400;margin:0}
.k-checkout-page .form-row label.checkbox .optional{display:none}
@media(max-width:700px){.k-checkout-delivery .k-shipping-choices{grid-template-columns:minmax(0,1fr)}.k-shipping-option .k-shipping-choice{min-height:88px}.k-checkout-page #payment .k-payment-choices>li>label{padding:12px}.k-checkout-page #payment .k-payment-choices .payment_box{padding:0 12px 12px}}
/* Override legacy gateway rules that mark every checkout label inline and 11px. */
.k-checkout-page #payment .k-payment-choices>li>label{display:flex!important;width:100%!important;font-size:16px!important;line-height:1.45!important;white-space:normal!important}
.k-checkout-page #payment .k-payment-choices>li>label>span:last-child{display:block;min-width:0;flex:1}
.k-checkout-page #payment .k-payment-choices>li>label small{display:block;font-size:13px!important;line-height:1.45!important;margin-top:3px}
.k-checkout-page #payment .k-payment-choices>li>label>input{width:20px!important;height:20px!important;flex:0 0 20px;margin:0!important}
.k-checkout-page #payment .tpay_blik-payment-form .top label{display:flex!important;font-size:17px!important}
.k-checkout-page .k-shipping-option .k-shipping-choice{font-size:15px!important;line-height:1.45}
.k-checkout-page .k-shipping-choice small{font-size:12px;line-height:1.4}
