/**
 * WooCommerce Styles for BRABUS Luxury Theme
 */

/* ================================
   WOOCOMMERCE BASE
   ================================ */
.woocommerce-page {
    padding-top: 2rem;
    min-height: calc(100vh - 400px);
    background: #000;
}

.woocommerce-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Shop Page Title */
.woocommerce-products-header {
    margin-bottom: 3rem;
    text-align: center;
    padding: 2rem 0;
}

.woocommerce-products-header__title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    color: var(--brabus-white);
}

.term-description {
    font-size: 1.1rem;
    color: var(--brabus-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Results Count & Ordering */
.woocommerce-result-count {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brabus-text-muted);
    margin-bottom: 2rem;
}

.woocommerce-ordering {
    margin-bottom: 2rem;
}

.woocommerce-ordering select {
    padding: 0.75rem 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--brabus-red);
}

/* ================================
   PRODUCTS GRID - BRABUS LUXURY STYLE
   ================================ */
.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product {
    position: relative;
    background: #000;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 16 / 10;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.product:hover::before {
    opacity: 0.8;
}

.product-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

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

.product:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.2;
    color: var(--brabus-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.product-title a {
    color: var(--brabus-white);
    transition: color 0.3s ease;
    position: relative;
    z-index: 3;
}

.product:hover .product-title a {
    color: var(--brabus-red);
}

.product-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brabus-white);
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.product-price del {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    font-size: 0.85rem;
    margin-right: 0.75rem;
}

.product-price ins {
    text-decoration: none;
    color: var(--brabus-red);
    font-weight: 700;
}

.product .add-to-cart-button {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    padding: 1rem 2rem;
    background: rgba(227, 6, 19, 0.9);
    color: var(--brabus-white);
    border: 1px solid var(--brabus-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    backdrop-filter: blur(10px);
}

.product:hover .add-to-cart-button {
    opacity: 1;
    transform: translateY(0);
}

.product .add-to-cart-button:hover {
    background: var(--brabus-red);
    border-color: var(--brabus-white);
    transform: translateY(-2px);
}

.product .add-to-cart-button.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Sale Badge */
.onsale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

/* Stock */
.stock {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.stock.in-stock {
    color: #4caf50;
}

.stock.out-of-stock {
    color: var(--brabus-red);
}

/* ================================
   SINGLE PRODUCT
   ================================ */
.single-product .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: transparent;
    aspect-ratio: unset !important;
    overflow: visible;
}

/* Reset shop page styles for single product */
.single-product .product::before {
    display: none;
}

.single-product .product-inner {
    position: static;
    pointer-events: auto;
}

.single-product .product-link {
    position: static;
    width: auto;
    height: auto;
}

.single-product .product-content {
    position: static;
    padding: 0;
    pointer-events: auto;
}

.product-gallery {
    position: relative;
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--brabus-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}

.woocommerce-product-gallery__trigger:hover {
    background: var(--brabus-red);
}

.woocommerce-product-gallery .flex-viewport {
    margin-bottom: 1rem;
}

.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 1;
    cursor: pointer;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    width: 100%;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs .flex-active {
    opacity: 1;
}

.product-summary {
    padding: 2rem 0;
}

.product-summary .product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-summary .price {
    font-size: 1.75rem;
    color: var(--brabus-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.product-summary .woocommerce-product-details__short-description {
    color: var(--brabus-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Product Meta */
.product_meta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--brabus-border);
}

.product_meta > span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--brabus-text);
}

.product_meta > span span,
.product_meta > span a {
    color: var(--brabus-white);
    font-weight: 500;
}

.product_meta > span a:hover {
    color: var(--brabus-red);
}

/* Quantity */
.quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: auto;
}

.quantity .qty {
    width: 60px;
    height: 50px;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
    pointer-events: auto;
}

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

.qty-btn {
    width: 40px;
    height: 50px;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    pointer-events: auto;
}

.qty-btn:hover {
    background: var(--brabus-red);
    border-color: var(--brabus-red);
}

/* Add to Cart Button */
.single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s ease;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.single_add_to_cart_button:hover {
    background: #c00510;
}

/* Ensure cart form is clickable */
.cart {
    pointer-events: auto;
}

.cart button,
.cart input,
.cart select {
    pointer-events: auto;
}

/* Product Tabs */
.woocommerce-tabs {
    margin-top: 4rem;
}

.wc-tabs {
    display: flex;
    list-style: none;
    border-bottom: 1px solid var(--brabus-border);
    margin-bottom: 2rem;
}

.wc-tabs li {
    margin-right: 2rem;
}

.wc-tabs li a {
    display: block;
    padding: 1rem 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brabus-text);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.wc-tabs li a:hover {
    color: var(--brabus-white);
}

.wc-tabs li.active a {
    color: var(--brabus-white);
    border-bottom-color: var(--brabus-red);
}

.wc-tab {
    color: var(--brabus-text);
    line-height: 1.8;
}

.wc-tab h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--brabus-white);
}

/* Reviews */
.woocommerce-Reviews .commentlist {
    list-style: none;
    margin-bottom: 2rem;
}

.woocommerce-Reviews .comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--brabus-border);
}

.woocommerce-Reviews .comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.woocommerce-Reviews .comment-author {
    font-weight: 700;
    color: var(--brabus-white);
}

.woocommerce-Reviews .comment-date {
    font-size: 0.85rem;
    color: var(--brabus-text-muted);
}

/* Star Rating Display */
.star-rating {
    position: relative;
    display: inline-block;
    font-family: "star", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1;
    color: #ffc107;
    overflow: hidden;
}

.star-rating::before {
    content: "★★★★★";
    color: var(--brabus-text-muted);
    letter-spacing: 0.2em;
}

.star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    padding-top: 1.5em;
    color: #ffc107;
}

.star-rating span::before {
    content: "★★★★★";
    position: absolute;
    top: 0;
    left: 0;
    letter-spacing: 0.2em;
}

/* Review Form */
#review_form_wrapper {
    margin-top: 2rem;
}

#reply-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--brabus-white);
}

.comment-form-rating {
    margin-bottom: 1.5rem;
}

.comment-form-rating label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brabus-text);
}

.comment-form-rating .stars {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comment-form-rating .stars a {
    display: inline-block;
    color: var(--brabus-text-muted);
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1;
}

.comment-form-rating .stars a::before {
    content: "★";
}

.comment-form-rating .stars a:hover,
.comment-form-rating .stars a.active {
    color: #ffc107;
}

.comment-form-rating .stars a:hover ~ a {
    color: var(--brabus-text-muted);
}

/* Hide the radio buttons */
.comment-form-rating .stars input[type="radio"] {
    display: none;
}

/* Alternative star rating using text */
.comment-form-rating p.stars {
    margin: 0;
    padding: 0;
}

.comment-form-rating p.stars a {
    position: relative;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    text-indent: -999em;
    overflow: hidden;
}

.comment-form-rating p.stars a::before {
    content: "★";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: 0;
    text-align: center;
    line-height: 1.5rem;
    font-size: 1.5rem;
    color: var(--brabus-text-muted);
    transition: color 0.2s ease;
}

.comment-form-rating p.stars a:hover::before,
.comment-form-rating p.stars a.active::before {
    color: #ffc107;
}

/* Review Form Fields */
.comment-form-comment {
    margin-bottom: 1.5rem;
}

.comment-form-comment label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brabus-text);
}

.comment-form-comment textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: var(--brabus-red);
}

.comment-form-author,
.comment-form-email {
    margin-bottom: 1rem;
}

.comment-form-author label,
.comment-form-email label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brabus-text);
}

.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus {
    outline: none;
    border-color: var(--brabus-red);
}

.comment-form-cookies-consent {
    margin-bottom: 1.5rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-right: 0.5rem;
}

.comment-form-cookies-consent label {
    font-size: 0.85rem;
    color: var(--brabus-text);
}

/* Submit Button */
.form-submit {
    margin-top: 1.5rem;
}

.form-submit input[type="submit"],
.form-submit #submit,
#review_form #submit,
.submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-submit input[type="submit"]:hover,
.form-submit #submit:hover,
#review_form #submit:hover,
.submit:hover {
    background: #c00510;
}

.form-submit input[type="submit"]:disabled,
.form-submit #submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Required field indicator */
.required {
    color: var(--brabus-red);
    font-weight: 700;
}

/* Related Products */
.related.products {
    margin-top: 4rem;
}

.related.products > h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* ================================
   CART
   ================================ */
.woocommerce-cart .woocommerce {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table th,
.cart-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--brabus-border);
}

.cart-table th {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brabus-text-muted);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.cart-product-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cart-product-title a {
    color: var(--brabus-white);
}

.cart-product-title a:hover {
    color: var(--brabus-red);
}

.cart-product-variation {
    font-size: 0.85rem;
    color: var(--brabus-text-muted);
    margin-top: 0.25rem;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.coupon {
    display: flex;
    gap: 0.5rem;
}

.coupon input {
    padding: 0.875rem 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.9rem;
    min-width: 200px;
}

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

.coupon button {
    padding: 0.875rem 1.5rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.coupon button:hover {
    background: var(--brabus-red);
    border-color: var(--brabus-red);
}

.update-cart-button {
    padding: 0.875rem 2rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.update-cart-button:hover {
    background: var(--brabus-red);
    border-color: var(--brabus-red);
}

/* Cart Totals */
.cart-collaterals {
    margin-top: 3rem;
}

.cart_totals {
    background: var(--brabus-gray);
    padding: 2rem;
    max-width: 450px;
    margin-left: auto;
}

.cart_totals h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart_totals table {
    width: 100%;
    margin-bottom: 1.5rem;
}

.cart_totals th,
.cart_totals td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--brabus-border);
    font-size: 0.95rem;
}

.cart_totals th {
    text-align: left;
    color: var(--brabus-text);
    font-weight: 400;
}

.cart_totals td {
    text-align: right;
    color: var(--brabus-white);
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brabus-white);
    border-bottom: none;
}

.checkout-button {
    width: 100%;
    padding: 1rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.checkout-button:hover {
    background: #c00510;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty svg {
    margin-bottom: 1.5rem;
    color: var(--brabus-text-muted);
}

.cart-empty h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cart-empty p {
    color: var(--brabus-text);
    margin-bottom: 2rem;
}

/* ================================
   CHECKOUT
   ================================ */
.woocommerce-checkout .woocommerce {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-form {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
#order_review_heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--brabus-text);
}

.form-row label .required {
    color: var(--brabus-red);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--brabus-red);
}

.form-row textarea {
    min-height: 120px;
    resize: vertical;
}

/* Order Review */
.woocommerce-checkout-review-order {
    background: var(--brabus-gray);
    padding: 2rem;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 1.5rem;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--brabus-border);
    font-size: 0.95rem;
}

.woocommerce-checkout-review-order-table th {
    text-align: left;
    color: var(--brabus-text);
    font-weight: 400;
}

.woocommerce-checkout-review-order-table td {
    text-align: right;
    color: var(--brabus-white);
}

.woocommerce-checkout-review-order-table .product-name {
    text-align: left;
}

.woocommerce-checkout-review-order-table .product-name strong {
    color: var(--brabus-white);
    font-weight: 700;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-weight: 700;
}

.woocommerce-checkout-review-order-table .order-total td {
    color: var(--brabus-red);
    font-size: 1.25rem;
}

/* Payment Methods */
.wc_payment_methods {
    list-style: none;
    margin-bottom: 1.5rem;
}

.wc_payment_method {
    padding: 1rem 0;
    border-bottom: 1px solid var(--brabus-border);
}

.wc_payment_method input[type="radio"] {
    margin-right: 0.5rem;
}

.wc_payment_method label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.payment_box {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--brabus-dark);
    font-size: 0.9rem;
    color: var(--brabus-text);
}

/* Place Order Button */
#place_order {
    width: 100%;
    padding: 1rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s ease;
}

#place_order:hover {
    background: #c00510;
}

/* ================================
   MY ACCOUNT
   ================================ */
.woocommerce-account .woocommerce {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.woocommerce-MyAccount-navigation {
    width: 25%;
    float: left;
    padding-right: 3rem;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 0.5rem;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brabus-text);
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.woocommerce-MyAccount-navigation a:hover {
    color: var(--brabus-white);
    background: var(--brabus-gray);
}

.woocommerce-MyAccount-navigation .is-active a {
    color: var(--brabus-white);
    background: var(--brabus-gray);
    border-left-color: var(--brabus-red);
}

.woocommerce-MyAccount-content {
    width: 75%;
    float: right;
}

.woocommerce-MyAccount-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content p {
    color: var(--brabus-text);
    margin-bottom: 1rem;
}

.woocommerce-MyAccount-content strong {
    color: var(--brabus-white);
}

/* Orders Table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--brabus-border);
}

.woocommerce-orders-table th {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brabus-text-muted);
}

.woocommerce-orders-table td {
    color: var(--brabus-text);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: var(--brabus-white);
    font-weight: 700;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
    color: var(--brabus-red);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    color: var(--brabus-white);
    font-weight: 500;
}

.woocommerce-orders-table .woocommerce-button {
    padding: 0.5rem 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce-orders-table .woocommerce-button:hover {
    background: var(--brabus-red);
    border-color: var(--brabus-red);
}

/* Addresses */
.woocommerce-Address {
    background: var(--brabus-gray);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.woocommerce-Address-title h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.woocommerce-Address-title .edit {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brabus-red);
}

.address {
    color: var(--brabus-text);
    line-height: 1.6;
}

/* ================================
   MESSAGES & NOTICES
   ================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.woocommerce-message {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4caf50;
    color: #4caf50;
}

.woocommerce-info {
    background: rgba(33, 150, 243, 0.1);
    border-left: 3px solid #2196f3;
    color: #2196f3;
}

.woocommerce-error {
    background: rgba(227, 6, 19, 0.1);
    border-left: 3px solid var(--brabus-red);
    color: var(--brabus-red);
}

.woocommerce-message a,
.woocommerce-info a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.woocommerce-message .button {
    float: right;
    padding: 0.5rem 1rem;
    background: #4caf50;
    color: var(--brabus-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.2s ease;
}

.woocommerce-message .button:hover {
    background: #45a049;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1200px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-title {
        font-size: 1.25rem;
    }

    .product-content {
        padding: 2rem 1.5rem;
    }

    .product .add-to-cart-button {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .single-product .product {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkout-form {
        grid-template-columns: 1fr;
    }

    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }

    .woocommerce-MyAccount-navigation {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .products {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .woocommerce-page {
        padding-top: 1.5rem;
    }

    .woocommerce-content,
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce,
    .woocommerce-account .woocommerce {
        padding: 1rem;
    }

    .products {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product {
        aspect-ratio: 4 / 3;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-content {
        padding: 1.5rem 1.25rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .product .add-to-cart-button {
        position: static;
        width: 100%;
        opacity: 1;
        transform: none;
        margin-top: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid var(--brabus-border);
    }
    
    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    
    .cart-product {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .coupon {
        flex-direction: column;
    }
    
    .cart_totals {
        max-width: 100%;
    }
    
    .wc-tabs {
        flex-wrap: wrap;
    }
    
    .wc-tabs li {
        margin-right: 1rem;
    }
}

@media (max-width: 480px) {
    .product-summary .product-title {
        font-size: 1.75rem;
    }
    
    .product-summary .price {
        font-size: 1.25rem;
    }
}
