/*
Theme Name: Quietplugs
Theme URI: https://example.com/themes/quietplugs-storefront
Author: Quietplugs
Author URI: https://example.com
Description: Dedykowany motyw WooCommerce sklepu Quietplugs
Version: 0.1.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: quietplugs
*/

@font-face {
    font-family: 'Nunito Sans';
    src: url('assets/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
}

/* Base typography */
body {
    font-family: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
}

a {
    color: var(--color-link-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--btn-text);
    text-decoration: none;
}

.top-bar {
    display: none;
    background: var(--color-text);
    color: var(--color-bg);
}

.top-bar__inner {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
}

.top-bar__inner span {
    color: #ffffff;
}

.site-header {
    padding: var(--space-3) var(--space-5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--color-bg);
    min-height: calc((var(--space-3) * 2) + 42px);
}

body.cart-page .site-header {
    display: none;
}

@media (max-width: 767px) {
    body.checkout-page .top-bar,
    body.cart-page .site-header {
        display: block;
    }

    body.cart-page .top-bar {
        display: none;
    }

    body.checkout-page .checkout-page__logo,
    body.cart-page .checkout-page__logo {
        display: none;
    }

    .site-header__login-link {
        font-size: var(--font-size-md);
    }
}

.site-header__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.desktop-only {
    display: flex;
}

.site-header,
.site-main,
.site-footer {
    margin-left: 0;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex: 0 0 auto;
}

body:not(.cart-page) .site-header__grid {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.cart-page .site-header__grid {
    max-width: 900px;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    --sidebar-width: 220px;
    --content-shift: var(--space-8);
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    body {
        --content-shift: calc(var(--sidebar-width, 220px) + var(--space-8));
    }
}

.site-content {
    width: 100%;
    margin-left: 0;
    transition: none;
    will-change: margin-left, width;
    box-sizing: border-box;
    padding-top: calc((var(--space-3) * 2) + 42px);
}

body.nav-animate .site-content {
    transition: margin-left 0.3s ease, width 0.3s ease;
}

body.nav-animate .site-main,
body.nav-animate .site-footer {
    transition: margin-left 0.3s ease, width 0.3s ease, padding-left 0.3s ease;
}


*,
*::before,
*::after {
    box-sizing: inherit;
}

body.checkout-page,
body.cart-page {
    padding-left: 0;
}

body.cart-page .site-content {
    padding-top: 0;
}

.site-header__logo {
    flex: 0 0 auto;
}

.checkout-page__content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-0) var(--container-padding) var(--space-0) var(--container-padding);
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 960px) {
    body.checkout-page {
        background: linear-gradient(90deg, var(--color-bg) 0 50%, var(--color-bg-items) 50% 100%);
    }

    body.cart-page {
        background: linear-gradient(90deg, var(--color-bg) 0 50%, var(--color-bg-items) 50% 100%);
    }
}

@media (max-width: 959px) {
    .checkout-page__content {
        padding-top: 0;
    }
}

@media (min-width: 768px) {
    .checkout-page__content {
        padding-top: var(--space-6);
    }
}

.checkout-page__logo {
    display: inline-flex;
    align-items: center;
    padding-bottom: var(--space-7);
}

.checkout-page__logo img {
    max-height: 26px;
    width: auto;
    display: block;
}


.checkout-page__content .wc-block-components-product-metadata {
    display: none;
}

.checkout-page__content .wc-block-components-sidebar.wc-block-checkout__sidebar {
    border: none;
    box-shadow: none;
}

@media (max-width: 959px) {
    .checkout-page__content .wc-block-components-sidebar.wc-block-checkout__sidebar {
        display: none;
        margin: 0;
        padding: 0;
    }
}

.checkout-page__content .wp-block-woocommerce-checkout-order-summary-block {
    border: none;
}

.wc-block-components-title.wc-block-components-title {
    border: 0;
    border-radius: 0;
    font-size: var(--wp--preset--font-size--small, 14px);
    font-weight: 500;
    line-height: 20px;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    word-break: break-word;
    text-transform: uppercase;
}



.checkout-page__content .wp-block-woocommerce-checkout {
    padding-top: 0;
}

.checkout-page__content .wc-block-components-checkout-order-summary__title {
    display: none;
}

.checkout-page__content .wc-block-components-text-input,
.checkout-page__content .wc-block-components-text-input input,
.checkout-page__content .wc-block-components-text-input textarea,
.checkout-page__content .wc-blocks-components-select__select {
    border-color: var(--color-border-dark) !important;
    font-size: var(--font-size-md);
}

.checkout-page__content .wc-block-components-form .wc-block-components-text-input input,
.checkout-page__content .wc-block-components-form .wc-block-components-text-input textarea {
    border-color: var(--color-border-dark) !important;
}

.checkout-page__content .wc-block-components-text-input input::placeholder,
.checkout-page__content .wc-block-components-text-input textarea::placeholder,
.checkout-page__content .wc-blocks-components-select__select::placeholder {
    font-size: var(--font-size-md);
}

.checkout-page__content .wc-block-components-totals-coupon__button.contained {
    border-radius: var(--radius-pill);
}

.checkout-page__content .wc-block-components-sidebar .slot-wrapper .wc-block-components-panel,
.checkout-page__content .wc-block-components-sidebar .wc-block-components-panel,
.checkout-page__content .wc-block-components-sidebar .wc-block-components-totals-coupon,
.checkout-page__content .wc-block-components-sidebar .wc-block-components-totals-item {
    padding-left: 0;
    padding-right: 0;
}

.checkout-page__content .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.checkout-page__content .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    box-shadow: none;
    border: 1px solid currentColor;
}

.cart-page__content .wc-block-components-product-name {
    color: var(--color-text);
}



.checkout-page__content .wc-block-components-form .wc-block-components-text-input label,
.checkout-page__content .wc-block-components-text-input label,
.checkout-page__content .wc-blocks-components-select__label {
    font-size: var(--font-size-md) !important;
}

.checkout-page__content .wc-block-components-radio-control__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: nowrap;
}

.checkout-page__content .wc-block-components-radio-control__secondary-label {
    display: inline-flex;
    align-items: center;
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
}

.checkout-page__content .wc-block-components-checkout-step__heading {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.checkout-page__content .checkout-copy-contact {
    margin-left: auto;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: var(--font-size-md);
    color: var(--color-text);
    text-decoration: underline;
}

.checkout-page__content .checkout-copy-contact:hover {
    text-decoration: underline;
}

.checkout-page__content .wc-block-components-address-form__vat_number {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.checkout-page__content .wc-block-components-address-form__company {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.checkout-page__content .wc-block-components-address-form__plugesy_company_name,
.checkout-page__content .wc-block-components-address-form__plugesy_vat_number {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.checkout-page__content .wc-block-components-address-form__plugesy-company_name label,
.checkout-page__content .wc-block-components-address-form__plugesy-vat_number label,
.checkout-page__content .wc-block-components-address-form__plugesy_company_name label,
.checkout-page__content .wc-block-components-address-form__plugesy_vat_number label {
    pointer-events: none;
}

.checkout-page__content #shipping .wc-block-components-address-form__plugesy-company_name,
.checkout-page__content #shipping .wc-block-components-address-form__plugesy-vat_number,
.checkout-page__content #shipping .wc-block-components-address-form__plugesy_company_name,
.checkout-page__content #shipping .wc-block-components-address-form__plugesy_vat_number,
.checkout-page__content #shipping .wc-block-components-address-form__company,
.checkout-page__content #shipping .wc-block-components-address-form__vat_number {
    display: none !important;
}

.checkout-page__content .wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__mark {
    display: inline-block !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.checkout-page__content .wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__input:not(:checked) + .wc-block-components-checkbox__mark {
    visibility: visible !important;
    opacity: 1 !important;
}

.checkout-page__content .inpost_pl-block-shipping-method-meta-wrap,
.checkout-page__content .inpost_pl_block_shipping_meta {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}


@media (min-width: 960px) {
    .checkout-page__content .wc-block-components-sidebar-layout.is-large {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--space-6);
        position: relative;
    }

    .checkout-page__content .wc-block-components-sidebar-layout.is-large::after {
        content: none;
    }

    .checkout-page__content .wc-block-components-sidebar-layout.is-large .wc-block-components-main {
        order: 1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-right: var(--space-4);
    }

    .checkout-page__content .wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar {
        order: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: var(--space-4);
        box-sizing: border-box;
    }
}

@media (min-width: 960px) {
    .cart-page__content .wc-block-cart {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--space-6);
        align-items: flex-start;
        margin: 0;
        padding: 0;
    }

    .cart-page__content .wc-block-cart__main,
    .cart-page__content .wc-block-cart__sidebar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .cart-page__content .wc-block-cart__sidebar {
        border: none;
        box-shadow: none;
    }
}

.site-header__nav {
    position: fixed;
    top: calc((var(--space-3) * 2) + 42px);
    left: 0;
    height: calc(100vh - ((var(--space-3) * 2) + 42px));
    padding: var(--space-6) var(--space-6) var(--space-6);
    background: var(--color-bg);
    border-right: none;
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.site-header__nav.is-collapsed {
    transform: translateX(-100%);
}

body.checkout-page .site-header__nav,
body.cart-page .site-header__nav {
    display: none;
}

.site-header__nav .menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin: 0;
    list-style: none;
}

.site-header__nav .menu a {
    display: block;
    border-radius: var(--radius-md);
    font-size: var(--font-size-lg);
    color: var(--color-text);
    line-height: 1.2;
    padding: var(--space-2) var(--space-4);
}

.site-header__cart {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.site-header__account {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.site-header__login-link {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-lg);
    color: var(--color-text);
    line-height: 1.2;
    text-decoration: none;
}

.site-header__login-link.button-functional {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
}

.site-header__login-link.button-functional img {
    width: 16px;
    height: 16px;
    display: block;
}

.site-header__notify img {
    width: 16px;
    height: 16px;
    display: block;
}

.site-header__search svg {
    width: 16px;
    height: 16px;
    display: block;
}

.site-header__menu img {
    width: 16px;
    height: 16px;
    display: block;
}

.site-header__help img {
    width: 16px;
    height: 16px;
    display: block;
}

@media (max-width: 767px) {
    .site-header__login-link {
        font-size: var(--font-size-md);
    }
}

.site-header__cart .header-cart {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-md);
    color: var(--color-text);
    line-height: 1.2;
}

.site-header__cart .header-cart.button-functional {
    width: auto;
    min-width: 42px;
    height: 42px;
    padding: 0 var(--space-3);
}

.site-header__cart .header-cart img,
.site-header__cart .header-cart .header-cart__icon {
    width: 18px;
    height: 18px;
    display: block;
}

.header-cart__total {
    display: inline-block;
}

.cart-drawer__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.cart-drawer__overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100vw);
    background: var(--color-bg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.cart-drawer.is-open {
    transform: translateX(0);
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12);
}

body.cart-drawer-open {
    overflow: hidden;
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-5);
}

.cart-drawer__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

.cart-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: var(--btn-height);
    min-width: var(--btn-height);
    height: var(--btn-height);
    padding: 0;
}

.cart-drawer__close-icon {
    width: 14px;
    height: 14px;
    display: block;
}

.cart-drawer__content {
    flex: 1;
    overflow-y: auto;
    padding: 0 var(--space-5) var(--space-5);
}

.cart-drawer__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-4);
}

.cart-drawer__empty {
    margin: 0;
    color: var(--color-text);
}

.cart-drawer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.cart-drawer__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: var(--space-4);
    align-items: start;
}

.cart-drawer__item-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    display: block;
}

.cart-drawer__item-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.cart-drawer__item-name a {
    color: var(--color-text);
    text-decoration: none;
}

.cart-drawer__item-attrs {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

.cart-drawer__item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
}

.cart-drawer__qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 4px 6px;
}

.cart-drawer__qty-input {
    width: 36px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: var(--font-size-sm);
    color: var(--color-text);
    appearance: textfield;
}

.cart-drawer__qty-input::-webkit-outer-spin-button,
.cart-drawer__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-drawer__qty-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: var(--font-size-md);
    line-height: 1;
    padding: 2px 4px;
    color: var(--color-text);
}

.cart-drawer__qty-btn:hover,
.cart-drawer__qty-btn:focus {
    opacity: 0.7;
}

.cart-drawer__item-remove {
    font-size: var(--font-size-sm);
    color: var(--color-text);
    text-decoration: underline;
}

.cart-drawer__summary {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    font-weight: var(--font-weight-semibold);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-4);
}

.cart-drawer__actions {
    display: grid;
    gap: var(--space-3);
}

.cart-drawer__button {
    text-decoration: none;
    text-align: center;
}

.button-unstyled {
    background: transparent !important;
    border: none;
    padding: 0;
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    height: auto;
}

.button-unstyled:hover,
.button-unstyled:focus {
    background: transparent !important;
    color: inherit;
    opacity: 0.7;
}

.site-header__menu-toggle {
    display: inline-flex;
    border: none;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    justify-content: center;
}

.site-header__menu-toggle img {
    height: 24px;
}

.site-header__menu-toggle .icon-open {
    opacity: 0;
}

.site-header__menu-toggle.is-open .icon-open {
    opacity: 1;
}

.site-header__menu-toggle.is-open .icon-closed {
    opacity: 0;
}

.site-header__logo img,
.site-header__logo .custom-logo {
    max-height: 26px;
    width: auto;
    display: block;
}

@media (max-width: 1023px) {
    .site-header__grid {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .desktop-only {
        display: none !important;
    }

    .site-header__actions {
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: var(--space-4);
    }

    .header-cart__total {
        display: none;
    }

    .site-header__logo img,
    .site-header__logo .custom-logo {
        max-height: 24px;
    }
}

@media (max-width: 1023px) {
    .site-header__nav {
        display: none;
    }

    body.nav-open .site-main,
    body.nav-open .site-footer {
        margin-left: 0;
        width: 100%;
    }
}

.nav-primary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: var(--space-6);
}

.nav-primary a {
    display: block;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    color: inherit;
}

.nav-primary a:hover,
.nav-primary a:focus {
    background: var(--color-menu-hover);
    opacity: 0.7;
}

.site-header__nav .menu a:hover,
.site-header__nav .menu a:focus {
    opacity: 0.7;
    color: var(--color-text);
}

.container {
    width: 100%;
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .top-bar {
        display: block;
    }
}

.site-footer {
    background: var(--color-bg);
    color: var(--color-text);
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    margin-top: var(--space-10);
}

.site-footer a {
    color: var(--color-bg);
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--btn-text);
    opacity: 0.85;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    background: var(--color-bg-dark);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    width: 100%;
}

@media (max-width: 767px) {
    .site-footer__inner {
        padding: var(--space-7) var(--space-7);
        border-radius: var(--radius-lg);
    }
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-7);
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.site-footer__heading {
    margin: 0;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-bg);
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
}

.site-footer__logo {
    max-height: 26px;
    width: auto;
}

.site-footer__brand-name {
    font-size: var(--font-size-xxl);
    font-weight: var(--font-weight-bold);
    color: var(--color-bg);
}

.site-footer__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer__nav {
    display: block;
    font-size: var(--font-size-lg);
}

.menu-footer {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.menu-footer li {
    margin: 0;
}

.menu-footer a {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-lg);
    line-height: 1.4;
    color: var(--color-bg);
    border-radius: var(--radius-sm);
    padding: var(--space-1) 0;
    opacity: 0.7;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.menu-footer a:hover,
.menu-footer a:focus {
    color: var(--btn-text);
    opacity: 1;
}

.menu-footer a:active {
    opacity: 0.5;
}

.site-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.site-footer__contact-list a {
    font-size: var(--font-size-md);
}

.site-footer__address {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
}

.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.site-footer__bottom small {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin: 0;
}

.site-footer__locale {
    display: flex;
    justify-content: flex-start;
}

.site-footer__locale-button {
    font-size: var(--font-size-lg);
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
    border: solid 1px var(--color-border-dark) !important;
    background: var(--color-bg-dark) !important;
}

.site-footer__locale-flag {
    height: 15px !important;
    width: 25px;
    display: block;
    filter: brightness(0.95);
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus {
    opacity: 1;
}

.site-footer__social-link img {
    width: 18px;
    height: 18px;
}

button,
input[type="submit"],
.button,
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .actions .button,
.woocommerce .checkout-button,
.woocommerce .return-to-shop a,
.wp-block-button__link,
.wp-element-button,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-cart__payment-button,
.wc-block-checkout__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    border-radius: var(--btn-radius);
    border: var(--btn-border-width) solid var(--btn-border-color);
    background-color: var(--btn-bg);
    color: var(--btn-text);
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .actions .button:hover,
.woocommerce .checkout-button:hover,
.woocommerce .return-to-shop a:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-cart__payment-button:hover,
.wc-block-checkout__button:hover {
    background-color: var(--btn-bg-hover);
    color: var(--btn-text);
}

.button.button-secondary,
.woocommerce .button.button-secondary,
.woocommerce .btn.btn-secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: solid var(--btn-border-width) var(--btn-secondary-border-color);
}

.button.button-outline,
.btn.btn-outline {
    background-color: var(--btn-outline-bg);
    color: var(--btn-outline-text);
    border: solid var(--btn-border-width) var(--btn-outline-border-color);
}

.button.button-outline:hover,
.btn.btn-outline:hover {
    background-color: var(--btn-outline-bg-hover);
    color: var(--btn-outline-text);
}

.button.button-primary,
.btn.btn-primary {
    border: solid var(--btn-border-width) var(--btn-border-color);
}

.easypack_show_geowidget,
#easypack_block_type_geowidget {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-2) !important;
    width: 100% !important;
    padding: var(--space-3) var(--space-6) !important;
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-semibold) !important;
    border-radius: var(--radius-pill) !important;
    border: solid 1px var(--color-border-secondary) !important;
    background: var(--btn-secondary-bg) !important;
    color: var(--btn-secondary-text) !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    box-shadow: none !important;
    max-width: none !important;
    margin: 0 0 16px 0 !important;
}

.button:disabled,
.btn:disabled,
button:disabled,
input[type="submit"]:disabled,
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce .actions .button:disabled,
.woocommerce .checkout-button:disabled,
.woocommerce .return-to-shop a:disabled,
.wp-block-button__link:disabled,
.wp-element-button:disabled,
.wc-block-components-button:disabled,
.wc-block-cart__submit-button:disabled,
.wc-block-cart__payment-button:disabled,
.wc-block-checkout__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-7);
}

.woocommerce ul.products li.product {
    background: var(--color-bg-items);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-md);
    padding: var(--space-5);
}

.wc-block-components-checkout-return-to-cart-button {
    display: none !important;
}

.wc-block-checkout__button {
    width: 100%;
}

.wc-block-components-checkout-place-order-button {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
}

.product-card__thumbnail {
    position: relative;
    display: block;
}

.product-card__badge {
    position: absolute;
    left: var(--space-3);
    bottom: var(--space-3);
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.product-card__badge img {
    width: 100%;
    height: auto;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.product-card__rating .star-rating {
    margin: 0;
    font-size: var(--font-size-md);
}

.star-rating {
    --star-active-color: var(--color-star-active);
    --star-inactive-color: var(--color-star-inactive);
    position: relative;
    display: inline-flex;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 3px;
    font-family: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
    color: var(--star-inactive-color);
}

.star-rating::before {
    content: "★★★★★";
    color: var(--star-inactive-color);
}

.star-rating span {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: block;
    text-indent: -9999px;
}

.star-rating span::before {
    content: "★★★★★";
    position: absolute;
    inset: 0;
    color: var(--star-active-color);
    text-indent: 0;
}

.star-rating .rating {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.comment-form-rating .stars,
p.stars {
    display: inline-flex;
    gap: var(--space-1);
    margin: var(--space-2) 0;
}

.comment-form-rating .stars span,
p.stars span {
    display: inline-flex;
}

.comment-form-rating select {
    width: auto;
    min-width: 140px;
    margin-top: var(--space-1);
}

.comment-form-rating .stars a,
p.stars a {
    position: relative;
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    text-indent: -9999px;
    color: rgba(0, 0, 0, 0.25);
    transition: color 0.2s ease;
}

.comment-form-rating .stars a::before,
p.stars a::before {
    content: "★";
    font-size: var(--font-size-xl);
    line-height: 1;
    text-indent: 0;
}

.comment-form-rating .stars a:hover,
.comment-form-rating .stars a:focus,
.comment-form-rating .stars a.active,
.comment-form-rating .stars a:hover ~ a,
.comment-form-rating .stars a:focus ~ a,
.comment-form-rating .stars a.active ~ a,
p.stars a:hover,
p.stars a:focus,
p.stars a.active,
p.stars a:hover ~ a,
p.stars a:focus ~ a,
p.stars a.active ~ a {
    color: #f5a524;
}

.product-card__rating-count {
    font-size: var(--font-size-md);
    color: var(--color-text);
    line-height: 1;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-border-secondary) transparent;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
    box-shadow: none;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-border-secondary);
    border-radius: 999px;
    border: none;
    box-shadow: none;
}
.site-content.nav-open {
    margin-left: var(--sidebar-width, 220px);
    width: calc(100% - var(--sidebar-width, 220px));
}

html {
    overflow-y: visible;
}

body:not(.cart-drawer-open) {
    overflow-y: visible;
}

html[unresolved],
body[unresolved] {
    overflow: hidden;
}
