/* ==========================================================================
   WZT WooCommerce Styler — Dark Theme
   Kolorystyka dopasowana do wyjdzieszztorbami.pl
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
    --wzt-dark: #222429;
    --wzt-dark-card: #2d2f35;
    --wzt-dark-lighter: #363840;
    --wzt-dark-border: #3e4048;
    --wzt-accent: #E63946;
    --wzt-accent-hover: #c62833;
    --wzt-accent-light: rgba(230, 57, 70, 0.12);
    --wzt-teal: #29c4a9;
    --wzt-teal-light: rgba(41, 196, 169, 0.15);
    --wzt-orange: #ef8f61;
    --wzt-white: #ffffff;
    --wzt-text: #e8e8e8;
    --wzt-text-secondary: #b0b3ba;
    --wzt-text-muted: #7a7d85;
    --wzt-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --wzt-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --wzt-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
    --wzt-radius: 12px;
    --wzt-radius-sm: 8px;
    --wzt-radius-pill: 50px;
    --wzt-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --wzt-font: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wzt-container: 1200px;
}

/* --------------------------------------------------------------------------
   DARK PAGE BACKGROUND (scoped to #main-content only)
   -------------------------------------------------------------------------- */
.wzt-wc-styled #main-content {
    background-color: var(--wzt-dark) !important;
}

.wzt-wc-styled #main-content #content-area,
.wzt-wc-styled #main-content .entry-content,
.wzt-wc-styled #main-content #left-area,
.wzt-wc-styled #main-content .container {
    background-color: var(--wzt-dark) !important;
}

.wzt-wc-styled #main-content .et_pb_section {
    background-color: var(--wzt-dark) !important;
}

/* --------------------------------------------------------------------------
   GLOBAL RESETS & BASE
   -------------------------------------------------------------------------- */
.wzt-wc-styled .woocommerce {
    font-family: var(--wzt-font);
    color: var(--wzt-text);
}

.wzt-wc-styled .woocommerce h1,
.wzt-wc-styled .woocommerce h2,
.wzt-wc-styled .woocommerce h3,
.wzt-wc-styled .woocommerce h4 {
    color: var(--wzt-white);
}

.wzt-wc-styled .woocommerce a {
    color: var(--wzt-accent);
}

.wzt-wc-styled .woocommerce a:hover {
    color: var(--wzt-accent-hover);
}

.wzt-wc-styled .woocommerce .page-title,
.wzt-wc-styled #main-content .entry-title,
.wzt-wc-styled #main-content h1.page-title,
.wzt-wc-styled .woocommerce-products-header__title,
.wzt-wc-styled #main-content #left-area h1,
.wzt-wc-styled #main-content .et_pb_text h1 {
    color: var(--wzt-white) !important;
}

/* Notices */
.wzt-wc-styled .woocommerce .woocommerce-error,
.wzt-wc-styled .woocommerce .woocommerce-info,
.wzt-wc-styled .woocommerce .woocommerce-message {
    border-top: 3px solid var(--wzt-accent);
    background: var(--wzt-dark-lighter);
    border: 1px solid var(--wzt-dark-border);
    border-top: 3px solid var(--wzt-accent);
    border-radius: var(--wzt-radius-sm);
    padding: 16px 20px;
    box-shadow: var(--wzt-shadow-md);
    margin-bottom: 24px;
    color: var(--wzt-text);
}

.wzt-wc-styled .woocommerce .woocommerce-info {
    border-top-color: var(--wzt-teal);
}

.wzt-wc-styled .woocommerce .woocommerce-error {
    border-top-color: var(--wzt-accent);
}

.wzt-wc-styled .woocommerce .woocommerce-message .button,
.wzt-wc-styled .woocommerce .woocommerce-info .button,
.wzt-wc-styled .woocommerce .woocommerce-error .button {
    background: var(--wzt-accent);
    color: #fff;
    border: none;
    border-radius: var(--wzt-radius-sm);
    padding: 8px 18px;
    font-weight: 600;
    transition: background var(--wzt-transition);
}

.wzt-wc-styled .woocommerce .woocommerce-message .button:hover,
.wzt-wc-styled .woocommerce .woocommerce-info .button:hover {
    background: var(--wzt-accent-hover);
}

/* --------------------------------------------------------------------------
   BREADCRUMBS
   -------------------------------------------------------------------------- */
.wzt-wc-styled .wzt-breadcrumb,
.wzt-wc-styled .woocommerce-breadcrumb {
    padding: 16px 0 !important;
    font-size: 13px !important;
    color: var(--wzt-text-muted) !important;
    margin-bottom: 8px;
}

.wzt-wc-styled .wzt-breadcrumb a,
.wzt-wc-styled .woocommerce-breadcrumb a {
    color: var(--wzt-text-secondary) !important;
    text-decoration: none !important;
    transition: color var(--wzt-transition);
}

.wzt-wc-styled .wzt-breadcrumb a:hover,
.wzt-wc-styled .woocommerce-breadcrumb a:hover {
    color: var(--wzt-accent) !important;
}

.wzt-wc-styled .wzt-breadcrumb-sep {
    margin: 0 8px;
    color: var(--wzt-text-muted);
}

/* --------------------------------------------------------------------------
   SHOP PAGE HEADER
   -------------------------------------------------------------------------- */
.wzt-wc-styled .wzt-shop-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   CATEGORY TABS
   -------------------------------------------------------------------------- */
.wzt-wc-styled .wzt-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 8px 0;
}

.wzt-wc-styled .wzt-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--wzt-radius-pill);
    background: transparent;
    border: 1px solid var(--wzt-dark-border);
    color: var(--wzt-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--wzt-transition);
    white-space: nowrap;
}

.wzt-wc-styled .wzt-cat-tab:hover {
    border-color: var(--wzt-accent);
    color: var(--wzt-accent);
    background: var(--wzt-accent-light);
}

.wzt-wc-styled .wzt-cat-tab.active {
    background: var(--wzt-accent);
    border-color: var(--wzt-accent);
    color: #fff;
}

.wzt-wc-styled .wzt-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.wzt-wc-styled .wzt-cat-tab.active .wzt-cat-count {
    background: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   SHOP TOOLBAR (search + result count + sorting)
   -------------------------------------------------------------------------- */
.wzt-wc-styled .wzt-shop-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Product Search */
.wzt-wc-styled .wzt-product-search {
    position: relative;
    flex: 0 1 260px;
}

.wzt-wc-styled .wzt-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wzt-text-muted);
    pointer-events: none;
}

.wzt-wc-styled .wzt-search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    background: var(--wzt-dark-card);
    border: 1px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    color: var(--wzt-text);
    font-size: 13px;
    font-family: var(--wzt-font);
    transition: all var(--wzt-transition);
    box-sizing: border-box;
}

.wzt-wc-styled .wzt-search-input::placeholder {
    color: var(--wzt-text-muted);
}

.wzt-wc-styled .wzt-search-input:focus {
    border-color: var(--wzt-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

/* Result Count */
.wzt-wc-styled .woocommerce-result-count {
    flex: 1;
    text-align: center;
    color: var(--wzt-text-secondary);
    font-size: 13px;
    margin: 0;
    padding: 0;
}

/* Sorting Dropdown */
.wzt-wc-styled .woocommerce-ordering {
    margin: 0;
}

.wzt-wc-styled .woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--wzt-dark-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b0b3ba' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    padding: 10px 40px 10px 16px;
    font-size: 13px;
    color: var(--wzt-text);
    cursor: pointer;
    transition: border-color var(--wzt-transition);
    font-family: var(--wzt-font);
}

.wzt-wc-styled .woocommerce-ordering select:focus {
    border-color: var(--wzt-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

/* --------------------------------------------------------------------------
   PRODUCT GRID
   -------------------------------------------------------------------------- */
.wzt-wc-styled ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wzt-wc-styled ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --------------------------------------------------------------------------
   PRODUCT CARD (Dark)
   -------------------------------------------------------------------------- */
.wzt-wc-styled .wzt-product-card {
    background: var(--wzt-dark-card);
    border-radius: var(--wzt-radius);
    overflow: hidden;
    box-shadow: var(--wzt-shadow-sm);
    transition: all var(--wzt-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent;
}

.wzt-wc-styled .wzt-product-card:hover {
    box-shadow: var(--wzt-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--wzt-dark-border);
}

/* Product Image */
.wzt-wc-styled .wzt-product-image-wrap {
    position: relative;
    overflow: hidden;
    background: var(--wzt-dark-lighter);
    aspect-ratio: 1 / 1;
}

.wzt-wc-styled .wzt-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wzt-wc-styled .wzt-product-card:hover .wzt-product-image-wrap img {
    transform: scale(1.06);
}

/* Category Badge — text under image */
.wzt-wc-styled .wzt-category-badge {
    display: block;
    color: var(--wzt-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

/* Sale Flash on image */
.wzt-wc-styled .wzt-sale-flash {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--wzt-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--wzt-radius-pill);
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.wzt-wc-styled .wzt-product-image-wrap .onsale,
.wzt-wc-styled span.onsale {
    display: none !important;
}

/* Product Info */
.wzt-wc-styled .wzt-product-info {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.wzt-wc-styled .wzt-product-info .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--wzt-accent);
    line-height: 1.4;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wzt-wc-styled .wzt-product-info .price {
    font-size: 17px;
    font-weight: 700;
    color: var(--wzt-white);
    margin: 4px 0;
}

.wzt-wc-styled .wzt-product-info .price del {
    color: var(--wzt-text-muted);
    font-weight: 400;
    font-size: 14px;
}

.wzt-wc-styled .wzt-product-info .price ins {
    text-decoration: none;
    color: var(--wzt-accent);
}

.wzt-wc-styled .wzt-product-info .price .woocommerce-Price-amount {
    color: var(--wzt-white);
}

/* Stock Badge */
.wzt-wc-styled .wzt-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 0;
}

.wzt-wc-styled .wzt-stock-badge.in-stock {
    color: var(--wzt-teal);
}

.wzt-wc-styled .wzt-stock-badge.in-stock::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wzt-teal);
}

.wzt-wc-styled .wzt-stock-badge.out-of-stock {
    color: var(--wzt-accent);
}

.wzt-wc-styled .wzt-stock-badge.out-of-stock::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wzt-accent);
}

/* Add to Cart / View Product Button */
.wzt-wc-styled ul.products li.product .button,
.wzt-wc-styled ul.products li.product a.add_to_cart_button,
.wzt-wc-styled ul.products li.product a.product_type_variable,
.wzt-wc-styled ul.products li.product a.product_type_simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    background: var(--wzt-accent);
    color: #fff !important;
    border: none;
    border-radius: var(--wzt-radius-sm);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: all var(--wzt-transition);
    margin-top: auto;
    text-decoration: none;
    font-family: var(--wzt-font);
    line-height: 1.4;
    box-sizing: border-box;
}

.wzt-wc-styled ul.products li.product .button:hover,
.wzt-wc-styled ul.products li.product a.add_to_cart_button:hover,
.wzt-wc-styled ul.products li.product a.product_type_variable:hover,
.wzt-wc-styled ul.products li.product a.product_type_simple:hover {
    background: var(--wzt-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
}

.wzt-wc-styled ul.products li.product .button::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.wzt-wc-styled ul.products li.product .button.loading::after {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
}

.wzt-wc-styled ul.products li.product .added_to_cart {
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    color: var(--wzt-teal);
    font-weight: 600;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   PAGINATION
   -------------------------------------------------------------------------- */
.wzt-wc-styled .woocommerce-pagination {
    margin-top: 48px;
    text-align: center;
}

.wzt-wc-styled .woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    gap: 6px;
    border: none;
    padding: 0;
    margin: 0;
}

.wzt-wc-styled .woocommerce-pagination ul.page-numbers li {
    border: none;
    padding: 0;
    margin: 0;
}

.wzt-wc-styled .woocommerce-pagination ul.page-numbers li a,
.wzt-wc-styled .woocommerce-pagination ul.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--wzt-radius-sm);
    border: 1px solid var(--wzt-dark-border);
    background: var(--wzt-dark-card);
    color: var(--wzt-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--wzt-transition);
}

.wzt-wc-styled .woocommerce-pagination ul.page-numbers li a:hover {
    border-color: var(--wzt-accent);
    color: var(--wzt-accent);
}

.wzt-wc-styled .woocommerce-pagination ul.page-numbers li span.current {
    background: var(--wzt-accent);
    border-color: var(--wzt-accent);
    color: #fff;
}

/* --------------------------------------------------------------------------
   SINGLE PRODUCT PAGE
   -------------------------------------------------------------------------- */
.wzt-wc-styled .wzt-single-product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: var(--wzt-container);
    margin: 0 auto;
}

/* Product Gallery */
.wzt-wc-styled .woocommerce-product-gallery {
    border-radius: var(--wzt-radius);
    overflow: hidden;
    background: var(--wzt-dark-card);
}

.wzt-wc-styled .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    border-radius: var(--wzt-radius);
}

.wzt-wc-styled .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    list-style: none;
}

.wzt-wc-styled .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: var(--wzt-radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--wzt-transition);
}

.wzt-wc-styled .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wzt-wc-styled .woocommerce-product-gallery .flex-control-thumbs li.flex-active {
    border-color: var(--wzt-accent);
}

/* Product Summary */
.wzt-wc-styled div.product .product_title {
    font-size: 28px;
    font-weight: 700;
    color: var(--wzt-white);
    line-height: 1.3;
    margin-bottom: 8px;
}

.wzt-wc-styled .wzt-product-meta-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.wzt-wc-styled .wzt-sale-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--wzt-accent);
    color: #fff;
    border-radius: var(--wzt-radius-pill);
    font-size: 12px;
    font-weight: 700;
}

.wzt-wc-styled .wzt-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--wzt-radius-pill);
}

.wzt-wc-styled .wzt-availability.in-stock {
    background: var(--wzt-teal-light);
    color: var(--wzt-teal);
}

.wzt-wc-styled .wzt-availability.in-stock::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wzt-teal);
}

.wzt-wc-styled .wzt-availability.out-of-stock {
    background: var(--wzt-accent-light);
    color: var(--wzt-accent);
}

.wzt-wc-styled div.product p.price,
.wzt-wc-styled div.product span.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--wzt-white);
    margin: 16px 0;
}

.wzt-wc-styled div.product p.price del {
    color: var(--wzt-text-muted);
    font-weight: 400;
    font-size: 20px;
}

.wzt-wc-styled div.product p.price ins {
    text-decoration: none;
    color: var(--wzt-accent);
}

.wzt-wc-styled div.product .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--wzt-text-secondary);
    margin-bottom: 24px;
}

.wzt-wc-styled div.product .woocommerce-product-details__short-description ul {
    padding-left: 20px;
    margin: 12px 0;
}

.wzt-wc-styled div.product .woocommerce-product-details__short-description li {
    margin-bottom: 6px;
}

/* Quantity & Add to Cart */
.wzt-wc-styled div.product form.cart {
    display: flex !important;
    align-items: stretch !important;
    gap: 12px;
    margin: 24px 0;
}

.wzt-wc-styled div.product form.cart .quantity {
    display: flex !important;
    align-items: stretch;
    border: 2px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    overflow: hidden;
    background: var(--wzt-dark-card);
    transition: border-color var(--wzt-transition);
    height: auto;
    float: none !important;
}

.wzt-wc-styled div.product form.cart .quantity:focus-within {
    border-color: var(--wzt-accent);
}

.wzt-wc-styled div.product form.cart .quantity .qty {
    width: 50px;
    text-align: center;
    border: none !important;
    background: transparent !important;
    font-size: 16px;
    font-weight: 600;
    color: var(--wzt-white);
    padding: 10px 4px;
    font-family: var(--wzt-font);
    -moz-appearance: textfield;
    margin: 0;
    height: auto !important;
    min-height: auto !important;
}

.wzt-wc-styled div.product form.cart .quantity .qty::-webkit-inner-spin-button,
.wzt-wc-styled div.product form.cart .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wzt-wc-styled div.product form.cart button.single_add_to_cart_button {
    flex: 1;
    background: var(--wzt-accent);
    color: #fff;
    border: none;
    border-radius: var(--wzt-radius-sm);
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--wzt-transition);
    font-family: var(--wzt-font);
    text-transform: none;
    letter-spacing: 0;
}

.wzt-wc-styled div.product form.cart button.single_add_to_cart_button:hover {
    background: var(--wzt-accent-hover);
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
    transform: translateY(-1px);
}

/* Variations */
.wzt-wc-styled div.product .variations {
    border: none;
    margin-bottom: 16px;
}

.wzt-wc-styled div.product .variations td,
.wzt-wc-styled div.product .variations th {
    border: none;
    padding: 8px 0;
    vertical-align: middle;
}

.wzt-wc-styled div.product .variations .label label {
    font-size: 14px;
    font-weight: 600;
    color: var(--wzt-text);
}

.wzt-wc-styled div.product .variations select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    font-size: 14px;
    color: var(--wzt-text);
    background: var(--wzt-dark-card);
    transition: border-color var(--wzt-transition);
    font-family: var(--wzt-font);
}

.wzt-wc-styled div.product .variations select:focus {
    border-color: var(--wzt-accent);
    outline: none;
}

.wzt-wc-styled div.product .reset_variations {
    color: var(--wzt-text-muted);
    font-size: 13px;
}

/* Product Meta */
.wzt-wc-styled div.product .product_meta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--wzt-dark-border);
    font-size: 13px;
    color: var(--wzt-text-secondary);
    line-height: 2;
}

.wzt-wc-styled div.product .product_meta > span {
    display: block;
}

.wzt-wc-styled div.product .product_meta a {
    color: var(--wzt-accent);
    text-decoration: none;
    transition: color var(--wzt-transition);
}

.wzt-wc-styled div.product .product_meta a:hover {
    color: var(--wzt-accent-hover);
}

/* --------------------------------------------------------------------------
   PRODUCT TABS
   -------------------------------------------------------------------------- */
.wzt-wc-styled div.product .woocommerce-tabs,
.wzt-wc-styled .et_pb_wc_tabs,
.wzt-wc-styled .et_pb_wc_tabs .et_pb_module_inner,
.wzt-wc-styled .woocommerce-tabs {
    background: var(--wzt-dark-card) !important;
    border-radius: var(--wzt-radius) !important;
    padding: 0 24px 24px !important;
    border: 1px solid var(--wzt-dark-border) !important;
    margin-top: 48px;
    grid-column: 1 / -1;
    box-shadow: none !important;
}

.wzt-wc-styled div.product .woocommerce-tabs ul.tabs,
.wzt-wc-styled .et_pb_wc_tabs ul.tabs,
.wzt-wc-styled .woocommerce-tabs ul.wc-tabs {
    display: flex !important;
    gap: 0 !important;
    list-style: none !important;
    padding: 16px 0 0 !important;
    margin: 0 0 0 !important;
    border-bottom: 2px solid var(--wzt-dark-border) !important;
    overflow: visible !important;
    background: none !important;
}

.wzt-wc-styled div.product .woocommerce-tabs ul.tabs::before,
.wzt-wc-styled .et_pb_wc_tabs ul.tabs::before,
.wzt-wc-styled .woocommerce-tabs ul.wc-tabs::before {
    display: none !important;
}

.wzt-wc-styled div.product .woocommerce-tabs ul.tabs li,
.wzt-wc-styled .et_pb_wc_tabs ul.tabs li,
.wzt-wc-styled .woocommerce-tabs ul.wc-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
}

.wzt-wc-styled div.product .woocommerce-tabs ul.tabs li::before,
.wzt-wc-styled div.product .woocommerce-tabs ul.tabs li::after,
.wzt-wc-styled .et_pb_wc_tabs ul.tabs li::before,
.wzt-wc-styled .et_pb_wc_tabs ul.tabs li::after {
    display: none !important;
}

.wzt-wc-styled div.product .woocommerce-tabs ul.tabs li a,
.wzt-wc-styled .et_pb_wc_tabs ul.tabs li a,
.wzt-wc-styled .woocommerce-tabs ul.wc-tabs li a {
    display: block !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--wzt-text-secondary) !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important;
    transition: all var(--wzt-transition) !important;
    background: none !important;
}

.wzt-wc-styled div.product .woocommerce-tabs ul.tabs li.active a,
.wzt-wc-styled div.product .woocommerce-tabs ul.tabs li a:hover,
.wzt-wc-styled .et_pb_wc_tabs ul.tabs li.active a,
.wzt-wc-styled .et_pb_wc_tabs ul.tabs li a:hover {
    color: var(--wzt-accent) !important;
    border-bottom-color: var(--wzt-accent) !important;
}

.wzt-wc-styled div.product .woocommerce-tabs .panel,
.wzt-wc-styled .woocommerce-Tabs-panel,
.wzt-wc-styled .et_pb_wc_tabs .woocommerce-Tabs-panel,
.wzt-wc-styled .woocommerce-Tabs-panel--description,
.wzt-wc-styled .woocommerce-Tabs-panel--reviews,
.wzt-wc-styled .woocommerce-Tabs-panel--additional_information,
.wzt-wc-styled #tab-description,
.wzt-wc-styled #tab-reviews,
.wzt-wc-styled #tab-additional_information {
    padding: 24px 0 !important;
    color: var(--wzt-text-secondary) !important;
    background: transparent !important;
}

.wzt-wc-styled div.product .woocommerce-tabs .panel h2,
.wzt-wc-styled .woocommerce-Tabs-panel h2,
.wzt-wc-styled #tab-description h2,
.wzt-wc-styled #tab-reviews h2,
.wzt-wc-styled #tab-additional_information h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    color: var(--wzt-white) !important;
}

.wzt-wc-styled div.product .woocommerce-tabs .panel p,
.wzt-wc-styled .woocommerce-Tabs-panel p,
.wzt-wc-styled .et_pb_wc_tabs .woocommerce-Tabs-panel p,
.wzt-wc-styled #tab-description p,
.wzt-wc-styled #tab-description,
.wzt-wc-styled #tab-reviews p {
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled div.product .woocommerce-tabs .panel ul,
.wzt-wc-styled div.product .woocommerce-tabs .panel ol,
.wzt-wc-styled div.product .woocommerce-tabs .panel li,
.wzt-wc-styled .woocommerce-Tabs-panel ul,
.wzt-wc-styled .woocommerce-Tabs-panel ol,
.wzt-wc-styled .woocommerce-Tabs-panel li {
    color: var(--wzt-text-secondary) !important;
}

/* Reviews */
.wzt-wc-styled .woocommerce-Reviews #comments {
    margin-bottom: 32px;
}

.wzt-wc-styled .woocommerce-Reviews .comment-text {
    border: 1px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    padding: 20px;
    margin-bottom: 16px;
    background: var(--wzt-dark-card);
}

.wzt-wc-styled .woocommerce-Reviews .star-rating {
    color: var(--wzt-orange);
}

.wzt-wc-styled .woocommerce-Reviews #review_form .comment-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--wzt-text);
}

.wzt-wc-styled .woocommerce-Reviews #review_form input[type="text"],
.wzt-wc-styled .woocommerce-Reviews #review_form input[type="email"],
.wzt-wc-styled .woocommerce-Reviews #review_form textarea {
    border: 2px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    padding: 10px 14px;
    font-family: var(--wzt-font);
    transition: border-color var(--wzt-transition);
    background: var(--wzt-dark-card);
    color: var(--wzt-text);
}

.wzt-wc-styled .woocommerce-Reviews #review_form input:focus,
.wzt-wc-styled .woocommerce-Reviews #review_form textarea:focus {
    border-color: var(--wzt-accent);
    outline: none;
}

.wzt-wc-styled .woocommerce-Reviews #review_form .form-submit input[type="submit"] {
    background: var(--wzt-accent);
    color: #fff;
    border: none;
    border-radius: var(--wzt-radius-sm);
    padding: 12px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--wzt-transition);
    font-family: var(--wzt-font);
}

.wzt-wc-styled .woocommerce-Reviews #review_form .form-submit input[type="submit"]:hover {
    background: var(--wzt-accent-hover);
}

/* Related Products */
.wzt-wc-styled .related.products,
.wzt-wc-styled .upsells.products {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--wzt-dark-border);
}

.wzt-wc-styled .related.products > h2,
.wzt-wc-styled .upsells.products > h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--wzt-white);
}

/* --------------------------------------------------------------------------
   CART PAGE — Modern card layout
   -------------------------------------------------------------------------- */

/* Wider container on cart & checkout pages (scoped to #main-content) */
.wzt-wc-styled.woocommerce-cart #main-content #content-area,
.wzt-wc-styled.woocommerce-cart #main-content #left-area,
.wzt-wc-styled.woocommerce-cart #main-content .et_pb_row,
.wzt-wc-styled.woocommerce-cart #main-content .et_pb_column,
.wzt-wc-styled.woocommerce-cart #main-content .et_pb_module,
.wzt-wc-styled.woocommerce-cart #main-content .et_pb_text_inner,
.wzt-wc-styled.woocommerce-checkout #main-content #content-area,
.wzt-wc-styled.woocommerce-checkout #main-content #left-area,
.wzt-wc-styled.woocommerce-checkout #main-content .et_pb_row,
.wzt-wc-styled.woocommerce-checkout #main-content .et_pb_column,
.wzt-wc-styled.woocommerce-checkout #main-content .et_pb_module {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wzt-wc-styled.woocommerce-cart #main-content > .container,
.wzt-wc-styled.woocommerce-checkout #main-content > .container {
    max-width: 1200px !important;
    width: 92% !important;
    margin: 0 auto !important;
}

/* Two-column layout via JS wrapper */
.wzt-cart-layout {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto !important;
}

.wzt-cart-layout .woocommerce-cart-form {
    grid-column: 1;
    margin-bottom: 0 !important;
    min-width: 0;
}

.wzt-cart-layout .cart-collaterals {
    grid-column: 2;
    min-width: 0;
}

/* Cart table → card style */
.wzt-wc-styled table.shop_table.cart,
.wzt-wc-styled .woocommerce table.shop_table.cart {
    display: block !important;
    border: none !important;
    border-radius: var(--wzt-radius) !important;
    background: var(--wzt-dark-card) !important;
    padding: 24px !important;
    box-shadow: var(--wzt-shadow-sm);
    border-collapse: separate !important;
}

.wzt-wc-styled table.shop_table.cart thead {
    display: block !important;
    border-bottom: 1px solid var(--wzt-dark-border) !important;
    padding-bottom: 12px;
    margin-bottom: 8px;
    background: transparent !important;
}

.wzt-wc-styled table.shop_table.cart thead tr {
    display: flex !important;
    justify-content: space-between;
}

.wzt-wc-styled table.shop_table.cart thead th {
    border: none !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--wzt-text-muted) !important;
    background: transparent !important;
}

.wzt-wc-styled table.shop_table.cart thead th.product-remove,
.wzt-wc-styled table.shop_table.cart thead th.product-thumbnail,
.wzt-wc-styled table.shop_table.cart thead th.product-price,
.wzt-wc-styled table.shop_table.cart thead th.product-quantity {
    display: none !important;
}

.wzt-wc-styled table.shop_table.cart tbody {
    display: block !important;
}

.wzt-wc-styled table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item {
    display: grid !important;
    grid-template-columns: 80px 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 2px 16px;
    padding: 20px 0 !important;
    border-bottom: 1px solid var(--wzt-dark-border) !important;
    align-items: center;
}

.wzt-wc-styled table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item:last-of-type {
    border-bottom: none !important;
}

/* Thumbnail */
.wzt-wc-styled table.shop_table.cart .product-thumbnail {
    grid-row: 1 / 4;
    grid-column: 1;
    padding: 0 !important;
    border: none !important;
}

.wzt-wc-styled table.shop_table.cart .product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: var(--wzt-radius-sm);
    display: block;
}

/* Product name */
.wzt-wc-styled table.shop_table.cart .product-name {
    grid-row: 1;
    grid-column: 2;
    padding: 0 !important;
    border: none !important;
    font-size: 15px !important;
    color: var(--wzt-white) !important;
}

.wzt-wc-styled .wzt-cart-product-name {
    color: var(--wzt-white) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 15px;
    transition: color var(--wzt-transition);
}

.wzt-wc-styled .wzt-cart-product-name:hover {
    color: var(--wzt-accent) !important;
}

/* Price under name */
.wzt-wc-styled table.shop_table.cart .product-price {
    grid-row: 2;
    grid-column: 2;
    padding: 0 !important;
    border: none !important;
    font-size: 13px !important;
    color: var(--wzt-text-muted) !important;
}

/* Subtotal in top-right */
.wzt-wc-styled table.shop_table.cart .product-subtotal {
    grid-row: 1;
    grid-column: 3;
    padding: 0 !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--wzt-accent) !important;
    text-align: right;
}

.wzt-wc-styled table.shop_table.cart .product-subtotal .woocommerce-Price-amount {
    color: var(--wzt-accent) !important;
}

/* Quantity row */
.wzt-wc-styled table.shop_table.cart .product-quantity {
    grid-row: 3;
    grid-column: 2;
    padding: 4px 0 0 !important;
    border: none !important;
}

.wzt-wc-styled table.shop_table.cart .product-quantity .quantity,
.wzt-wc-styled table.shop_table.cart .product-quantity .quantity.wzt-qty-ready {
    display: inline-flex !important;
    align-items: stretch !important;
    border: 1px solid var(--wzt-dark-border) !important;
    border-radius: var(--wzt-radius-pill) !important;
    overflow: hidden !important;
    background: var(--wzt-dark) !important;
    height: auto !important;
}

.wzt-wc-styled table.shop_table.cart .product-quantity .qty {
    width: 36px !important;
    min-width: 36px !important;
    text-align: center !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 6px 2px !important;
    font-family: var(--wzt-font) !important;
    -moz-appearance: textfield !important;
    color: var(--wzt-white) !important;
    background: transparent !important;
    margin: 0 !important;
    height: auto !important;
}

.wzt-wc-styled table.shop_table.cart .product-quantity .qty::-webkit-inner-spin-button,
.wzt-wc-styled table.shop_table.cart .product-quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.wzt-wc-styled table.shop_table.cart .wzt-qty-btn {
    width: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border: none !important;
    background: transparent !important;
    color: var(--wzt-text-secondary) !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: all var(--wzt-transition);
}

.wzt-wc-styled table.shop_table.cart .wzt-qty-btn:hover {
    color: var(--wzt-accent) !important;
}

/* Remove button */
.wzt-wc-styled table.shop_table.cart .product-remove {
    grid-row: 3;
    grid-column: 3;
    padding: 0 !important;
    border: none !important;
    text-align: right;
}

.wzt-wc-styled table.shop_table.cart .product-remove a {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    color: var(--wzt-text-muted) !important;
    font-size: 0 !important;
    text-decoration: none !important;
    transition: color var(--wzt-transition);
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
}

.wzt-wc-styled table.shop_table.cart .product-remove a::after {
    content: 'Usuń';
    font-size: 13px;
    font-weight: 500;
}

.wzt-wc-styled table.shop_table.cart .product-remove a:hover {
    color: var(--wzt-accent) !important;
    background: none !important;
}

/* Actions row — hide coupon (it's in totals), keep update button */
.wzt-wc-styled table.shop_table.cart tbody tr td.actions {
    display: none !important;
}

/* --------------------------------------------------------------------------
   CART TOTALS — full height single-column card
   -------------------------------------------------------------------------- */
.wzt-wc-styled .cart-collaterals {
    background: var(--wzt-dark-card) !important;
    border-radius: var(--wzt-radius) !important;
    box-shadow: var(--wzt-shadow-sm) !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
}

.wzt-wc-styled .cart-collaterals .cross-sells {
    display: none !important;
}

.wzt-wc-styled .cart_totals,
.wzt-wc-styled .cart-collaterals .cart_totals {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
}

.wzt-wc-styled .cart_totals > h2,
.wzt-wc-styled .cart-collaterals h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    color: var(--wzt-white) !important;
}

.wzt-wc-styled .cart_totals table {
    border: none !important;
    background: transparent !important;
    width: 100% !important;
}

.wzt-wc-styled .cart_totals table th,
.wzt-wc-styled .cart_totals table td {
    padding: 16px 0 !important;
    font-size: 14px !important;
    color: var(--wzt-text) !important;
    background: transparent !important;
    vertical-align: top !important;
    border-bottom: 1px solid var(--wzt-dark-border) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.wzt-wc-styled .cart_totals table th {
    font-weight: 600 !important;
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled .cart_totals table .order-total th,
.wzt-wc-styled .cart_totals table .order-total td {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--wzt-white) !important;
    padding-top: 20px !important;
    border-bottom: none !important;
    border-top: none !important;
}

.wzt-wc-styled .cart_totals table .order-total .woocommerce-Price-amount {
    color: var(--wzt-accent) !important;
    font-size: 22px !important;
}

/* Coupon toggle in totals */
.wzt-coupon-section {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--wzt-dark-border);
    padding-bottom: 16px;
}

.wzt-coupon-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 12px 0;
    color: var(--wzt-text);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--wzt-font);
    cursor: pointer;
    transition: color var(--wzt-transition);
}

.wzt-coupon-toggle:hover {
    color: var(--wzt-accent);
}

.wzt-coupon-chevron {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--wzt-text-muted);
}

.wzt-coupon-toggle.open .wzt-coupon-chevron {
    transform: rotate(180deg);
}

.wzt-coupon-form {
    display: flex;
    gap: 8px;
    padding: 4px 0 8px;
}

.wzt-coupon-input {
    flex: 1;
    border: 1px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    font-family: var(--wzt-font);
    background: var(--wzt-dark);
    color: var(--wzt-text);
    transition: border-color var(--wzt-transition);
}

.wzt-coupon-input:focus {
    border-color: var(--wzt-accent);
    outline: none;
}

.wzt-coupon-input::placeholder {
    color: var(--wzt-text-muted);
}

.wzt-coupon-apply {
    background: var(--wzt-accent);
    color: #fff;
    border: none;
    border-radius: var(--wzt-radius-sm);
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--wzt-font);
    cursor: pointer;
    transition: background var(--wzt-transition);
    white-space: nowrap;
}

.wzt-coupon-apply:hover {
    background: var(--wzt-accent-hover);
}

.wzt-wc-styled .cart_totals .wc-proceed-to-checkout a.checkout-button,
.wzt-wc-styled .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--wzt-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 16px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all var(--wzt-transition) !important;
    margin-top: 20px !important;
    font-family: var(--wzt-font) !important;
    white-space: nowrap !important;
}

.wzt-wc-styled .cart_totals .wc-proceed-to-checkout a.checkout-button:hover,
.wzt-wc-styled .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--wzt-accent-hover) !important;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35) !important;
    transform: translateY(-1px);
}

.wzt-wc-styled .cart_totals .shipping td,
.wzt-wc-styled .cart_totals .woocommerce-shipping-totals td {
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled .cart_totals a,
.wzt-wc-styled .cart-collaterals a {
    color: var(--wzt-accent) !important;
}

.wzt-wc-styled .cart_totals .shipping p {
    color: var(--wzt-text-muted) !important;
    font-size: 13px;
}

/* Non-cart shop_table (checkout order review, etc.) */
.wzt-wc-styled table.shop_table:not(.cart) {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: var(--wzt-dark-card) !important;
}

.wzt-wc-styled table.shop_table:not(.cart) thead {
    background: var(--wzt-dark-lighter) !important;
}

.wzt-wc-styled table.shop_table:not(.cart) thead th {
    color: var(--wzt-text-secondary) !important;
    border: none !important;
    padding: 14px 16px !important;
}

.wzt-wc-styled table.shop_table:not(.cart) tbody td {
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--wzt-dark-border) !important;
    color: var(--wzt-text) !important;
}

/* Cart responsive */
@media (max-width: 991px) {
    .wzt-cart-layout {
        grid-template-columns: 1fr !important;
    }
    .wzt-cart-layout .cart-collaterals {
        grid-column: 1 !important;
        position: static !important;
    }
}

/* Cross-sells */
.wzt-wc-styled .cross-sells {
    margin-top: 48px;
}

.wzt-wc-styled .cross-sells > h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--wzt-white);
}

/* Empty Cart */
.wzt-wc-styled .cart-empty {
    text-align: center;
    padding: 48px 20px;
    font-size: 16px;
    color: var(--wzt-text-secondary);
}

.wzt-wc-styled .return-to-shop a {
    display: inline-block;
    background: var(--wzt-accent);
    color: #fff;
    border-radius: var(--wzt-radius-sm);
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--wzt-transition);
}

.wzt-wc-styled .return-to-shop a:hover {
    background: var(--wzt-accent-hover);
}

/* --------------------------------------------------------------------------
   CHECKOUT PAGE
   -------------------------------------------------------------------------- */

/* Wider container for checkout (scoped to #main-content) */
.wzt-wc-styled.woocommerce-checkout #main-content #content-area,
.wzt-wc-styled.woocommerce-checkout #main-content #left-area,
.wzt-wc-styled.woocommerce-checkout #main-content .et_pb_row,
.wzt-wc-styled.woocommerce-checkout #main-content .et_pb_column,
.wzt-wc-styled.woocommerce-checkout #main-content .et_pb_module,
.wzt-wc-styled.woocommerce-checkout #main-content .et_pb_text_inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wzt-wc-styled.woocommerce-checkout #main-content > .container {
    max-width: 1200px !important;
    width: 92% !important;
    margin: 0 auto !important;
}

.wzt-wc-styled .wzt-checkout-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* Two-column layout via JS wrapper */
.wzt-checkout-layout {
    display: grid !important;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto !important;
}

.wzt-checkout-left {
    min-width: 0;
}

.wzt-checkout-right {
    min-width: 0;
    position: sticky;
    top: 100px;
}

/* Coupon notice */
.wzt-wc-styled .woocommerce-form-coupon-toggle {
    max-width: 1100px;
    margin: 0 auto 24px !important;
}

/* Reset Divi grid inside checkout form */
.wzt-wc-styled form.checkout {
    display: block !important;
}

.wzt-wc-styled form.checkout #customer_details {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.wzt-wc-styled form.checkout #customer_details .col-1,
.wzt-wc-styled form.checkout #customer_details .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

/* Checkout Headings */
.wzt-wc-styled form.checkout h3,
.wzt-wc-styled #order_review_heading {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--wzt-accent) !important;
    color: var(--wzt-white) !important;
}

/* Form Fields */
.wzt-wc-styled .woocommerce form .form-row {
    margin-bottom: 16px;
}

.wzt-wc-styled .woocommerce form .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--wzt-text);
    margin-bottom: 6px;
}

.wzt-wc-styled .woocommerce form .form-row .required {
    color: var(--wzt-accent);
}

.wzt-wc-styled .woocommerce form .form-row input.input-text,
.wzt-wc-styled .woocommerce form .form-row textarea,
.wzt-wc-styled .woocommerce form .form-row select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    font-size: 14px;
    color: var(--wzt-text);
    background: var(--wzt-dark-card);
    transition: border-color var(--wzt-transition), box-shadow var(--wzt-transition);
    font-family: var(--wzt-font);
    box-sizing: border-box;
}

.wzt-wc-styled .woocommerce form .form-row input.input-text:focus,
.wzt-wc-styled .woocommerce form .form-row textarea:focus,
.wzt-wc-styled .woocommerce form .form-row select:focus {
    border-color: var(--wzt-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.wzt-wc-styled .woocommerce form .form-row input.input-text::placeholder {
    color: var(--wzt-text-muted);
}

.wzt-wc-styled .woocommerce form .form-row.woocommerce-invalid input.input-text {
    border-color: var(--wzt-accent);
}

.wzt-wc-styled .woocommerce form .form-row.woocommerce-validated input.input-text {
    border-color: var(--wzt-teal);
}

/* Billing/shipping name row side by side */
.wzt-wc-styled form.checkout .woocommerce-billing-fields__field-wrapper,
.wzt-wc-styled form.checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.wzt-wc-styled form.checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.wzt-wc-styled form.checkout .woocommerce-shipping-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

.wzt-wc-styled form.checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.wzt-wc-styled form.checkout .woocommerce-shipping-fields__field-wrapper .form-row-first {
    grid-column: 1;
}

.wzt-wc-styled form.checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
.wzt-wc-styled form.checkout .woocommerce-shipping-fields__field-wrapper .form-row-last {
    grid-column: 2;
}

/* Shipping address toggle */
.wzt-wc-styled .woocommerce-shipping-fields {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--wzt-dark-border);
}

.wzt-wc-styled .woocommerce-shipping-fields label {
    color: var(--wzt-text) !important;
    font-weight: 600 !important;
}

/* Additional fields (notes) */
.wzt-wc-styled .woocommerce-additional-fields {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--wzt-dark-border);
}

.wzt-wc-styled .woocommerce-additional-fields h3 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    font-size: 16px !important;
    margin-bottom: 12px !important;
}

/* Order Review Box */
.wzt-wc-styled #order_review {
    background: var(--wzt-dark-card);
    border-radius: var(--wzt-radius);
    box-shadow: var(--wzt-shadow-sm);
    padding: 24px;
    border: 1px solid var(--wzt-dark-border);
}

.wzt-wc-styled #order_review table.shop_table {
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
}

.wzt-wc-styled #order_review table.shop_table thead {
    background: transparent !important;
}

.wzt-wc-styled #order_review table.shop_table thead th {
    color: var(--wzt-text-secondary) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 8px 0 12px !important;
    border-bottom: 1px solid var(--wzt-dark-border) !important;
    border-top: none !important;
    background: transparent !important;
}

.wzt-wc-styled #order_review table.shop_table tbody td {
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--wzt-dark-border) !important;
    border-top: none !important;
    color: var(--wzt-text) !important;
    background: transparent !important;
}

.wzt-wc-styled #order_review table.shop_table tfoot th,
.wzt-wc-styled #order_review table.shop_table tfoot td {
    border: none !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
    color: var(--wzt-text) !important;
    background: transparent !important;
}

.wzt-wc-styled #order_review table.shop_table tfoot .order-total th,
.wzt-wc-styled #order_review table.shop_table tfoot .order-total td {
    font-size: 20px !important;
    font-weight: 700 !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--wzt-dark-border) !important;
    color: var(--wzt-white) !important;
}

.wzt-wc-styled #order_review table.shop_table tfoot .order-total .woocommerce-Price-amount {
    color: var(--wzt-accent) !important;
}

/* Payment Methods */
.wzt-wc-styled #payment {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.wzt-wc-styled #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 16px 0 20px !important;
    border: none !important;
}

.wzt-wc-styled #payment ul.payment_methods li {
    margin-bottom: 8px !important;
    border: 1px solid var(--wzt-dark-border) !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 16px !important;
    transition: border-color var(--wzt-transition);
    background: var(--wzt-dark) !important;
}

.wzt-wc-styled #payment ul.payment_methods li:has(input:checked) {
    border-color: var(--wzt-accent) !important;
}

.wzt-wc-styled #payment ul.payment_methods li label {
    font-weight: 600 !important;
    color: var(--wzt-text) !important;
    cursor: pointer;
}

.wzt-wc-styled #payment ul.payment_methods li .payment_box {
    margin-top: 12px !important;
    padding: 12px 16px !important;
    background: var(--wzt-dark-card) !important;
    border-radius: var(--wzt-radius-sm) !important;
    font-size: 13px !important;
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled #payment ul.payment_methods li .payment_box::before {
    border-bottom-color: var(--wzt-dark-card) !important;
}

/* Privacy text */
.wzt-wc-styled .woocommerce-privacy-policy-text p {
    color: var(--wzt-text-muted) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.wzt-wc-styled .woocommerce-privacy-policy-text a {
    color: var(--wzt-accent) !important;
}

.wzt-wc-styled #payment #place_order {
    display: block !important;
    width: 100% !important;
    background: var(--wzt-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 16px 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all var(--wzt-transition) !important;
    font-family: var(--wzt-font) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 16px !important;
    box-sizing: border-box !important;
}

.wzt-wc-styled #payment #place_order:hover {
    background: var(--wzt-accent-hover) !important;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35) !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   INVOICE FIELDS
   -------------------------------------------------------------------------- */
.wzt-invoice-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--wzt-dark-border);
}

.wzt-invoice-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 14px 20px;
    background: var(--wzt-dark-card);
    border: 1px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    transition: border-color var(--wzt-transition);
}

.wzt-invoice-toggle:hover {
    border-color: var(--wzt-accent);
}

.wzt-invoice-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--wzt-accent);
    cursor: pointer;
    flex-shrink: 0;
}

.wzt-invoice-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--wzt-text);
}

.wzt-invoice-fields {
    margin-top: 20px;
    animation: wztFadeInUp 0.3s ease;
}

.wzt-nip-row {
    margin-bottom: 8px;
}

.wzt-nip-field {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end;
}

.wzt-nip-field label {
    width: 100%;
}

.wzt-nip-field input.input-text {
    flex: 1;
    min-width: 0;
}

.wzt-nip-lookup-btn {
    background: var(--wzt-accent);
    color: #fff;
    border: none;
    border-radius: var(--wzt-radius-sm);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--wzt-font);
    cursor: pointer;
    transition: background var(--wzt-transition);
    white-space: nowrap;
    flex-shrink: 0;
    height: fit-content;
}

.wzt-nip-lookup-btn:hover {
    background: var(--wzt-accent-hover);
}

.wzt-nip-lookup-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.wzt-nip-status {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    min-height: 18px;
}

.wzt-nip-status.success {
    color: var(--wzt-teal);
}

.wzt-nip-status.error {
    color: var(--wzt-accent);
}

.wzt-invoice-fields .form-row-first,
.wzt-invoice-fields .form-row-last {
    width: 48% !important;
    display: inline-block !important;
}

.wzt-invoice-fields .form-row-first {
    float: left !important;
}

.wzt-invoice-fields .form-row-last {
    float: right !important;
}

/* Checkout responsive */
@media (max-width: 991px) {
    .wzt-checkout-layout {
        grid-template-columns: 1fr !important;
    }
    .wzt-checkout-right {
        position: static !important;
    }
}

/* --------------------------------------------------------------------------
   MY ACCOUNT PAGE — Divi full-width override
   -------------------------------------------------------------------------- */
.wzt-wc-styled.woocommerce-account #main-content #content-area,
.wzt-wc-styled.woocommerce-account #main-content #left-area,
.wzt-wc-styled.woocommerce-account #main-content .et_pb_row,
.wzt-wc-styled.woocommerce-account #main-content .et_pb_column,
.wzt-wc-styled.woocommerce-account #main-content .et_pb_module,
.wzt-wc-styled.woocommerce-account #main-content .et_pb_text_inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wzt-wc-styled.woocommerce-account #main-content > .container {
    max-width: 1100px !important;
    width: 92% !important;
    margin: 0 auto !important;
}

/* Hide sidebar widgets on all WooCommerce pages */
.wzt-wc-styled #sidebar,
.wzt-wc-styled .widget-area,
.wzt-wc-styled #main-content .widget,
.wzt-wc-styled #left-area > .widget,
.wzt-wc-styled #left-area > section,
.wzt-wc-styled #left-area > aside,
.wzt-wc-styled #left-area > div[class*="widget_"],
.wzt-wc-styled #left-area > div[id^="search-"] {
    display: none !important;
}

/* Clear after account layout */
.wzt-wc-styled .woocommerce-MyAccount-content::after {
    content: '';
    display: table;
    clear: both;
}

/* Two-column layout: nav + content */
.wzt-wc-styled .woocommerce-MyAccount-navigation,
.wzt-wc-styled .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}

.wzt-wc-styled .woocommerce .woocommerce-MyAccount-navigation {
    width: 220px !important;
    float: left !important;
    margin-right: 32px !important;
}

.wzt-wc-styled .woocommerce .woocommerce-MyAccount-content {
    width: calc(100% - 252px) !important;
    float: left !important;
}

/* Navigation card */
.wzt-wc-styled .woocommerce-MyAccount-navigation {
    background: var(--wzt-dark-card) !important;
    border-radius: var(--wzt-radius) !important;
    overflow: hidden !important;
    box-shadow: var(--wzt-shadow-sm) !important;
    border: 1px solid var(--wzt-dark-border) !important;
}

.wzt-wc-styled .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wzt-wc-styled .woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    border-bottom: 1px solid var(--wzt-dark-border) !important;
}

.wzt-wc-styled .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none !important;
}

.wzt-wc-styled .woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 14px 20px !important;
    color: var(--wzt-text) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all var(--wzt-transition) !important;
    border-left: 3px solid transparent !important;
    background: transparent !important;
}

.wzt-wc-styled .woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--wzt-dark-lighter) !important;
    color: var(--wzt-accent) !important;
}

.wzt-wc-styled .woocommerce-MyAccount-navigation ul li.is-active a,
.wzt-wc-styled .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    background: var(--wzt-accent-light) !important;
    color: var(--wzt-accent) !important;
    font-weight: 600 !important;
    border-left-color: var(--wzt-accent) !important;
}

/* Content area */
.wzt-wc-styled .woocommerce-MyAccount-content {
    background: var(--wzt-dark-card) !important;
    border-radius: var(--wzt-radius) !important;
    box-shadow: var(--wzt-shadow-sm) !important;
    padding: 32px !important;
    border: 1px solid var(--wzt-dark-border) !important;
    color: var(--wzt-text) !important;
}

.wzt-wc-styled .woocommerce-MyAccount-content p {
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled .woocommerce-MyAccount-content a {
    color: var(--wzt-accent) !important;
}

.wzt-wc-styled .woocommerce-MyAccount-content a:hover {
    color: var(--wzt-accent-hover) !important;
}

/* Dashboard greeting */
.wzt-wc-styled .woocommerce-MyAccount-content > p:first-child {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* Account Tables (orders, downloads) */
.wzt-wc-styled .woocommerce-MyAccount-content table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    border-radius: var(--wzt-radius-sm) !important;
    overflow: hidden !important;
    width: 100% !important;
    background: transparent !important;
}

.wzt-wc-styled .woocommerce-MyAccount-content table thead th {
    background: var(--wzt-dark-lighter) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--wzt-text-secondary) !important;
    padding: 14px 16px !important;
    border: none !important;
}

.wzt-wc-styled .woocommerce-MyAccount-content table tbody td {
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--wzt-dark-border) !important;
    border-top: none !important;
    font-size: 14px !important;
    color: var(--wzt-text) !important;
    background: transparent !important;
}

.wzt-wc-styled .woocommerce-MyAccount-content table tbody tr:last-child td {
    border-bottom: none !important;
}

.wzt-wc-styled .woocommerce-MyAccount-content table tbody td a.woocommerce-button {
    display: inline-block !important;
    background: var(--wzt-accent) !important;
    color: #fff !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all var(--wzt-transition) !important;
    border: none !important;
}

.wzt-wc-styled .woocommerce-MyAccount-content table tbody td a.woocommerce-button:hover {
    background: var(--wzt-accent-hover) !important;
}

/* No orders/empty states */
.wzt-wc-styled .woocommerce-MyAccount-content .woocommerce-info,
.wzt-wc-styled .woocommerce-MyAccount-content .woocommerce-message {
    background: var(--wzt-dark-lighter) !important;
    border: 1px solid var(--wzt-dark-border) !important;
    border-left: 4px solid var(--wzt-accent) !important;
    border-radius: var(--wzt-radius-sm) !important;
    color: var(--wzt-text) !important;
    padding: 16px 20px !important;
}

/* Address Cards */
.wzt-wc-styled .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

.wzt-wc-styled .woocommerce-Addresses .woocommerce-Address,
.wzt-wc-styled .woocommerce-Addresses > div {
    background: var(--wzt-dark-lighter) !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 24px !important;
    border: 1px solid var(--wzt-dark-border) !important;
}

.wzt-wc-styled .woocommerce-Addresses .woocommerce-Address-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
}

.wzt-wc-styled .woocommerce-Addresses .woocommerce-Address-title h3,
.wzt-wc-styled .woocommerce-Addresses header.woocommerce-Address-title h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: var(--wzt-white) !important;
}

.wzt-wc-styled .woocommerce-Addresses .woocommerce-Address-title a {
    color: var(--wzt-accent) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: color var(--wzt-transition);
}

.wzt-wc-styled .woocommerce-Addresses .woocommerce-Address-title a:hover {
    color: var(--wzt-accent-hover) !important;
}

.wzt-wc-styled .woocommerce-Addresses address {
    color: var(--wzt-text-secondary) !important;
    font-style: normal !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
}

/* Edit account form */
.wzt-wc-styled .woocommerce-EditAccountForm fieldset {
    border: 1px solid var(--wzt-dark-border) !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 20px !important;
    margin-top: 24px !important;
}

.wzt-wc-styled .woocommerce-EditAccountForm fieldset legend {
    color: var(--wzt-white) !important;
    font-weight: 600 !important;
    padding: 0 8px !important;
}

.wzt-wc-styled .woocommerce-EditAccountForm .woocommerce-Button {
    background: var(--wzt-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all var(--wzt-transition) !important;
    font-family: var(--wzt-font) !important;
    margin-top: 16px !important;
}

.wzt-wc-styled .woocommerce-EditAccountForm .woocommerce-Button:hover {
    background: var(--wzt-accent-hover) !important;
}

/* Login/Register */
.wzt-wc-styled .woocommerce-form-login,
.wzt-wc-styled .woocommerce-form-register {
    background: var(--wzt-dark-card) !important;
    border-radius: var(--wzt-radius) !important;
    box-shadow: var(--wzt-shadow-md) !important;
    padding: 40px !important;
    border: 1px solid var(--wzt-dark-border) !important;
    max-width: 480px !important;
    margin: 0 auto !important;
}

.wzt-wc-styled .woocommerce-form-login h2,
.wzt-wc-styled .woocommerce-form-register h2,
.wzt-wc-styled .u-column1 h2,
.wzt-wc-styled .u-column2 h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--wzt-white) !important;
    margin-bottom: 24px !important;
    text-align: center !important;
}

.wzt-wc-styled .woocommerce-form-login label,
.wzt-wc-styled .woocommerce-form-register label {
    color: var(--wzt-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

.wzt-wc-styled .woocommerce-form-login input.input-text,
.wzt-wc-styled .woocommerce-form-login input[type="text"],
.wzt-wc-styled .woocommerce-form-login input[type="password"],
.wzt-wc-styled .woocommerce-form-login input[type="email"],
.wzt-wc-styled .woocommerce-form-register input.input-text,
.wzt-wc-styled .woocommerce-form-register input[type="text"],
.wzt-wc-styled .woocommerce-form-register input[type="password"],
.wzt-wc-styled .woocommerce-form-register input[type="email"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid var(--wzt-dark-border) !important;
    border-radius: var(--wzt-radius-sm) !important;
    font-size: 14px !important;
    color: var(--wzt-text) !important;
    background: var(--wzt-dark) !important;
    transition: border-color var(--wzt-transition) !important;
    font-family: var(--wzt-font) !important;
    box-sizing: border-box !important;
}

.wzt-wc-styled .woocommerce-form-login input:focus,
.wzt-wc-styled .woocommerce-form-register input:focus {
    border-color: var(--wzt-accent) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15) !important;
}

.wzt-wc-styled .woocommerce-form-login .woocommerce-form-login__submit,
.wzt-wc-styled .woocommerce-form-register .woocommerce-form-register__submit {
    background: var(--wzt-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all var(--wzt-transition) !important;
    font-family: var(--wzt-font) !important;
    width: 100% !important;
    text-transform: none !important;
    margin-top: 8px !important;
}

.wzt-wc-styled .woocommerce-form-login .woocommerce-form-login__submit:hover,
.wzt-wc-styled .woocommerce-form-register .woocommerce-form-register__submit:hover {
    background: var(--wzt-accent-hover) !important;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35) !important;
}

/* Remember me */
.wzt-wc-styled .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 12px 0 !important;
    color: var(--wzt-text-secondary) !important;
    font-size: 13px !important;
}

.wzt-wc-styled .woocommerce-form-login .woocommerce-form-login__rememberme input[type="checkbox"] {
    accent-color: var(--wzt-accent) !important;
    width: 16px !important;
    height: 16px !important;
}

/* Lost password link */
.wzt-wc-styled .woocommerce-form-login .lost_password,
.wzt-wc-styled .woocommerce-LostPassword {
    text-align: center !important;
    margin-top: 16px !important;
}

.wzt-wc-styled .woocommerce-form-login .lost_password a,
.wzt-wc-styled .woocommerce-LostPassword a {
    color: var(--wzt-accent) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: color var(--wzt-transition);
}

.wzt-wc-styled .woocommerce-form-login .lost_password a:hover,
.wzt-wc-styled .woocommerce-LostPassword a:hover {
    color: var(--wzt-accent-hover) !important;
}

/* Login/Register columns */
.wzt-wc-styled .u-columns {
    display: flex !important;
    gap: 32px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.wzt-wc-styled .u-columns .u-column1,
.wzt-wc-styled .u-columns .u-column2 {
    flex: 0 1 480px !important;
    max-width: 480px !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Account responsive */
@media (max-width: 768px) {
    .wzt-wc-styled .woocommerce .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }

    .wzt-wc-styled .woocommerce .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }

    .wzt-wc-styled .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        padding: 8px !important;
    }

    .wzt-wc-styled .woocommerce-MyAccount-navigation ul li {
        border-bottom: none !important;
        flex: 0 0 auto !important;
    }

    .wzt-wc-styled .woocommerce-MyAccount-navigation ul li a {
        padding: 8px 16px !important;
        border-radius: var(--wzt-radius-pill) !important;
        border-left: none !important;
        font-size: 13px !important;
    }

    .wzt-wc-styled .woocommerce-MyAccount-navigation ul li.is-active a {
        background: var(--wzt-accent) !important;
        color: #fff !important;
        border-left: none !important;
    }

    .wzt-wc-styled .woocommerce-Addresses {
        grid-template-columns: 1fr !important;
    }

    .wzt-wc-styled .u-columns {
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* --------------------------------------------------------------------------
   MINI CART DRAWER
   -------------------------------------------------------------------------- */
.wzt-mini-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--wzt-transition);
    backdrop-filter: blur(2px);
}

.wzt-mini-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wzt-mini-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--wzt-dark-card);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wzt-mini-cart-drawer.active {
    transform: translateX(0);
}

.wzt-mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--wzt-dark-border);
    flex-shrink: 0;
}

.wzt-mini-cart-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wzt-white);
    margin: 0;
}

.wzt-mini-cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--wzt-dark-lighter);
    color: var(--wzt-text);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--wzt-transition);
    line-height: 1;
}

.wzt-mini-cart-close:hover {
    background: var(--wzt-accent);
    color: #fff;
}

.wzt-mini-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.wzt-mini-cart-content .woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wzt-mini-cart-content .woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--wzt-dark-border);
    color: var(--wzt-text);
}

.wzt-mini-cart-content .woocommerce-mini-cart-item a:first-child {
    flex-shrink: 0;
}

.wzt-mini-cart-content .woocommerce-mini-cart-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--wzt-radius-sm);
}

.wzt-mini-cart-content .woocommerce-mini-cart-item a.remove {
    order: 3;
    margin-left: auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wzt-accent-light);
    color: var(--wzt-accent) !important;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--wzt-transition);
    flex-shrink: 0;
}

.wzt-mini-cart-content .woocommerce-mini-cart-item a.remove:hover {
    background: var(--wzt-accent);
    color: #fff !important;
}

.wzt-mini-cart-content .woocommerce-mini-cart__total {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    border-top: 2px solid var(--wzt-dark-border);
    color: var(--wzt-white);
}

.wzt-mini-cart-content .woocommerce-mini-cart__buttons {
    padding: 16px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wzt-mini-cart-content .woocommerce-mini-cart__buttons a {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: var(--wzt-radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--wzt-transition);
}

.wzt-mini-cart-content .woocommerce-mini-cart__buttons a.wc-forward:first-child {
    background: var(--wzt-dark-lighter);
    color: var(--wzt-text);
    border: 1px solid var(--wzt-dark-border);
}

.wzt-mini-cart-content .woocommerce-mini-cart__buttons a.wc-forward:first-child:hover {
    border-color: var(--wzt-accent);
    color: var(--wzt-accent);
}

.wzt-mini-cart-content .woocommerce-mini-cart__buttons a.checkout {
    background: var(--wzt-accent);
    color: #fff;
}

.wzt-mini-cart-content .woocommerce-mini-cart__buttons a.checkout:hover {
    background: var(--wzt-accent-hover);
}

/* --------------------------------------------------------------------------
   STAR RATINGS (GLOBAL)
   -------------------------------------------------------------------------- */
.wzt-wc-styled .star-rating {
    color: var(--wzt-orange);
}

.wzt-wc-styled .star-rating::before {
    color: var(--wzt-dark-border);
}

/* --------------------------------------------------------------------------
   BUTTONS GLOBAL
   -------------------------------------------------------------------------- */
.wzt-wc-styled .woocommerce .button,
.wzt-wc-styled .woocommerce input[type="submit"],
.wzt-wc-styled .woocommerce button[type="submit"] {
    font-family: var(--wzt-font);
    transition: all var(--wzt-transition);
}

/* --------------------------------------------------------------------------
   QUANTITY STEPPER BUTTONS (JS-injected)
   -------------------------------------------------------------------------- */
.wzt-qty-btn {
    width: 40px;
    min-height: 44px;
    border: none;
    background: var(--wzt-dark-lighter);
    color: var(--wzt-white);
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all var(--wzt-transition);
    user-select: none;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.wzt-qty-btn:hover {
    background: var(--wzt-accent);
    color: #fff;
}

.wzt-wc-styled .quantity.wzt-qty-ready {
    display: flex !important;
    align-items: stretch;
    border: 2px solid var(--wzt-dark-border);
    border-radius: var(--wzt-radius-sm);
    overflow: hidden;
    background: var(--wzt-dark-card);
    height: auto;
}

.wzt-wc-styled .quantity.wzt-qty-ready .qty {
    width: 50px;
    text-align: center;
    border: none !important;
    background: transparent !important;
    font-size: 16px;
    font-weight: 600;
    color: var(--wzt-white);
    padding: 10px 4px;
    font-family: var(--wzt-font);
    -moz-appearance: textfield;
    margin: 0;
    height: auto;
    min-height: auto;
}

.wzt-wc-styled .quantity.wzt-qty-ready .qty::-webkit-inner-spin-button,
.wzt-wc-styled .quantity.wzt-qty-ready .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --------------------------------------------------------------------------
   ADD TO CART NOTIFICATION
   -------------------------------------------------------------------------- */
.wzt-cart-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--wzt-dark-card);
    color: var(--wzt-white);
    padding: 16px 24px;
    border-radius: var(--wzt-radius);
    box-shadow: var(--wzt-shadow-lg);
    border: 1px solid var(--wzt-dark-border);
    z-index: 99997;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 360px;
    font-size: 14px;
    font-weight: 500;
}

.wzt-cart-notification.visible {
    transform: translateY(0);
}

.wzt-cart-notification .wzt-notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wzt-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: #fff;
}

.wzt-cart-notification a {
    color: var(--wzt-accent);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   ORDER RECEIVED / THANK YOU
   -------------------------------------------------------------------------- */
.wzt-wc-styled .woocommerce-order-received .woocommerce-thankyou-order-received {
    background: var(--wzt-teal-light);
    border: 1px solid var(--wzt-teal);
    color: var(--wzt-teal);
    padding: 20px 24px;
    border-radius: var(--wzt-radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

.wzt-wc-styled .woocommerce-order-received .woocommerce-order-details {
    background: var(--wzt-dark-card);
    border-radius: var(--wzt-radius);
    box-shadow: var(--wzt-shadow-sm);
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid var(--wzt-dark-border);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .wzt-wc-styled ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .wzt-wc-styled ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .wzt-wc-styled .wzt-single-product-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wzt-wc-styled .woocommerce-form-login,
    .wzt-wc-styled .woocommerce-form-register {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .wzt-wc-styled ul.products {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wzt-wc-styled .wzt-category-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        justify-content: flex-start;
    }

    .wzt-wc-styled .wzt-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .wzt-wc-styled .wzt-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .wzt-wc-styled .wzt-product-search {
        flex: 1 1 100%;
    }

    .wzt-wc-styled .woocommerce-result-count {
        text-align: left;
    }

    .wzt-wc-styled div.product .product_title {
        font-size: 22px;
    }

    .wzt-wc-styled div.product p.price {
        font-size: 22px;
    }

    .wzt-wc-styled div.product form.cart {
        flex-direction: column;
    }

    .wzt-wc-styled div.product .woocommerce-tabs ul.tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wzt-wc-styled .cart_totals {
        padding: 20px;
    }

    .wzt-wc-styled .woocommerce-MyAccount-content {
        padding: 20px;
    }

    .wzt-mini-cart-drawer {
        width: 100%;
        max-width: 100vw;
    }

    .wzt-cart-notification {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .wzt-wc-styled table.shop_table thead {
        display: none;
    }

    .wzt-wc-styled table.shop_table tbody tr {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 8px 12px;
        padding: 16px;
        border-bottom: 1px solid var(--wzt-dark-border);
        align-items: center;
    }

    .wzt-wc-styled table.shop_table tbody td {
        padding: 0;
        border-bottom: none;
    }

    .wzt-wc-styled table.shop_table tbody td.product-thumbnail {
        grid-row: 1 / 3;
    }

    .wzt-wc-styled table.shop_table tbody td.product-remove {
        grid-column: 3;
        grid-row: 1;
    }

    .wzt-wc-styled table.shop_table tbody td.product-name {
        grid-column: 2;
    }

    .wzt-wc-styled table.shop_table tbody td.product-price {
        grid-column: 2;
    }

    .wzt-wc-styled table.shop_table tbody td.product-quantity {
        grid-column: 2 / 4;
    }

    .wzt-wc-styled table.shop_table tbody td.product-subtotal {
        grid-column: 2 / 4;
        font-weight: 700;
    }

    .wzt-wc-styled table.shop_table td.actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .wzt-wc-styled table.shop_table td.actions .coupon {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   DIVI OVERRIDES (Dark theme)
   -------------------------------------------------------------------------- */
.wzt-wc-styled #main-content .container::before {
    display: none;
}

.wzt-wc-styled .et_pb_wc_related_products .woocommerce ul.products li.product,
.wzt-wc-styled .et_pb_wc_upsells .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}

.wzt-wc-styled .et_pb_module .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wzt-wc-styled .et_pb_wc_add_to_cart button.single_add_to_cart_button,
.wzt-wc-styled .et_pb_wc_add_to_cart .single_add_to_cart_button {
    background: var(--wzt-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--wzt-radius-sm) !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: all var(--wzt-transition) !important;
    font-family: var(--wzt-font) !important;
}

.wzt-wc-styled .et_pb_wc_add_to_cart button.single_add_to_cart_button:hover,
.wzt-wc-styled .et_pb_wc_add_to_cart .single_add_to_cart_button:hover {
    background: var(--wzt-accent-hover) !important;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35) !important;
}

.wzt-wc-styled .et_pb_wc_tabs ul.tabs li a {
    background: none !important;
    border: none !important;
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled .et_pb_wc_tabs ul.tabs li.active a {
    color: var(--wzt-accent) !important;
    border-bottom: 2px solid var(--wzt-accent) !important;
}

.wzt-wc-styled .et_pb_button {
    border-radius: var(--wzt-radius-sm) !important;
    font-family: var(--wzt-font) !important;
}

/* Divi WC module overrides */
.wzt-wc-styled .et_pb_wc_title h1,
.wzt-wc-styled .et_pb_wc_title h2 {
    color: var(--wzt-white) !important;
}

.wzt-wc-styled .et_pb_wc_price .price,
.wzt-wc-styled .et_pb_wc_price .price .woocommerce-Price-amount {
    color: var(--wzt-white) !important;
}

.wzt-wc-styled .et_pb_wc_description,
.wzt-wc-styled .et_pb_wc_description p,
.wzt-wc-styled .et_pb_wc_description ul,
.wzt-wc-styled .et_pb_wc_description ol,
.wzt-wc-styled .et_pb_wc_description li {
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled .et_pb_wc_meta .product_meta,
.wzt-wc-styled .et_pb_wc_meta .product_meta span {
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled .et_pb_wc_meta .product_meta a {
    color: var(--wzt-accent) !important;
}

/* Divi breadcrumb overrides */
.wzt-wc-styled .et_pb_wc_breadcrumb,
.wzt-wc-styled .et_pb_wc_breadcrumb .woocommerce-breadcrumb,
.wzt-wc-styled .woocommerce .woocommerce-breadcrumb {
    color: var(--wzt-text-muted) !important;
}

.wzt-wc-styled .et_pb_wc_breadcrumb a,
.wzt-wc-styled .woocommerce .woocommerce-breadcrumb a {
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled .et_pb_wc_breadcrumb a:hover,
.wzt-wc-styled .woocommerce .woocommerce-breadcrumb a:hover {
    color: var(--wzt-accent) !important;
}

/* Divi quantity wrapper overrides */
.wzt-wc-styled .et_pb_wc_add_to_cart .quantity,
.wzt-wc-styled .et_pb_wc_add_to_cart form.cart .quantity {
    display: flex !important;
    align-items: stretch !important;
    border: 2px solid var(--wzt-dark-border) !important;
    border-radius: var(--wzt-radius-sm) !important;
    overflow: hidden !important;
    background: var(--wzt-dark-card) !important;
    margin: 0 !important;
    height: auto !important;
    float: none !important;
}

.wzt-wc-styled .et_pb_wc_add_to_cart .quantity input.qty,
.wzt-wc-styled .et_pb_wc_add_to_cart form.cart .quantity input.qty {
    width: 50px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--wzt-white) !important;
    padding: 10px 4px !important;
    -moz-appearance: textfield !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
}

.wzt-wc-styled .et_pb_wc_add_to_cart form.cart {
    display: flex !important;
    align-items: stretch !important;
    gap: 12px !important;
}

/* Divi tab panel overrides */
.wzt-wc-styled .et_pb_wc_tabs .et_pb_module_inner {
    background: var(--wzt-dark-card) !important;
    border-radius: var(--wzt-radius) !important;
    border: 1px solid var(--wzt-dark-border) !important;
    padding: 0 24px 24px !important;
}

.wzt-wc-styled .et_pb_wc_tabs .woocommerce-Tabs-panel,
.wzt-wc-styled .et_pb_wc_tabs #tab-description,
.wzt-wc-styled .et_pb_wc_tabs #tab-additional_information,
.wzt-wc-styled .et_pb_wc_tabs #tab-reviews {
    color: var(--wzt-text-secondary) !important;
    background: transparent !important;
}

.wzt-wc-styled .et_pb_wc_tabs .woocommerce-Tabs-panel p,
.wzt-wc-styled .et_pb_wc_tabs .woocommerce-Tabs-panel li,
.wzt-wc-styled .et_pb_wc_tabs .woocommerce-Tabs-panel td,
.wzt-wc-styled .et_pb_wc_tabs .woocommerce-Tabs-panel th {
    color: var(--wzt-text-secondary) !important;
}

.wzt-wc-styled .et_pb_wc_tabs .woocommerce-Tabs-panel h2 {
    color: var(--wzt-white) !important;
}

/* --------------------------------------------------------------------------
   SMOOTH ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes wztFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wzt-wc-styled .wzt-product-card {
    animation: wztFadeInUp 0.5s ease forwards;
}

.wzt-wc-styled ul.products li.product:nth-child(1) .wzt-product-card { animation-delay: 0.05s; }
.wzt-wc-styled ul.products li.product:nth-child(2) .wzt-product-card { animation-delay: 0.1s; }
.wzt-wc-styled ul.products li.product:nth-child(3) .wzt-product-card { animation-delay: 0.15s; }
.wzt-wc-styled ul.products li.product:nth-child(4) .wzt-product-card { animation-delay: 0.2s; }
.wzt-wc-styled ul.products li.product:nth-child(5) .wzt-product-card { animation-delay: 0.25s; }
.wzt-wc-styled ul.products li.product:nth-child(6) .wzt-product-card { animation-delay: 0.3s; }
.wzt-wc-styled ul.products li.product:nth-child(7) .wzt-product-card { animation-delay: 0.35s; }
.wzt-wc-styled ul.products li.product:nth-child(8) .wzt-product-card { animation-delay: 0.4s; }
.wzt-wc-styled ul.products li.product:nth-child(9) .wzt-product-card { animation-delay: 0.45s; }

/* --------------------------------------------------------------------------
   PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
    .wzt-mini-cart-drawer,
    .wzt-mini-cart-overlay,
    .wzt-cart-notification {
        display: none !important;
    }
}
