
:root,[data-bs-theme=light] {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #d2aa55;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 13,110,253;
    --bs-secondary-rgb: 108,117,125;
    --bs-success-rgb: 25,135,84;
    --bs-info-rgb: 13,202,240;
    --bs-warning-rgb: 255,193,7;
    --bs-danger-rgb: 220,53,69;
    --bs-light-rgb: 248,249,250;
    --bs-dark-rgb: 33,37,41;
    --bs-primary-text-emphasis: #052c65;
    --bs-secondary-text-emphasis: #2b2f32;
    --bs-success-text-emphasis: #0a3622;
    --bs-info-text-emphasis: #055160;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #58151c;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-secondary-bg-subtle: #e2e3e5;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #9ec5fe;
    --bs-secondary-border-subtle: #c4c8cb;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255,255,255;
    --bs-black-rgb: 0,0,0;
    --bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    --bs-gradient: linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,0));
    --bs-body-font-family: "Inter",sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.25;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33,37,41;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255,255,255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0,0,0;
    --bs-secondary-color: rgba(33,37,41,.75);
    --bs-secondary-color-rgb: 33,37,41;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233,236,239;
    --bs-tertiary-color: rgba(33,37,41,.5);
    --bs-tertiary-color-rgb: 33,37,41;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248,249,250;
    --bs-heading-color: inherit;
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13,110,253;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10,88,202;
    --bs-code-color: #d63384;
    --bs-highlight-color: #212529;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0,0,0,.175);
    --bs-border-radius: 8px;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0,0,0,.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(13,110,253,.25);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545
}

.login-to-see-price {
    font-size: 14px;
}

.login-to-see-price small {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}


#js-product-list-footer {
    font-weight: 300;
    line-height: 1.5;
    font-size: 14px;
}

#pagenotfound .wrapper {
    padding-top: 0;;
}

a {
    color: #d2aa55;
}

#content-wrapper .page-header {
    margin: 15px 0 25px 0;
}

.table-wrapper {
    padding: 0;
}

/* === Account menu — siatka kolumnowa, ikona na górze, wyśrodkowane === */
.account-menu--horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    flex-direction: row;
}

/* Wspólne style dla wszystkich linków w menu (natywne + z hooków) */
.account-menu--horizontal > a,
.account-menu--horizontal .account-menu__line {
    display: flex;
    padding: 14px 10px;
    border-radius: 8px;
    background: var(--bs-gray-100, #f5f5f5);
    text-decoration: none;
    transition: all 0.2s;
    min-width: 100px;
    /* Reset grid klas z modułów */
    flex: none;
    max-width: none;
    width: 150px;
}

.account-menu--horizontal > a .link-item,
.account-menu--horizontal .account-menu__line .link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    width: 100%;
    color: var(--bs-gray-800, #333);
    font-size: 14px;
    font-weight: 600;
}

.account-menu--horizontal > a .link-item i,
.account-menu--horizontal .account-menu__line .link-item i {
    font-size: 24px;
    margin: 0 !important;
    color: var(--bs-gray-700, #555);
    transition: color 0.2s;
}

.account-menu--horizontal > a:hover,
.account-menu--horizontal > a.active,
.account-menu--horizontal .account-menu__line:hover,
.account-menu--horizontal .account-menu__line.active {
    background: var(--bs-primary, #d2aa55);
}

.account-menu--horizontal > a:hover .link-item,
.account-menu--horizontal > a:hover .link-item i,
.account-menu--horizontal > a.active .link-item,
.account-menu--horizontal > a.active .link-item i,
.account-menu--horizontal .account-menu__line:hover .link-item,
.account-menu--horizontal .account-menu__line:hover .link-item i,
.account-menu--horizontal .account-menu__line.active .link-item,
.account-menu--horizontal .account-menu__line.active .link-item i {
    color: #fff;
}

.account-menu--horizontal .account-menu--signout .link-item,
.account-menu--horizontal .account-menu--signout .link-item i {
    color: var(--bs-danger, #dc3545);
}

.account-menu--horizontal .account-menu--signout:hover {
    background: var(--bs-danger, #dc3545);
}

.account-menu--horizontal .account-menu--signout:hover .link-item,
.account-menu--horizontal .account-menu--signout:hover .link-item i {
    color: #fff;
}

/* === My Account boksy — 4 kolumny, wyśrodkowane, ikona na górze === */
.customer-link .link-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
}

.customer-link .link-item i {
    margin-bottom: 0.5rem;
    margin-right: 0 !important;
}

/* Natywne boksy + boksy z hooków (col-lg-4 → col-lg-3) */
.customer-link__link,
.customer-link > a[class*="col-"] {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Boksy z hooków — wyśrodkowane ikona/tekst */
.customer-link > a[class*="col-"] .link-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 1.25rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bs-gray-800);
    background: var(--bs-gray-100);
    border-radius: var(--bs-border-radius-sm);
    transition: 0.25s ease-out;
}

.customer-link > a[class*="col-"] .link-item:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.customer-link > a[class*="col-"] .link-item:hover i {
    color: var(--bs-white);
}

.customer-link > a[class*="col-"] .link-item i {
    margin-bottom: 0.75rem;
    margin-right: 0 !important;
    font-size: 2rem;
    color: var(--bs-gray-700);
    transition: 0.25s ease-out;
}

/* Full-width content wrapper dla stron konta */
.page-customer-account .wrapper__content,
.page-my-account .wrapper__content,
.page-customer .wrapper__content {
    max-width: 100%;
    flex: 0 0 100%;
}

/* Responsywność */
@media (max-width: 991px) {
    .customer-link__link,
    .customer-link > a[class*="col-"] {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .account-menu--horizontal {
        gap: 6px;
        max-width: 100%;
    }

    .account-menu--horizontal > a,
    .account-menu--horizontal .account-menu__line {
        padding: 10px 6px;
        min-width: 80px;
    }

    .account-menu--horizontal > a .link-item,
    .account-menu--horizontal .account-menu__line .link-item {
        font-size: 11px;
    }

    .account-menu--horizontal > a .link-item i,
    .account-menu--horizontal .account-menu__line .link-item i {
        font-size: 20px;
    }

    .customer-link__link,
    .customer-link > a[class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .customer-link > a[class*="col-"] .link-item {
        flex-direction: row !important;
        align-items: center !important;
        padding: 0.5rem;
    }

    .customer-link > a[class*="col-"] .link-item i {
        margin-bottom: 0;
        margin-right: 0.75rem !important;
    }
} 