/* ===================================================
   WOOCOMMERCE GLOBAL STYLES — KaiZen HR
   =================================================== */

/* ===== GENERAL / RESET ===== */
.woocommerce,
.woocommerce-page {
    font-family: inherit;
    color: var(--color-navy-dark);
}

.woocommerce main main,
.woocommerce-page main main{
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    padding: 1.6rem 2rem 1.6rem max(50px, 5rem);
    margin: 0 0 2.4rem;
    border-top: none;
    border-left: 0.4rem solid var(--color-gold);
    background: #F5F5F5;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-navy-dark);
    border-radius: 0.4rem;
}

.woocommerce .woocommerce-error {
    border-left-color: #e74c3c;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
    color: var(--color-gold);
}

.woocommerce .woocommerce-error::before {
    color: #e74c3c;
}

.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-info a {
    color: var(--color-gold);
    font-weight: var(--font-weight-medium);
}

/* ===== BUTTONS ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: max(1rem, 10px) max(25px, 2.5rem);
    font-family: inherit;
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-medium);
    line-height: 2.153;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    white-space: nowrap;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    background: var(--color-navy-dark) !important;
    color: var(--color-white) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
    background: var(--color-gold) !important;
    color: var(--color-white) !important;
}

.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== FORM FIELDS ===== */
.woocommerce form .form-row label {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--color-navy-dark);
    margin-bottom: 0.6rem;
    display: block;
}

.woocommerce form .form-row label .required {
    color: var(--color-gold);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single {
    font-family: inherit;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    line-height: 1.5;
    color: var(--color-navy-dark);
    background: var(--color-white);
    border: 0.1rem solid #D1D5DB;
    border-radius: 0.4rem;
    padding: 1.2rem 1.6rem;
    width: 100%;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 0.2rem rgba(207, 171, 109, 0.15);
}

.woocommerce .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 4.6rem;
    display: flex;
    align-items: center;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: var(--color-navy-dark);
    font-size: var(--font-size-14);
    line-height: 1.5;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 1.2rem;
}

/* Select2 dropdown */
.select2-dropdown {
    border: 0.1rem solid #D1D5DB;
    border-radius: 0.4rem;
    box-shadow: 0 0.4rem 1.6rem rgba(9, 17, 51, 0.08);
}

.select2-results__option {
    font-family: inherit;
    font-size: var(--font-size-14);
    padding: 1rem 1.6rem;
}

.select2-results__option--highlighted[aria-selected] {
    background: var(--color-gold) !important;
}

/* ===== PAGE TITLES ===== */
.woocommerce-page .woocommerce h2,
.woocommerce-page .woocommerce h3 {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    color: var(--color-navy-dark);
    margin: 0 0 2.4rem;
}

/* ===================================================
   CART
   =================================================== */
.woocommerce-cart .woocommerce {
    padding: 2rem 0 6rem;
}

/* Cart table */
.woocommerce table.shop_table {
    border: none;
    border-collapse: collapse;
    border-radius: 0;
    width: 100%;
}

.woocommerce table.shop_table th {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: var(--color-navy-dark);
    background: #F5F5F5;
    padding: 1.6rem 2rem;
    border: none;
    border-bottom: 0.1rem solid #E5E7EB;
}

.woocommerce table.shop_table td {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    line-height: 1.6;
    color: var(--color-navy-dark);
    padding: 2rem;
    border: none;
    border-bottom: 0.1rem solid #E5E7EB;
    vertical-align: middle;
}

.woocommerce table.shop_table td.product-name a {
    color: var(--color-navy-dark);
    font-weight: var(--font-weight-regular);
    transition: color 0.2s;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--color-gold);
}

/* Product thumbnail in cart */
.woocommerce table.shop_table td.product-thumbnail img {
    width: 8rem;
    height: 8rem;
    object-fit: cover;
    border-radius: 0.4rem;
}

/* Quantity input */
.woocommerce .quantity .qty {
    font-family: inherit;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    border: 0.1rem solid #D1D5DB;
    border-radius: 0.4rem;
    padding: 0.8rem 1.2rem;
    width: 6rem;
    text-align: center;
}

.woocommerce .quantity .qty:focus {
    outline: none;
    border-color: var(--color-gold);
}

/* Remove item */
.woocommerce a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    color: #999 !important;
    font-size: 2rem;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.woocommerce a.remove:hover {
    background: #e74c3c !important;
    color: var(--color-white) !important;
}

/* Coupon */
.woocommerce .cart .coupon {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.woocommerce .cart .coupon .input-text {
    font-family: inherit;
    font-size: var(--font-size-14);
    padding: 1rem 1.6rem;
    border: 0.1rem solid #D1D5DB;
    border-radius: 0.4rem;
    max-width: 22rem;
}

/* Cart actions row */
.woocommerce .cart .actions {
    padding: 2rem;
}

/* Cart totals */
.woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
}

.woocommerce .cart_totals h2 {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-regular);
    margin-bottom: 2rem;
}

.woocommerce .cart_totals table {
    border: none;
}

.woocommerce .cart_totals table th {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-medium);
    color: var(--color-navy-dark);
    background: transparent;
    padding: 1.4rem 2rem;
    border: none;
    border-bottom: 0.1rem solid #E5E7EB;
    width: 35%;
}

.woocommerce .cart_totals table td {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    padding: 1.4rem 2rem;
    border: none;
    border-bottom: 0.1rem solid #E5E7EB;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    border-bottom: none;
}

.woocommerce .cart_totals .wc-proceed-to-checkout {
    padding: 2rem 0 0;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    text-align: center;
    font-size: var(--font-size-14);
    padding: 1.6rem 3.2rem;
}

/* ===================================================
   CHECKOUT
   =================================================== */
.woocommerce-checkout .woocommerce {
    padding: 2rem 0 6rem;
}

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
}

.woocommerce form .form-row {
    margin-bottom: 2rem;
}

/* Order review */
.woocommerce-checkout #order_review_heading {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-regular);
    margin: 0 0 2rem;
    padding-top: 2rem;
    border-top: 0.1rem solid #E5E7EB;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    margin-bottom: 3.2rem;
}

/* Payment methods */
.woocommerce-checkout #payment {
    background: #F5F5F5;
    border-radius: 0.8rem;
    padding: 2.4rem;
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    margin: 0;
    padding: 0 0 2rem;
    border-bottom: 0.1rem solid #E5E7EB;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 1.4rem 0;
    border-bottom: 0.1rem solid #E5E7EB;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    line-height: 1.6;
    color: #6B7280;
    padding: 1.2rem 0 0 2.4rem;
    background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box::before {
    display: none;
}

.woocommerce-checkout #payment .place-order {
    padding: 2rem 0 0;
}

.woocommerce-checkout #payment #place_order {
    width: 100%;
    font-size: var(--font-size-14);
    padding: 1.6rem 3.2rem;
}

/* Terms checkbox */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 2rem;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    line-height: 1.6;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: var(--color-gold);
}

/* ===================================================
   MY ACCOUNT
   =================================================== */
.woocommerce-account .woocommerce {
    padding: 2rem 0 6rem;
}

/* Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    max-width: 28rem;
    margin-bottom: 3.2rem;
    box-sizing: border-box;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0.1rem solid #E5E7EB;
    border-radius: 0.8rem;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 0.1rem solid #E5E7EB;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 1.4rem 2rem;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    transition: background 0.2s, color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #F5F5F5;
    color: var(--color-gold);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    background: var(--color-navy-dark);
    color: var(--color-white);
}

/* Account layout — side nav + content */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25%;
    padding-right: 4rem;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 75%;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    line-height: 1.8;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: var(--color-gold);
    font-weight: var(--font-weight-regular);
}

/* Orders table */
.woocommerce-account .woocommerce-orders-table {
    font-size: var(--font-size-14);
}

.woocommerce-account .woocommerce-orders-table th {
    font-weight: var(--font-weight-medium);
}

/* Addresses */
.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
}

.woocommerce-account .woocommerce-Address {
    border: 0.1rem solid #E5E7EB;
    border-radius: 0.8rem;
    padding: 2.4rem;
}

.woocommerce-account .woocommerce-Address-title h3 {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    margin: 0 0 0.8rem;
}

.woocommerce-account .woocommerce-Address-title a {
    font-size: var(--font-size-13);
    color: var(--color-gold);
}

.woocommerce-account .woocommerce-Address address {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    line-height: 1.8;
    font-style: normal;
}

/* Login / Register forms */
.woocommerce-account .woocommerce form.woocommerce-form-login,
.woocommerce-account .woocommerce form.woocommerce-form-register {
    border: 0.1rem solid #E5E7EB;
    border-radius: 0.8rem;
    padding: 3.2rem;
    margin: 0;
    max-width: 48rem;
}

.woocommerce-account .u-columns {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2 {
    flex: 1;
    min-width: 30rem;
}

/* Remember me */
.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    cursor: pointer;
}

/* Lost password */
.woocommerce .woocommerce-LostPassword a {
    font-size: var(--font-size-13);
    color: var(--color-gold);
}

/* ===================================================
   ORDER RECEIVED / THANK YOU
   =================================================== */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    padding: 2.4rem;
    background: #F5F5F5;
    border-radius: 0.8rem;
    border-left: 0.4rem solid var(--color-gold);
    margin-bottom: 3.2rem;
}

.woocommerce-order-received .woocommerce-order-overview {
    list-style: none;
    margin: 0 0 3.2rem;
    padding: 2.4rem;
    background: #F5F5F5;
    border-radius: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.woohoo.woocommerce-order-received .woocommerce-order-overview li {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    line-height: 1.6;
    padding-right: 2.4rem;
    border-right: 0.1rem solid #E5E7EB;
}

.woocommerce-order-received .woocommerce-order-overview li:last-child {
    border-right: none;
    padding-right: 0;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    margin-top: 0.4rem;
}

/* ===================================================
   PRICE FORMATTING
   =================================================== */
.woocommerce .amount {
    color: var(--color-navy-dark);
    font-weight: var(--font-weight-regular);
}

.woocommerce del .amount {
    color: #9CA3AF;
    font-weight: var(--font-weight-light);
}

.woocommerce ins {
    text-decoration: none;
}

.woocommerce ins .amount {
    color: var(--color-gold);
    font-weight: var(--font-weight-medium);
}

/* ===================================================
   STAR RATING
   =================================================== */
.woocommerce .star-rating {
    color: var(--color-gold);
}

.woocommerce .star-rating::before {
    color: #D1D5DB;
}

/* ===================================================
   EMPTY STATES
   =================================================== */
.woocommerce .woocommerce-info.wc-empty-cart-message,
.woocommerce .cart-empty {
    text-align: center;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-light);
    padding: 4rem 2rem;
}

.woocommerce .return-to-shop a {
    display: inline-flex;
}

/* ===================================================
   WC BLOCKS — INPUTS, RADIO, CHECKBOX
   =================================================== */

/* Text inputs */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-textarea textarea {
    font-family: inherit;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    color: var(--color-navy-dark);
    border: 0.1rem solid #D1D5DB;
    border-radius: 0.4rem;
    transition: border-color 0.2s;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 0.2rem rgba(207, 171, 109, 0.15);
    outline: none;
}

/* Labels */
.wc-block-components-text-input label {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-regular);
    color: #6B7280;
}

.wc-block-components-text-input.is-active label {
    color: var(--color-gold);
}

/* Select / Combobox */
.wc-block-components-combobox .components-combobox-control input[type="text"],
.wc-block-components-select-input select {
    font-family: inherit;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    color: var(--color-navy-dark);
    border: 0.1rem solid #D1D5DB;
    border-radius: 0.4rem;
}

.wc-block-components-combobox .components-combobox-control input[type="text"]:focus,
.wc-block-components-select-input select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 0.2rem rgba(207, 171, 109, 0.15);
    outline: none;
}

/* Radio buttons */
.wc-block-components-radio-control__option {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.6rem 2rem 1.6rem max(50px, 5rem);
    border: 0.1rem solid #E5E7EB;
    border-radius: 0.6rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.wc-block-components-radio-control__option:hover {
    border-color: var(--color-gold);
}

.wc-block-components-radio-control__option-checked {
    border-color: var(--color-gold);
    background: rgba(207, 171, 109, 0.05);
}

.wc-block-components-radio-control__input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    border: 0.2rem solid #D1D5DB;
    border-radius: 50%;
    margin: 0.2rem 0 0 0;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
    background: var(--color-white);
}

.wc-block-components-radio-control__input:checked {
    border-color: var(--color-gold);
}

.wc-block-components-radio-control__input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    background: var(--color-gold);
    border-radius: 50%;
}

.wc-block-components-radio-control__label {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    line-height: 1.5;
}

.wc-block-components-radio-control__description {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    color: #6B7280;
    line-height: 1.5;
    margin-top: 0.4rem;
}

.wc-block-components-radio-control__secondary-label {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-medium);
    color: var(--color-navy-dark);
    margin-left: auto;
}

/* Checkboxes */
.wc-block-components-checkbox .wc-block-components-checkbox__input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1.8rem;
    height: 1.8rem;
    min-width: 1.8rem;
    border: 0.2rem solid #D1D5DB;
    border-radius: 0.3rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    background: var(--color-white);
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked::after {
    content: '';
    position: absolute;
    top: 0.2rem;
    left: 0.5rem;
    width: 0.5rem;
    height: 0.9rem;
    border: solid var(--color-white);
    border-width: 0 0.2rem 0.2rem 0;
    transform: rotate(45deg);
}

.wc-block-components-checkbox .wc-block-components-checkbox__label {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    color: var(--color-navy-dark);
    line-height: 1.5;
}

/* ===================================================
   WC BLOCKS — CHECKOUT LAYOUT
   =================================================== */
.wp-block-woocommerce-checkout .wc-block-checkout__form {
    font-family: inherit;
}

/* Section headings */
.wc-block-components-checkout-step__heading {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
}

.wc-block-components-checkout-step__description {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    color: #6B7280;
}

/* Shipping options */
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
    border: 0.1rem solid #E5E7EB;
    border-radius: 0.6rem;
}

/* Order summary sidebar */
.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
    background: var(--color-navy-dark);
    color: var(--color-white);
    border: none;
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
}

.wc-block-components-order-summary .wc-block-components-product-metadata__description {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    color: #6B7280;
}

/* Totals */
.wc-block-components-totals-wrapper {
    border-top-color: #E5E7EB;
}

.wc-block-components-totals-item__label {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
}

.wc-block-components-totals-item__value {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-medium);
    color: var(--color-navy-dark);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
}

/* Place order button */
.wc-block-components-checkout-place-order-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.6rem 3.2rem !important;
    font-family: inherit;
    font-size: var(--font-size-14) !important;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    background: var(--color-navy-dark) !important;
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background 0.3s !important;
}

.wc-block-components-checkout-place-order-button:hover {
    background: var(--color-gold) !important;
}

/* Return to cart link */
.wc-block-components-checkout-return-to-cart-button {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-regular);
    color: var(--color-gold);
    transition: color 0.2s;
}

.wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--color-navy-dark);
}

/* ===================================================
   WC BLOCKS — CART
   =================================================== */
.wp-block-woocommerce-cart .wc-block-cart {
    font-family: inherit;
}

.wc-block-cart-items .wc-block-cart-items__row {
    border-bottom-color: #E5E7EB;
}

.wc-block-cart-item__product .wc-block-components-product-name {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    transition: color 0.2s;
}

.wc-block-cart-item__product .wc-block-components-product-name:hover {
    color: var(--color-gold);
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    font-family: inherit;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    border-color: #D1D5DB;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    color: var(--color-navy-dark);
    border-color: #D1D5DB;
    transition: color 0.2s, background 0.2s;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
    background: #F5F5F5;
    color: var(--color-gold);
}

.wc-block-cart-item__remove-link {
    font-size: var(--font-size-13);
    color: #9CA3AF !important;
    transition: color 0.2s;
}

.wc-block-cart-item__remove-link:hover {
    color: #e74c3c !important;
}

/* Cart proceed button */
.wc-block-cart__submit-container .wc-block-cart__submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.6rem 3.2rem !important;
    font-family: inherit;
    font-size: var(--font-size-14) !important;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    background: var(--color-navy-dark) !important;
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background 0.2s;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button:hover {
    background: var(--color-gold) !important;
}

/* Coupon in blocks */
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__input .wc-block-components-text-input input {
    border-color: #D1D5DB;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    /* Account - stack nav above content */
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        max-width: 100%;
        margin-bottom: 3.2rem;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        border-radius: 0.4rem;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li {
        border-bottom: none;
        border-right: 0.1rem solid #E5E7EB;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
        border-right: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        padding: 1.2rem 1.6rem;
        font-size: var(--font-size-13);
    }
}

@media (max-width: 768px) {
    /* Checkout columns */
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    /* Cart table responsive */
    .woocommerce table.shop_table_responsive thead {
        display: none;
    }

    .woocommerce table.shop_table_responsive tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.2rem 1.6rem;
    }

    .woocommerce table.shop_table_responsive tr td::before {
        font-weight: var(--font-weight-medium);
        font-size: var(--font-size-13);
        text-transform: uppercase;
    }

    .woocommerce table.shop_table_responsive tr {
        border-bottom: 0.2rem solid #E5E7EB;
        margin-bottom: 1.6rem;
        padding-bottom: 1.6rem;
    }

    /* Coupon stacking */
    .woocommerce .cart .coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce .cart .coupon .input-text {
        max-width: 100%;
    }

    /* Cart totals full width */
    .woocommerce .cart-collaterals .cart_totals {
        max-width: 100%;
    }

    /* Addresses stack */
    .woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Login forms */
    .woocommerce-account .u-columns .u-column1,
    .woocommerce-account .u-columns .u-column2 {
        min-width: 100%;
    }

    .woocommerce-account .woocommerce form.woocommerce-form-login,
    .woocommerce-account .woocommerce form.woocommerce-form-register {
        max-width: 100%;
        padding: 2.4rem;
    }

    /* Account nav horizontal scroll */
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        white-space: nowrap;
        padding: 1rem 1.4rem;
        font-size: var(--font-size-16);
    }

    /* Order summary */
    .woocommerce-order-received .woocommerce-order-overview {
        flex-direction: column;
        gap: 1.2rem;
    }

    .woocommerce-order-received .woocommerce-order-overview li {
        border-right: none;
        padding-right: 0;
        padding-bottom: 1.2rem;
        border-bottom: 0.1rem solid #E5E7EB;
    }

    .woocommerce-order-received .woocommerce-order-overview li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Cart */
.wc-block-components-product-metadata .wc-block-components-product-metadata__description>p, 
.wc-block-components-product-metadata .wc-block-components-product-metadata__variation-data{
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, 
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name{
    font-size: var(--font-size-16);
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button{
    font-size: var(--font-size-14) !important;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    background: var(--color-navy-dark) !important;
    border: unset;
    color: var(--color-white) !important;
    transition: color .3s ease, background .3s ease;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover{
    background: var(--color-gold) !important;
}

.woohoo .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:disabled{
    filter: grayscale(1);
}

.woohoo .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{
    font-size: 2em;
}

.woohoo .wc-block-checkout__actions .wc-block-checkout__actions_row{
    align-items: stretch;
}

.woohoo .wc-block-components-checkout-return-to-cart-button{
    display: flex;
    width: 100%;
    max-width: 29rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: max(10px, 1rem);
    padding: 1.6rem 3.2rem !important;
    background-color: #F5F5F5;
    color: var(--color-navy-dark);
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    transition: color .3s ease;
}

.woohoo .wc-block-components-checkout-return-to-cart-button:hover{
    color: var(--color-gold);
}

.wc-block-components-checkout-return-to-cart-button svg{
    position: unset;
    top: unset;
    transform: unset;
}

/* ===== ORDER RECEIVED / THANK YOU ===== */

.woocommerce-order-received .woocommerce,
.woocommerce-order-received .woocommerce-order {
    padding: 0;
}

/* Komunikat "Dziękujemy" */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    padding: 2.4rem 2.4rem 2.4rem 5.6rem;
    background: #F5F5F5;
    border-left: 0.4rem solid var(--color-gold);
    margin-bottom: 3.2rem;
    position: relative;
    list-style: none;
}

.woocommerce-notice--success.woocommerce-thankyou-order-received::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='20' height='20' fill='%23CFAB6D'/%3E%3Cpath d='M4 10.5L8 14.5L16 6.5' stroke='white' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ===== OVERVIEW — lista z numerem zamówienia, datą itd. ===== */
.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0 0 4rem;
    padding: 0;
    border: 0.1rem solid #D8D8D8;
}

.woocommerce-order-overview li {
    flex: 1;
    min-width: 16rem;
    padding: 2rem 2.4rem;
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    color: var(--color-navy-dark);
    line-height: 1.5;
    border-right: 0.1rem solid #D8D8D8;
    box-sizing: border-box;
}

.woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order-overview li strong {
    display: block;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    margin-top: 0.4rem;
}

.woocommerce-order-overview li .woocommerce-Price-amount {
    color: var(--color-gold);
    font-weight: var(--font-weight-regular);
}

/* ===== SZCZEGÓŁY ZAMÓWIENIA ===== */
.woocommerce-order-details {
    margin-bottom: 4rem;
}

.woocommerce-order-details__title {
    font-size: var(--font-size-28);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    margin: 0 0 2.4rem;
    padding-bottom: 1.6rem;
    border-bottom: 0.1rem solid var(--color-navy-dark);
}

/* Tabela */
.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.woocommerce-table--order-details thead tr {
    border-bottom: 0.1rem solid #D8D8D8;
}

.woocommerce-table--order-details thead th {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-regular);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-navy-dark);
    padding: 0 0 1.6rem;
    text-align: left;
    border: none;
    background: transparent;
}

.woocommerce-table--order-details thead th.product-total {
    text-align: right;
}

/* Wiersze produktów */
.woocommerce-table--order-details tbody tr {
    border-bottom: 0.1rem solid #D8D8D8;
}

.woocommerce-table--order-details tbody td {
    padding: 2rem 0;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    color: var(--color-navy-dark);
    border: none;
    vertical-align: middle;
}

.woocommerce-table--order-details tbody td.product-name a {
    color: var(--color-navy-dark);
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce-table--order-details tbody td.product-name a:hover {
    color: var(--color-gold);
}

.woocommerce-table--order-details tbody td.product-name .product-quantity {
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-light);
    color: #999;
    margin-left: 0.4rem;
}

.woocommerce-table--order-details tbody td.product-total {
    text-align: right;
}

.woocommerce-table--order-details tbody td.product-total .woocommerce-Price-amount {
    color: var(--color-navy-dark);
    font-weight: var(--font-weight-regular);
}

/* Stopka tabeli */
.woocommerce-table--order-details tfoot tr {
    border-bottom: 0.1rem solid #D8D8D8;
}

.woocommerce-table--order-details tfoot tr:last-child {
    border-bottom: none;
}

.woocommerce-table--order-details tfoot th {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    padding: 1.6rem 0;
    text-align: left;
    border: none;
    background: transparent;
    width: 70%;
}

.woocommerce-table--order-details tfoot td {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    padding: 1.6rem 0;
    text-align: right;
    border: none;
}

/* Wiersz "Razem" — wyróżniony */
.woocommerce-table--order-details tfoot tr:nth-last-child(2) th,
.woocommerce-table--order-details tfoot tr:nth-last-child(2) td {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.woocommerce-table--order-details tfoot td .woocommerce-Price-amount {
    color: var(--color-gold);
}

/* ===== DANE KLIENTA ===== */
.woocommerce-customer-details {
    margin-bottom: 4rem;
}

.woocommerce-column__title {
    font-size: var(--font-size-28);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    margin: 0 0 2rem;
    padding-bottom: 1.6rem;
    border-bottom: 0.1rem solid var(--color-navy-dark);
}

.woocommerce-customer-details address {
    font-style: normal;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-light);
    line-height: 2;
    color: var(--color-navy-dark);
    padding: 2.4rem;
    background: #F5F5F5;
    border-left: 0.4rem solid #D8D8D8;
}

.woocommerce-customer-details address p {
    margin: 0;
}

.woocommerce-customer-details--email,
.woocommerce-customer-details--phone {
    font-weight: var(--font-weight-regular) !important;
    color: var(--color-gold) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .woocommerce-order-overview {
        flex-direction: column;
    }

    .woocommerce-order-overview li {
        border-right: none;
        border-bottom: 0.1rem solid #D8D8D8;
        min-width: 100%;
    }

    .woocommerce-order-overview li:last-child {
        border-bottom: none;
    }

    .woocommerce-notice--success.woocommerce-thankyou-order-received {
        font-size: var(--font-size-16);
        padding: 2rem 2rem 2rem 5rem;
    }
}

/* ===== EMPTY CART ===== */

.wp-block-woocommerce-empty-cart-block {
    padding: 4rem 0 6rem;
    text-align: center;
}

/* Tytuł "Twój koszyk jest obecnie pusty!" */
.wc-block-cart__empty-cart__title {
    font-size: var(--font-size-24) !important;
    font-weight: var(--font-weight-regular) !important;
    color: var(--color-navy-dark) !important;
    margin: 0 0 3.2rem !important;
    line-height: 1.3;
}

/* Ikona koszyka przed tytułem */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    background-color: var(--color-gold) !important;
    width: 4rem !important;
    height: 4rem !important;
    mask-size: 4rem !important;
    margin-bottom: 2rem !important;
}

/* Separator kropkowany */
.wp-block-woocommerce-empty-cart-block .wp-block-separator {
    border-color: #D8D8D8 !important;
    margin: 3.2rem auto !important;
    max-width: 8rem;
}

/* "Nowe w sklepie" */
.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
    font-size: var(--font-size-24) !important;
    font-weight: var(--font-weight-regular) !important;
    color: var(--color-navy-dark) !important;
    margin: 0 0 3.2rem !important;
    text-align: center;
}

/* Grid produktów */
.wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wc-block-grid__product {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.woohoo .theme-twentytwenty .wc-block-grid.has-4-columns .wc-block-grid__product, 
.woohoo .wc-block-grid.has-4-columns .wc-block-grid__product{
    max-width: 100%;
}

/* Link produktu */
.wc-block-grid__product-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

/* Obrazek */
.wc-block-grid__product-image {
    overflow: hidden;
}

.wc-block-grid__product-image img {
    width: 100% !important;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wc-block-grid__product-image img:hover {
    transform: scale(1.03);
}

/* Tytuł produktu */
.wc-block-grid__product-title {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-navy-dark);
    margin: 1.2rem 0 0.8rem;
    line-height: 1.4;
}

/* Cena */
.wc-block-grid__product-price.price {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    color: var(--color-gold);
    margin-bottom: 1.2rem;
}

.wc-block-grid__product-price .woocommerce-Price-amount {
    color: var(--color-gold);
}

/* Przycisk "Dodaj do koszyka" */
.wc-block-grid__product-add-to-cart .wp-block-button__link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
    padding: 1.4rem 1.6rem !important;
    font-family: inherit !important;
    font-size: var(--font-size-13) !important;
    font-weight: var(--font-weight-regular) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    background: var(--color-navy-dark) !important;
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 0 !important;
    transition: background 0.2s;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background: var(--color-gold) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .wc-block-grid__products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .wc-block-grid__products {
        grid-template-columns: 1fr !important;
    }
}

.woocommerce-form__input.woocommerce-form__input-checkbox{
    accent-color: var(--color-gold);
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme{
    display: flex;
    margin-bottom: 2rem;
}

.woohoo .woocommerce form.login p,
.woohoo .woocommerce form.register p{
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
}

.woohoo .woocommerce .woocommerce-form__label-for-checkbox{
    font-size: var(--font-size-14);
    line-height: 1.2;
}

.woohoo .woocommerce form.login p a,
.woohoo .woocommerce form.register p a{
    text-decoration: underline;
    transition: color .3s ease;
}

.woohoo .woocommerce form.login p a:hover,
.woohoo .woocommerce form.register p a:hover{
    color: var(--color-gold);
}
