/**
 * WooCommerce Specific Styles
 */

/* Shop Page */
.woocommerce-container {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.woocommerce .page-header {
    display: none;
    /* Hidden because we use custom hero */
}

.woocommerce .page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: 2rem;
}

/* Product Loop */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.woocommerce ul.products li.product {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-width: 0;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transition: var(--transition);
    z-index: 1;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-red);
}

.woocommerce ul.products li.product:hover::before {
    transform: scaleX(1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
    position: relative;
}

.woocommerce ul.products li.product .woocommerce-loop-product__thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: var(--color-black);
}

.woocommerce ul.products li.product .woocommerce-loop-product__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__thumbnail img {
    transform: scale(1.1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--color-white);
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    padding: 1.5rem 1.5rem 0;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: var(--color-white);
    text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
    color: var(--color-red);
}

/* Shop Product Rating Stars */
.shop-product-rating-stars {
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

.shop-product-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    line-height: 1;
}

.shop-product-rating-link:hover {
    transform: translateY(-2px);
}

.shop-product-stars {
    color: var(--color-red);
    font-size: 1.125rem;
    letter-spacing: 2px;
    line-height: 1;
    display: inline-block;
    transition: var(--transition);
    user-select: none;
}

.shop-product-rating-link:hover .shop-product-stars {
    color: var(--color-red-light);
    transform: scale(1.1);
}

.shop-product-rating-text {
    color: var(--color-gray-light);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.shop-product-rating-link:hover .shop-product-rating-text {
    color: var(--color-white);
}

.woocommerce ul.products li.product .price {
    color: var(--color-red);
    font-size: 1.5rem;
    font-weight: 900;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    margin-top: auto;
}

.woocommerce ul.products li.product .product-info-wrapper {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.woocommerce ul.products li.product .price del {
    color: var(--color-gray);
    font-size: 1rem;
    font-weight: 400;
    margin-right: 0.5rem;
}

.woocommerce ul.products li.product .button {
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    padding: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    margin: 0 1.5rem 1.5rem;
    cursor: pointer;
    width: calc(100% - 3rem);
    text-align: center;
    font-size: 0.9375rem;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--color-red-dark);
    transform: scale(1.02);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.woocommerce ul.products li.product .button.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Product Images */
.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* Product Badge/Sale Label - Hidden */
.woocommerce ul.products li.product .onsale {
    display: none;
}

/* Single Product Page */
.woocommerce div.product {
    margin-bottom: 0;
}

.woocommerce div.product .product_title {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.woocommerce div.product .price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-red);
    margin-bottom: 1.5rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--color-gray-light);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.woocommerce div.product form.cart {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.woocommerce div.product form.cart .quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

.woocommerce div.product form.cart .quantity label {
    color: var(--color-white);
    font-weight: 500;
}

.woocommerce div.product form.cart .quantity input[type="number"] {
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-dark);
    color: var(--color-white);
    padding: 0.875rem 1rem;
    width: 100px;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    transition: var(--transition);
}

.woocommerce div.product form.cart .quantity input[type="number"]:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Add to Cart Button - All Variations */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce div.product .summary .single_add_to_cart_button,
.woocommerce div.product .summary button.single_add_to_cart_button,
.woocommerce div.product .summary .button.single_add_to_cart_button,
.woocommerce div.product form.cart button.button.alt,
.woocommerce div.product form.cart .button.alt,
.woocommerce div.product .summary button.button.alt,
.woocommerce div.product .summary .button.alt,
button.single_add_to_cart_button.button,
button.single_add_to_cart_button.button.alt {
    background-color: var(--color-red) !important;
    color: var(--color-white) !important;
    padding: 1.25rem 2rem !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4) !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button::before,
.woocommerce div.product form.cart button.single_add_to_cart_button::before,
.woocommerce div.product form.cart .button.single_add_to_cart_button::before,
.woocommerce div.product .summary .single_add_to_cart_button::before,
.woocommerce div.product .summary button.single_add_to_cart_button::before,
.woocommerce div.product .summary .button.single_add_to_cart_button::before,
.woocommerce div.product form.cart button.button.alt::before,
.woocommerce div.product form.cart .button.alt::before,
.woocommerce div.product .summary button.button.alt::before,
.woocommerce div.product .summary .button.alt::before,
button.single_add_to_cart_button.button::before,
button.single_add_to_cart_button.button.alt::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce div.product form.cart button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
.woocommerce div.product .summary .single_add_to_cart_button:hover,
.woocommerce div.product .summary button.single_add_to_cart_button:hover,
.woocommerce div.product .summary .button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart button.button.alt:hover,
.woocommerce div.product form.cart .button.alt:hover,
.woocommerce div.product .summary button.button.alt:hover,
.woocommerce div.product .summary .button.alt:hover,
button.single_add_to_cart_button.button:hover,
button.single_add_to_cart_button.button.alt:hover {
    background-color: var(--color-red-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6) !important;
    color: var(--color-white) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover::before,
.woocommerce div.product form.cart button.single_add_to_cart_button:hover::before,
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover::before,
.woocommerce div.product .summary .single_add_to_cart_button:hover::before,
.woocommerce div.product .summary button.single_add_to_cart_button:hover::before,
.woocommerce div.product .summary .button.single_add_to_cart_button:hover::before,
.woocommerce div.product form.cart button.button.alt:hover::before,
.woocommerce div.product form.cart .button.alt:hover::before,
.woocommerce div.product .summary button.button.alt:hover::before,
.woocommerce div.product .summary .button.alt:hover::before,
button.single_add_to_cart_button.button:hover::before,
button.single_add_to_cart_button.button.alt:hover::before {
    left: 100% !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:active,
.woocommerce div.product form.cart button.single_add_to_cart_button:active,
.woocommerce div.product form.cart .button.single_add_to_cart_button:active,
.woocommerce div.product .summary .single_add_to_cart_button:active,
.woocommerce div.product .summary button.single_add_to_cart_button:active,
.woocommerce div.product .summary .button.single_add_to_cart_button:active,
.woocommerce div.product form.cart button.button.alt:active,
.woocommerce div.product form.cart .button.alt:active,
.woocommerce div.product .summary button.button.alt:active,
.woocommerce div.product .summary .button.alt:active,
button.single_add_to_cart_button.button:active,
button.single_add_to_cart_button.button.alt:active {
    transform: translateY(0) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Product Tabs - Hidden */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .wc-tabs-wrapper,
.woocommerce div.product .wc-tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs .panel,
ul.tabs.wc-tabs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hide ul.tabs.wc-tabs specifically */
ul.tabs.wc-tabs {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-black-lighter);
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--color-gray-light);
    padding: 1rem 0;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-white);
    border-bottom-color: var(--color-red);
}

.woocommerce div.product .woocommerce-tabs .panel {
    color: var(--color-gray-light);
    line-height: 1.8;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

/* Related Products */
.woocommerce .related {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-black-lighter);
}

.woocommerce .related h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

/* Cart Page - Hide default title */
.woocommerce-cart .entry-title,
.woocommerce-cart .page-title {
    display: none;
}

/* Cart Page Hero */
.cart-hero {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-black-lighter) 100%);
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.cart-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.cart-hero-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.cart-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.cart-hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin: 0;
    font-weight: 900;
    line-height: 1.2;
}

.cart-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-light);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cart-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart-hero-image {
        order: 2;
    }

    .cart-hero-text {
        order: 1;
    }
}

/* Cart Page Wrapper */
.cart-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.cart-page-wrapper>* {
    margin-bottom: 2rem;
}

/* Cart Page */
.woocommerce-cart .cart {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.woocommerce-cart .woocommerce-cart-form {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.woocommerce-cart .woocommerce-cart-form .actions {
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-dark);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.woocommerce-cart table.cart {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
    margin-bottom: 1.5rem;
}

.woocommerce-cart table.cart thead {
    display: table-header-group;
}

.woocommerce-cart table.cart thead tr {
    background-color: transparent;
    border: none;
}

.woocommerce-cart table.cart thead th {
    padding: 1rem;
    border-bottom: 2px solid var(--color-gray-dark);
    background-color: transparent;
}

.woocommerce-cart table.cart tbody {
    display: table-row-group;
}

.woocommerce-cart table.cart tbody tr {
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-dark);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.woocommerce-cart table.cart tbody tr>td {
    background-color: transparent;
    padding: 1.5rem 1rem;
    border: none;
    vertical-align: middle;
    position: relative;
}

.woocommerce-cart table.cart tbody tr>td:first-child {
    border-radius: 8px 0 0 8px;
}

.woocommerce-cart table.cart tbody tr>td:last-child {
    border-radius: 0 8px 8px 0;
}

.woocommerce-cart table.cart tbody tr::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transition: var(--transition);
    z-index: 1;
    border-radius: 8px 8px 0 0;
}

.woocommerce-cart table.cart tbody tr:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-red);
    transform: translateY(-2px);
}

.woocommerce-cart table.cart tbody tr:hover::after {
    transform: scaleX(1);
}

.woocommerce-cart table.cart th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: var(--color-gray-light);
    padding: 1rem;
    text-align: left;
    border: none;
    background-color: transparent;
}

.woocommerce-cart table.cart td {
    text-align: left;
    border: none;
    color: var(--color-white);
    vertical-align: middle;
}

.woocommerce-cart table.cart tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-cart table.cart .product-thumbnail {
    width: 120px;
    flex-shrink: 0;
}

.woocommerce-cart table.cart .product-thumbnail a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.woocommerce-cart table.cart .product-thumbnail a:hover {
    transform: scale(1.05);
}

.woocommerce-cart table.cart .product-thumbnail img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--color-gray-dark);
    display: block;
}

.woocommerce-cart table.cart .product-name {
    min-width: 0;
}

.woocommerce-cart table.cart .product-name a {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: var(--color-red);
}

.woocommerce-cart table.cart .product-price {
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.25rem;
    white-space: nowrap;
}

.woocommerce-cart table.cart .product-quantity {
    min-width: 120px;
}

.woocommerce-cart table.cart .product-remove a {
    color: var(--color-gray-light);
    font-size: 1.5rem;
    text-decoration: none;
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
}

.woocommerce-cart table.cart .product-remove a:hover {
    color: var(--color-red);
    background-color: rgba(255, 0, 0, 0.1);
}

.woocommerce-cart table.cart .product-name a {
    color: var(--color-white);
    font-weight: 500;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: var(--color-red);
}

.woocommerce-cart table.cart .product-price {
    color: var(--color-red);
    font-weight: 700;
}

.woocommerce-cart .cart-collaterals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.woocommerce-cart .cart_totals {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2.5rem;
    height: fit-content;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 2rem;
}

.woocommerce-cart .cart_totals h2 {
    color: var(--color-white);
    border-bottom: 3px solid var(--color-red);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.woocommerce-cart .cart_totals table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-gray-dark);
    color: var(--color-white);
    font-size: 1rem;
}

.woocommerce-cart .cart_totals table th {
    font-weight: 600;
    text-align: left;
    color: var(--color-gray-light);
}

.woocommerce-cart .cart_totals table td {
    text-align: right;
    font-weight: 600;
    color: var(--color-white);
}

.woocommerce-cart .cart_totals .order-total {
    border-top: 2px solid var(--color-gray-dark);
    margin-top: 0.5rem;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-red);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 0;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-gray-dark);
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 1.25rem 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover::before {
    left: 100%;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:active {
    transform: translateY(-1px);
}

.woocommerce-cart .coupon {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0;
    align-items: stretch;
}

.woocommerce-cart .coupon label {
    display: none;
}

.woocommerce-cart .coupon input[type="text"] {
    flex: 1;
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-dark);
    color: var(--color-white);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    min-width: 0;
}

.woocommerce-cart .coupon input[type="text"]::placeholder {
    color: var(--color-gray);
    opacity: 0.7;
}

.woocommerce-cart .coupon input[type="text"]:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
    background-color: var(--color-black-lighter);
}

.woocommerce-cart .coupon .button {
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.9375rem;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.woocommerce-cart .coupon .button:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
}

.woocommerce-cart .coupon .button:active {
    transform: translateY(0);
}

.woocommerce-cart .actions .button[name="update_cart"] {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-gray-dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9375rem;
    align-self: flex-start;
}

.woocommerce-cart .actions .button[name="update_cart"]:hover {
    border-color: var(--color-red);
    color: var(--color-red);
    background-color: rgba(255, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.woocommerce-cart .actions .button[name="update_cart"]:active {
    transform: translateY(0);
}

.woocommerce-cart .quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce-cart .quantity input[type="number"] {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    color: var(--color-white);
    padding: 0.75rem;
    width: 80px;
    border-radius: 4px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.woocommerce-cart .quantity input[type="number"]:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.woocommerce-cart table.cart .product-subtotal {
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.5rem;
    white-space: nowrap;
    text-align: right;
}

/* Cart Actions Section Styling */
.woocommerce-cart .woocommerce-cart-form .actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.woocommerce-cart .woocommerce-cart-form .actions>* {
    margin: 0;
}

@media (max-width: 900px) {
    .woocommerce-cart .cart-collaterals {
        grid-template-columns: 1fr;
    }

    .woocommerce-cart .cart_totals {
        position: static;
    }

    .woocommerce-cart .coupon {
        flex-direction: column;
    }

    .woocommerce-cart .coupon .button {
        width: 100%;
    }

    .woocommerce-cart .actions .button[name="update_cart"] {
        width: 100%;
    }

    .woocommerce-cart table.cart {
        display: block;
    }

    .woocommerce-cart table.cart thead {
        display: none;
    }

    .woocommerce-cart table.cart tbody {
        display: block;
    }

    .woocommerce-cart table.cart tbody tr {
        display: block;
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .woocommerce-cart table.cart tbody tr>td {
        display: block;
        padding: 0.75rem 0;
        text-align: left !important;
        border-bottom: 1px solid var(--color-gray-dark);
    }

    .woocommerce-cart table.cart tbody tr>td:last-child {
        border-bottom: none;
    }

    .woocommerce-cart table.cart tbody tr>td::before {
        content: attr(data-title);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
        color: var(--color-gray-light);
        display: block;
        margin-bottom: 0.5rem;
    }

    .woocommerce-cart table.cart .product-thumbnail {
        width: 100%;
        margin-bottom: 1rem;
    }

    .woocommerce-cart table.cart .product-thumbnail img {
        width: 100px;
        height: 100px;
    }

    .woocommerce-cart table.cart .product-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .woocommerce-cart table.cart .product-remove a {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 1.25rem;
    }

    .woocommerce-cart table.cart .product-subtotal {
        font-size: 1.25rem;
        padding-top: 1rem;
        border-top: 2px solid var(--color-gray-dark) !important;
        margin-top: 0.5rem;
    }
}

@media (max-width: 600px) {
    .woocommerce-cart table.cart .product-thumbnail {
        width: 80px;
    }

    .woocommerce-cart table.cart .product-thumbnail img {
        width: 80px;
        height: 80px;
    }

    .woocommerce-cart table.cart .product-name a {
        font-size: 1rem;
    }

    .woocommerce-cart table.cart .product-price {
        font-size: 1rem;
    }

    .woocommerce-cart table.cart .product-subtotal {
        font-size: 1.125rem;
    }
}

/* WooCommerce Block-Based Cart Styles */
.wp-block-woocommerce-cart {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.wc-block-components-sidebar-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.wc-block-components-sidebar-layout.wc-block-cart {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.wc-block-components-main {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 100% !important;
    max-width: 600px !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto !important;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    padding-right: 0 !important;
}

.wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.wc-block-cart__main {
    width: 100%;
    min-width: 0;
}

.wc-block-cart-items {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    max-width: 100%;
}

.wc-block-cart-items td,
.wc-block-cart-items th {
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wc-block-cart-items caption {
    display: none;
}

.wc-block-cart-items__header {
    border-bottom: 2px solid var(--color-gray-dark);
}

.wc-block-cart-items__header th {
    padding: 1rem 0;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: var(--color-gray-light);
    border: none;
}

.wc-block-cart-items__header-image {
    width: 120px;
}

.wc-block-cart-items__header-total {
    text-align: right;
}

.wc-block-cart-items__row {
    border-bottom: 1px solid var(--color-gray-dark);
    transition: var(--transition);
}

.wc-block-cart-items__row:hover {
    background-color: rgba(255, 0, 0, 0.02);
}

.wc-block-cart-items__row:last-child {
    border-bottom: none;
}

.wc-block-cart-item__image {
    padding: 1.5rem 1rem 1.5rem 0;
    vertical-align: top;
    width: 120px;
}

.wc-block-cart-item__image a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.wc-block-cart-item__image a:hover {
    transform: scale(1.05);
}

.wc-block-cart-item__image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--color-gray-dark);
    display: block;
}

.wc-block-cart-item__product {
    padding: 1.5rem 1rem;
    vertical-align: top;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wc-block-cart-item__wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.wc-block-components-product-name {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.wc-block-components-product-name:hover {
    color: var(--color-red);
}

.wc-block-cart-item__prices {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wc-block-components-product-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wc-block-components-product-price__regular {
    color: var(--color-gray);
    font-size: 0.875rem;
    text-decoration: line-through;
}

.wc-block-components-product-price__value {
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.25rem;
}

.wc-block-components-product-price__value.is-discounted {
    color: var(--color-red);
}

.wc-block-components-product-badge {
    display: inline-block;
    background-color: rgba(255, 0, 0, 0.1);
    color: var(--color-red);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-red);
    line-height: 1.2;
}

.wc-block-components-product-metadata {
    color: var(--color-gray-light);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wc-block-components-product-metadata__description {
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wc-block-components-product-metadata__description p {
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wc-block-cart-item__quantity {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.wc-block-components-quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-dark);
    border-radius: 8px;
    padding: 0.25rem;
    width: fit-content;
}

.wc-block-components-quantity-selector__input {
    background-color: transparent;
    border: none;
    color: var(--color-white);
    padding: 0.5rem;
    width: 60px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wc-block-components-quantity-selector__input:focus {
    outline: none;
}

.wc-block-components-quantity-selector__button {
    background-color: var(--color-black-lighter);
    border: none;
    color: var(--color-white);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    transition: var(--transition);
    padding: 0;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background-color: var(--color-red);
    color: var(--color-white);
}

.wc-block-components-quantity-selector__button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wc-block-cart-item__remove-link {
    color: var(--color-gray-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    padding: 0.5rem 0;
}

.wc-block-cart-item__remove-link:hover {
    color: var(--color-red);
}

.wc-block-cart-item__total {
    padding: 1.5rem 0 1.5rem 1rem;
    vertical-align: top;
    text-align: right;
    width: 150px;
    min-width: 150px;
}

.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.wc-block-cart-item__total .wc-block-components-product-price__value {
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.5rem;
}

/* Cart Sidebar */
.wc-block-components-sidebar {
    position: static !important;
    width: 100% !important;
    max-width: 600px !important;
    min-width: 0;
    flex-shrink: 0;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.wc-block-cart__sidebar {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
    flex-shrink: 0;
    margin: 0 auto;
}

.wp-block-woocommerce-cart-order-summary-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    width: 100%;
}

.wc-block-cart__totals-title {
    color: var(--color-white);
    border-bottom: 3px solid var(--color-red);
    padding-bottom: 1rem;
    margin: 0 0 1.5rem 0;
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wc-block-components-totals-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    width: 100%;
}

.wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-gray-dark);
    color: var(--color-white);
    gap: 1rem;
    min-width: 0;
    width: 100%;
}

.wc-block-components-totals-item:last-child {
    border-bottom: none;
}

.wc-block-components-totals-item__label {
    font-weight: 600;
    color: var(--color-gray-light);
    flex-shrink: 0;
    min-width: fit-content;
}

.wc-block-components-totals-item__value {
    font-weight: 600;
    color: var(--color-white);
    flex-shrink: 0;
    text-align: right;
    min-width: fit-content;
    white-space: nowrap;
}

.wc-block-components-totals-footer-item {
    border-top: 2px solid var(--color-gray-dark);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-red);
}

.wc-block-components-totals-footer-item-tax-value {
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.5rem;
    white-space: nowrap;
}

/* Coupon Panel - Complete Redesign */
.wp-block-woocommerce-cart-order-summary-coupon-form-block {
    margin-bottom: 1.5rem;
    padding: 0;
}

.wc-block-components-totals-wrapper .wc-block-components-totals-coupon {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.wc-block-components-totals-coupon .wc-block-components-panel {
    border: 2px solid var(--color-gray-dark);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-black);
    width: 100%;
    min-width: 0;
    transition: var(--transition);
}

.wc-block-components-totals-coupon .wc-block-components-panel:hover {
    border-color: var(--color-red);
}

.wc-block-components-totals-coupon .wc-block-components-panel[aria-expanded="true"] {
    border-color: var(--color-red);
    background-color: var(--color-black-lighter);
}

/* Add Coupons Button - Symmetrical */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: transparent;
    border: none;
    color: var(--color-white);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    gap: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
    min-height: 48px;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.wc-block-components-totals-coupon .wc-block-components-panel__button:hover {
    color: var(--color-red);
    background-color: rgba(255, 0, 0, 0.05);
}

.wc-block-components-totals-coupon .wc-block-components-panel[aria-expanded="true"] .wc-block-components-panel__button {
    color: var(--color-red);
}

.wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--color-gray-light);
    width: 20px;
    height: 20px;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button:hover .wc-block-components-panel__button-icon,
.wc-block-components-totals-coupon .wc-block-components-panel[aria-expanded="true"] .wc-block-components-panel__button-icon {
    color: var(--color-red);
}

.wc-block-components-totals-coupon .wc-block-components-panel[aria-expanded="true"] .wc-block-components-panel__button-icon {
    transform: rotate(180deg);
}

/* Coupon Form Content - Symmetrical */
.wc-block-components-totals-coupon .wc-block-components-panel__content {
    padding: 1.5rem;
    background-color: var(--color-black-lighter);
    border-top: 1px solid var(--color-gray-dark);
}

.wc-block-components-totals-coupon__content {
    width: 100%;
}

.wc-block-components-totals-coupon__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Input Wrapper - Symmetrical */
.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input {
    width: 100%;
    margin: 0;
    position: relative;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input label {
    display: block;
    color: var(--color-gray-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input {
    width: 100%;
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-dark);
    color: #f5f5f5;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: none;
    margin: 0;
    box-sizing: border-box;
    line-height: 1.5;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input:focus,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input:focus {
    outline: none;
    border-color: var(--color-gray-dark);
    box-shadow: none;
    background-color: var(--color-black);
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input:hover,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input:hover {
    border-color: var(--color-gray-dark);
    background-color: var(--color-black);
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input::placeholder,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input::placeholder {
    color: #a0a0a0;
    opacity: 1;
    font-weight: 500;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input::-webkit-input-placeholder,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input::-webkit-input-placeholder {
    color: #a0a0a0;
    opacity: 1;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input::-moz-placeholder,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input::-moz-placeholder {
    color: #a0a0a0;
    opacity: 1;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input:-ms-input-placeholder,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input:-ms-input-placeholder {
    color: #a0a0a0;
    opacity: 1;
}

/* Apply Button - Symmetrical */
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon__form .wc-block-components-button.wc-block-components-totals-coupon__button {
    width: 100%;
    margin: 0;
    background-color: var(--color-red);
    color: var(--color-white) !important;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
    line-height: 1.4;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button .wc-block-components-button__text,
.wc-block-components-totals-coupon__form .wc-block-components-button.wc-block-components-totals-coupon__button .wc-block-components-button__text {
    color: var(--color-white) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover,
.wc-block-components-totals-coupon__form .wc-block-components-button.wc-block-components-totals-coupon__button:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:active,
.wc-block-components-totals-coupon__form .wc-block-components-button.wc-block-components-totals-coupon__button:active {
    transform: translateY(0);
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:disabled,
.wc-block-components-totals-coupon__form .wc-block-components-button.wc-block-components-totals-coupon__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.wc-block-components-totals-coupon .wc-block-components-button,
.wc-block-components-totals-coupon button {
    background-color: var(--color-red);
    color: var(--color-white) !important;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 6px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    width: 100%;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
    line-height: 1.4;
}

.wc-block-components-totals-coupon .wc-block-components-button *,
.wc-block-components-totals-coupon button * {
    color: var(--color-white) !important;
}

.wc-block-components-totals-coupon .wc-block-components-button:hover,
.wc-block-components-totals-coupon button:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
}

.wc-block-components-totals-coupon .wc-block-components-button:active,
.wc-block-components-totals-coupon button:active {
    transform: translateY(0);
}

/* Remove margin from coupon form elements */
.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input {
    margin-top: 0;
    margin-bottom: 0;
}

/* Checkout Button */
.wc-block-cart__submit {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-gray-dark);
    width: 100%;
    min-width: 0;
}

.wc-block-cart__submit-container {
    width: 100%;
    min-width: 0;
}

.wc-block-cart__submit-button {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 1.25rem 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: normal;
}

.wc-block-cart__submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wc-block-cart__submit-button:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
    color: var(--color-white);
}

.wc-block-cart__submit-button:hover::before {
    left: 100%;
}

.wc-block-cart__submit-button:active {
    transform: translateY(-1px);
}

.wc-block-components-button__text {
    position: relative;
    z-index: 1;
}

/* Responsive - Mobile Only */
@media (max-width: 768px) {
    .wp-block-woocommerce-cart {
        padding: 0 1rem 2rem;
    }

    .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .wc-block-components-sidebar-layout.wc-block-cart {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .wc-block-components-sidebar {
        position: static !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .wc-block-components-main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        margin: 0 !important;
    }

    .wc-block-cart__sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1.5rem !important;
    }

    .wc-block-cart-items {
        table-layout: fixed;
        width: 100%;
    }

    .wc-block-cart-item__image {
        width: 100px !important;
        padding-right: 1rem !important;
    }

    .wc-block-cart-item__image img {
        width: 100px;
        height: 100px;
    }

    .wc-block-cart-items__header-image {
        width: 100px;
    }

    .wc-block-cart-item__product {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: calc(100% - 100px - 120px) !important;
    }

    .wc-block-cart-item__total {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        padding-left: 1rem !important;
    }
}

@media (max-width: 600px) {
    .wp-block-woocommerce-cart {
        padding: 0 1rem 2rem;
    }

    .wc-block-components-sidebar-layout {
        gap: 15px !important;
    }

    .wc-block-components-main,
    .wc-block-cart__sidebar {
        padding: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .wc-block-cart-items {
        table-layout: fixed !important;
        width: 100% !important;
        display: table !important;
    }

    .wc-block-cart-items__header {
        display: none !important;
    }

    .wc-block-cart-items__header-total {
        display: none !important;
    }

    .wc-block-cart-items__row {
        display: flex !important;
        flex-direction: column !important;
        padding: 1rem 0 !important;
        border-bottom: 1px solid var(--color-gray-dark);
    }

    .wc-block-cart-item__image {
        width: 80px !important;
        padding: 0 0 0.75rem 0 !important;
        display: block !important;
        vertical-align: top;
    }

    .wc-block-cart-item__image img {
        width: 80px !important;
        height: 80px !important;
    }

    .wc-block-cart-items__header-image {
        width: 80px;
    }

    .wc-block-cart-item__product {
        max-width: 100% !important;
        overflow: visible;
        padding: 0 0 0.75rem 0 !important;
        display: block !important;
        vertical-align: top;
        width: 100% !important;
        order: 1;
    }

    .wc-block-cart-item__total {
        display: block !important;
        width: 100% !important;
        padding: 0.75rem 0 0 0 !important;
        text-align: right;
        order: 2;
        border-top: 1px solid var(--color-gray-dark);
        margin-top: 0.5rem;
        padding-top: 0.75rem !important;
    }

    .wc-block-cart-item__wrap {
        max-width: 100%;
        overflow: visible;
        gap: 0.5rem;
    }

    .wc-block-components-product-name {
        font-size: 0.875rem;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }

    .wc-block-components-product-price__value {
        font-size: 1rem;
    }

    .wc-block-components-product-metadata {
        max-width: 100%;
        overflow: visible;
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .wc-block-cart-item__total .wc-block-components-product-price__value {
        font-size: 1.125rem !important;
        color: var(--color-red);
        font-weight: 900;
        white-space: nowrap;
    }

    .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        align-items: flex-end;
        gap: 0.25rem;
        display: flex;
        flex-direction: column;
    }
}

/* Container query overrides for mobile */
@container (max-width: 699px) {
    .wc-block-cart-items {
        table-layout: auto !important;
        width: 100% !important;
    }

    .wc-block-cart-items__row {
        display: flex !important;
        flex-direction: column !important;
    }

    .wc-block-cart-item__image {
        width: 80px !important;
        padding: 0 0 0.75rem 0 !important;
        display: block !important;
    }

    .wc-block-cart-item__product {
        padding: 0 0 0.75rem 0 !important;
        display: block !important;
        width: 100% !important;
        order: 1;
    }

    .wc-block-cart-item__total {
        display: block !important;
        width: 100% !important;
        padding: 0.75rem 0 0 0 !important;
        text-align: right;
        order: 2;
        border-top: 1px solid var(--color-gray-dark);
        margin-top: 0.5rem;
        padding-top: 0.75rem !important;
    }
}

.wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 1.25rem;
}
}

/* Checkout Page */
.woocommerce-checkout .entry-title,
.woocommerce-checkout .page-title {
    display: none;
}

/* Checkout Hero Section */
.checkout-hero {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-black-lighter) 100%);
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.checkout-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.checkout-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin: 0 0 1rem 0;
    font-weight: 900;
    line-height: 1.2;
}

.checkout-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-light);
    margin: 0;
    line-height: 1.6;
}

/* Checkout Page Wrapper */
.checkout-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.woocommerce-checkout #customer_details {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.woocommerce-checkout .col-1 h3,
.woocommerce-checkout .col-2 h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-dark);
}

.woocommerce-checkout #order_review {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 2rem;
}

.woocommerce-checkout #order_review_heading {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-dark);
}

.woocommerce-checkout .shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    padding: 1rem 0;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-dark);
    color: var(--color-white);
    vertical-align: middle;
}

.woocommerce-checkout .shop_table th {
    font-weight: 600;
    color: var(--color-gray-light);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.woocommerce-checkout .shop_table td {
    text-align: right;
    font-weight: 500;
}

.woocommerce-checkout .shop_table .order-total th,
.woocommerce-checkout .shop_table .order-total td {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-red);
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-gray-dark);
    border-bottom: none;
}

.woocommerce-checkout #place_order {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 1.25rem 2rem;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.woocommerce-checkout #place_order::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.woocommerce-checkout #place_order:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.woocommerce-checkout #place_order:hover::before {
    left: 100%;
}

.woocommerce-checkout #place_order:active {
    transform: translateY(0);
}

/* Form Styles */
.woocommerce form .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-dark);
    color: var(--color-white);
    padding: 0.875rem 1rem;
    border-radius: 6px;
    width: 100%;
    font-size: 1rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
    color: var(--color-gray);
    opacity: 1;
}

.woocommerce form .form-row label {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9375rem;
}

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

.woocommerce form .form-row-wide {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 48%;
    min-width: 0;
    max-width: 48%;
    box-sizing: border-box;
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
}

.woocommerce form .form-row-first {
    float: left;
    margin-right: 4%;
}

.woocommerce form .form-row-last {
    float: right;
    margin-left: 0;
}

.woocommerce form .form-row::after {
    content: '';
    display: table;
    clear: both;
}

.woocommerce-checkout .col-1 .form-row,
.woocommerce-checkout .col-2 .form-row {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* Checkbox and Radio Styles */
.woocommerce form .form-row input[type="checkbox"],
.woocommerce form .form-row input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    accent-color: var(--color-red);
}

.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.woocommerce-checkout #payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.woocommerce-checkout #payment .payment_methods li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-dark);
}

.woocommerce-checkout #payment .payment_methods li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.woocommerce-checkout #payment .payment_methods label {
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.woocommerce-checkout #payment .payment_box {
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-dark);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.75rem;
    color: var(--color-gray-light);
}

/* WooCommerce Block-Based Checkout Styles */
.wp-block-woocommerce-checkout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    width: 100%;
    box-sizing: border-box;
}

.wc-block-checkout {
    padding-top: 16px;
}

/* Override WooCommerce's default sidebar layout for checkout */
.wc-block-components-sidebar-layout .wc-block-components-main {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wc-block-checkout__main {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wc-block-components-contact-information-block,
.wc-block-components-contact-information-fields-block,
.wp-block-woocommerce-checkout-contact-information-block {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    padding: 1rem !important;
    margin: 0 !important;
}

.wc-block-components-contact-information-block .wc-block-components-text-input,
.wc-block-components-contact-information-fields-block .wc-block-components-text-input,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input,
.wc-block-components-contact-information-block .wc-block-components-text-input-wrapper,
.wc-block-components-contact-information-fields-block .wc-block-components-text-input-wrapper,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1rem !important;
}

.wc-block-components-contact-information-block .wc-block-components-text-input:last-child,
.wc-block-components-contact-information-fields-block .wc-block-components-text-input:last-child,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input:last-child {
    margin-bottom: 0 !important;
}

.wc-block-components-contact-information-block .wc-block-components-text-input input,
.wc-block-components-contact-information-fields-block .wc-block-components-text-input input,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.wc-block-checkout__main .wc-block-components-text-input,
.wc-block-checkout__main .wc-block-components-textarea,
.wc-block-checkout__main .wc-block-components-select,
.wc-block-components-main .wc-block-components-text-input,
.wc-block-components-main .wc-block-components-textarea,
.wc-block-components-main .wc-block-components-select {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-checkout__main .wc-block-components-text-input input,
.wc-block-checkout__main .wc-block-components-textarea textarea,
.wc-block-checkout__main .wc-block-components-select select,
.wc-block-components-main .wc-block-components-text-input input,
.wc-block-components-main .wc-block-components-textarea textarea,
.wc-block-components-main .wc-block-components-select select {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-checkout__sidebar {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 2rem;
}

.wc-block-components-panel {
    background-color: transparent;
    border: none;
    padding: 1rem;
}

.wc-block-components-panel:first-child {
    padding-top: 0;
}

.wc-block-components-panel:last-child {
    padding-bottom: 0;
}

/* Contact information panel specific padding */
.wc-block-components-contact-information-block .wc-block-components-panel,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Shipping address block padding */
.wp-block-woocommerce-checkout-shipping-address-block,
.wc-block-components-shipping-address-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-panel,
.wc-block-components-shipping-address-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Billing address block padding */
.wp-block-woocommerce-checkout-billing-address-block,
.wc-block-components-billing-address-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-panel,
.wc-block-components-billing-address-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Shipping method block padding */
.wp-block-woocommerce-checkout-shipping-method-block,
.wc-block-components-shipping-method-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-shipping-method-block .wc-block-components-panel,
.wc-block-components-shipping-method-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Payment block padding */
.wp-block-woocommerce-checkout-payment-block,
.wc-block-components-payment-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-payment-block .wc-block-components-panel,
.wc-block-components-payment-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Additional information block padding */
.wp-block-woocommerce-checkout-additional-information-block,
.wc-block-components-additional-information-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-additional-information-block .wc-block-components-panel,
.wc-block-components-additional-information-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Order note block padding */
.wp-block-woocommerce-checkout-order-note-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-order-note-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Terms block padding */
.wp-block-woocommerce-checkout-terms-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-terms-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Express payment block padding */
.wp-block-woocommerce-checkout-express-payment-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Pickup options block padding */
.wp-block-woocommerce-checkout-pickup-options-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Checkout order summary block padding */
.wp-block-woocommerce-checkout-order-summary-block,
.checkout-order-summary-block-fill-wrapper {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel,
.checkout-order-summary-block-fill-wrapper .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* Checkout totals block padding */
.wp-block-woocommerce-checkout-totals-block {
    padding: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.wp-block-woocommerce-checkout-totals-block .wc-block-components-panel {
    padding: 1rem !important;
    margin: 0 !important;
}

/* All checkout blocks - consistent spacing between fields */
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-text-input,
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-text-input,
.wp-block-woocommerce-checkout-shipping-method-block .wc-block-components-text-input,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-text-input,
.wp-block-woocommerce-checkout-additional-information-block .wc-block-components-text-input,
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-text-input,
.wc-block-components-shipping-address-block .wc-block-components-text-input,
.wc-block-components-billing-address-block .wc-block-components-text-input {
    margin-bottom: 1rem !important;
}

.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-text-input:last-child,
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-text-input:last-child,
.wp-block-woocommerce-checkout-shipping-method-block .wc-block-components-text-input:last-child,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-text-input:last-child,
.wp-block-woocommerce-checkout-additional-information-block .wc-block-components-text-input:last-child,
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-text-input:last-child,
.wc-block-components-shipping-address-block .wc-block-components-text-input:last-child,
.wc-block-components-billing-address-block .wc-block-components-text-input:last-child {
    margin-bottom: 0 !important;
}

.wc-block-components-panel__title {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-dark);
}

.wc-block-components-text-input,
.wc-block-components-textarea,
.wc-block-components-select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-block-components-select select {
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-dark);
    color: var(--color-white);
    padding: 0.875rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea textarea:focus,
.wc-block-components-select select:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.wc-block-components-text-input input::placeholder,
.wc-block-components-textarea textarea::placeholder {
    color: var(--color-gray);
    opacity: 1;
}

.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label {
    color: var(--color-white);
    font-weight: 600;
}

.wc-block-checkout__actions button {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 1.25rem 2rem;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.wc-block-checkout__actions button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wc-block-checkout__actions button:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.wc-block-checkout__actions button:hover::before {
    left: 100%;
}

.wc-block-checkout__actions button:active {
    transform: translateY(0);
}

/* Checkout Actions Row - Reorder buttons */
.wc-block-checkout__actions_row {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
}

/* Place Order button - appears first */
.wc-block-components-checkout-place-order-button,
button.wc-block-components-checkout-place-order-button {
    order: 1 !important;
}

/* Return to Cart button - appears second */
.wc-block-components-checkout-return-to-cart-button,
a.wc-block-components-checkout-return-to-cart-button {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-align: center;
    color: var(--color-gray-light);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
    padding: 0.75rem 0;
    width: 100%;
}

/* Hide WooCommerce's default arrow */
.wc-block-components-checkout-return-to-cart-button svg,
a.wc-block-components-checkout-return-to-cart-button svg {
    display: none !important;
}

/* Arrow icon next to Return to Cart text - positioned correctly */
.wc-block-components-checkout-return-to-cart-button::before,
a.wc-block-components-checkout-return-to-cart-button::before {
    content: '←';
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    transition: var(--transition);
}

.wc-block-components-checkout-return-to-cart-button:hover,
a.wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--color-red);
    text-decoration: none;
}

.wc-block-components-checkout-return-to-cart-button:hover::before,
a.wc-block-components-checkout-return-to-cart-button:hover::before {
    transform: translateX(-3px);
}

.wc-block-components-checkout-return-to-cart-button:focus,
a.wc-block-components-checkout-return-to-cart-button:focus {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background-color: var(--color-black-lighter);
    border-left: 4px solid var(--color-red);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    color: var(--color-white);
}

.woocommerce-error {
    border-left-color: var(--color-red);
}

/* Shop Page No Products Found */
.woocommerce-info,
.woocommerce-no-products-found {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-left: 4px solid var(--color-red);
    padding: 2rem;
    border-radius: 8px;
    color: var(--color-white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.woocommerce-info p,
.woocommerce-no-products-found p {
    color: var(--color-gray-light);
    margin: 0;
    font-size: 1.125rem;
}

/* Pagination */
.woocommerce-pagination {
    margin-top: 3rem;
    text-align: center;
}

.woocommerce-pagination .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination .page-numbers li {
    margin: 0;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: inline-block;
    padding: 0.75rem 1rem;
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    min-width: 44px;
}

.woocommerce-pagination .page-numbers a:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.woocommerce-pagination .page-numbers .current {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2 {
        padding: 1.5rem;
    }

    .woocommerce-checkout #order_review {
        position: static;
        margin-top: 2rem;
    }

    .checkout-hero {
        padding: 3rem 1.5rem;
    }

    .checkout-title {
        font-size: 2rem;
    }

    .checkout-subtitle {
        font-size: 1.125rem;
    }

    .checkout-page-wrapper {
        padding: 0 1rem 2rem;
    }

    .woocommerce-checkout .col-1 h3,
    .woocommerce-checkout .col-2 h3 {
        font-size: 1.25rem;
    }

    .woocommerce-checkout #order_review {
        padding: 1.5rem;
    }

    .woocommerce-checkout #order_review_heading {
        font-size: 1.25rem;
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100%;
        float: none;
    }

    .woocommerce-checkout .shop_table .order-total th,
    .woocommerce-checkout .shop_table .order-total td {
        font-size: 1.25rem;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 0;
    }

    .product-hero {
        padding: 2rem 1rem;
    }

    .product-hero-title {
        font-size: 1.5rem;
    }

    .product-hero-content {
        text-align: center;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .single-product-content {
        padding: 0 1rem 2rem;
    }
}

/* ========================================
   SINGLE PRODUCT PAGE STYLING
   ======================================== */

/* Product Hero Section */
.product-hero {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-black-lighter) 100%);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-gray-dark);
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.product-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: left;
}

.product-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.3;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-light);
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

/* Single Product Content Container */
.single-product-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* Product Details Grid */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

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

/* Product Gallery */
.product-gallery {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 2rem;
}

.product-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Product Summary */
.product-summary,
.woocommerce div.product .summary {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 20px;
}

/* Product Price - Style WooCommerce's default price */
.woocommerce div.product .summary .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-red);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.woocommerce div.product .summary .price del {
    color: var(--color-gray);
    font-size: 1.5rem;
    font-weight: 400;
    margin-right: 0.75rem;
    opacity: 0.7;
}

.woocommerce div.product .summary .price ins {
    text-decoration: none;
    color: var(--color-red);
}

/* Product Rating Stars */
.product-rating-stars {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.product-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.product-rating-link:hover {
    transform: translateY(-2px);
}

.product-stars {
    color: var(--color-red);
    font-size: 1.5rem;
    letter-spacing: 3px;
    line-height: 1;
    display: inline-block;
    transition: var(--transition);
    user-select: none;
}

.product-rating-link:hover .product-stars {
    color: var(--color-red-light);
    transform: scale(1.1);
}

.product-rating-text {
    color: var(--color-gray-light);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
}

.product-rating-link:hover .product-rating-text {
    color: var(--color-white);
}

/* Product Form */
.woocommerce div.product .summary form.cart {
    margin-bottom: 2rem;
}

.woocommerce div.product .summary form.cart .variations {
    margin-bottom: 1.5rem;
}

.woocommerce div.product .summary form.cart .variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.woocommerce div.product .summary form.cart .variations td {
    padding: 0;
    display: block;
}

.woocommerce div.product .summary form.cart .variations label {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9375rem;
}

.woocommerce div.product .summary form.cart .variations select {
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-dark);
    color: var(--color-white);
    padding: 0.875rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    transition: var(--transition);
}

.woocommerce div.product .summary form.cart .variations select:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Product Form Layout */
.woocommerce div.product .summary form.cart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.woocommerce div.product .summary form.cart .quantity {
    margin-bottom: 0;
}

.woocommerce div.product .summary form.cart .quantity input.qty {
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-dark);
    color: var(--color-white);
    padding: 0.875rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    width: 100px;
    text-align: center;
    transition: var(--transition);
}

.woocommerce div.product .summary form.cart .quantity input.qty:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Add to Cart Button - Match Checkout Button Style (Summary Section) - More Specific */
.woocommerce div.product .summary .single_add_to_cart_button,
.woocommerce div.product .summary form.cart button.single_add_to_cart_button,
.woocommerce div.product .summary form.cart .button.single_add_to_cart_button,
.woocommerce div.product .summary button.button.alt,
.woocommerce div.product .summary .button.alt,
.woocommerce div.product .summary button.button.single_add_to_cart_button.alt,
.woocommerce div.product .summary .button.button.single_add_to_cart_button.alt {
    background-color: var(--color-red) !important;
    color: var(--color-white) !important;
    padding: 1.25rem 2rem !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4) !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
}

.woocommerce div.product .summary .single_add_to_cart_button::before,
.woocommerce div.product .summary form.cart button.single_add_to_cart_button::before,
.woocommerce div.product .summary form.cart .button.single_add_to_cart_button::before,
.woocommerce div.product .summary button.button.alt::before,
.woocommerce div.product .summary .button.alt::before,
.woocommerce div.product .summary button.button.single_add_to_cart_button.alt::before,
.woocommerce div.product .summary .button.button.single_add_to_cart_button.alt::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
}

.woocommerce div.product .summary .single_add_to_cart_button:hover,
.woocommerce div.product .summary form.cart button.single_add_to_cart_button:hover,
.woocommerce div.product .summary form.cart .button.single_add_to_cart_button:hover,
.woocommerce div.product .summary button.button.alt:hover,
.woocommerce div.product .summary .button.alt:hover,
.woocommerce div.product .summary button.button.single_add_to_cart_button.alt:hover,
.woocommerce div.product .summary .button.button.single_add_to_cart_button.alt:hover {
    background-color: var(--color-red-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6) !important;
    color: var(--color-white) !important;
}

.woocommerce div.product .summary .single_add_to_cart_button:hover::before,
.woocommerce div.product .summary form.cart button.single_add_to_cart_button:hover::before,
.woocommerce div.product .summary form.cart .button.single_add_to_cart_button:hover::before,
.woocommerce div.product .summary button.button.alt:hover::before,
.woocommerce div.product .summary .button.alt:hover::before,
.woocommerce div.product .summary button.button.single_add_to_cart_button.alt:hover::before,
.woocommerce div.product .summary .button.button.single_add_to_cart_button.alt:hover::before {
    left: 100% !important;
}

.woocommerce div.product .summary .single_add_to_cart_button:active,
.woocommerce div.product .summary form.cart button.single_add_to_cart_button:active,
.woocommerce div.product .summary form.cart .button.single_add_to_cart_button:active,
.woocommerce div.product .summary button.button.alt:active,
.woocommerce div.product .summary .button.alt:active,
.woocommerce div.product .summary button.button.single_add_to_cart_button.alt:active,
.woocommerce div.product .summary .button.button.single_add_to_cart_button.alt:active {
    transform: translateY(0) !important;
}

.woocommerce div.product .summary .single_add_to_cart_button.loading,
.woocommerce div.product .summary button.button.alt.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Product Rating */
.woocommerce div.product .summary .woocommerce-product-rating {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce div.product .summary .star-rating {
    color: var(--color-red);
    font-size: 1rem;
}

.woocommerce div.product .summary .woocommerce-review-link {
    color: var(--color-gray-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.woocommerce div.product .summary .woocommerce-review-link:hover {
    color: var(--color-red);
}

/* Product Meta */
.woocommerce div.product .summary .product_meta {
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-dark);
    margin-top: 2rem;
    font-size: 0.9375rem;
}

.woocommerce div.product .summary .product_meta>span {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-gray-light);
}

.woocommerce div.product .summary .product_meta>span:last-child {
    margin-bottom: 0;
}

.woocommerce div.product .summary .product_meta>span>span,
.woocommerce div.product .summary .product_meta>span>a {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.woocommerce div.product .summary .product_meta>span>a:hover {
    color: var(--color-red);
}

/* Product Tabs - Hidden */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .wc-tabs-wrapper,
.woocommerce div.product .wc-tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs .panel,
ul.tabs.wc-tabs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hide ul.tabs.wc-tabs specifically */
ul.tabs.wc-tabs {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-black-lighter);
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--color-gray-light);
    padding: 1rem 0;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-red);
    border-bottom-color: var(--color-red);
}

.woocommerce div.product .woocommerce-tabs .panel {
    color: var(--color-gray-light);
    line-height: 1.8;
    padding: 2rem 0;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    margin-bottom: 1rem;
}

.woocommerce div.product .woocommerce-tabs .panel table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.woocommerce div.product .woocommerce-tabs .panel table th,
.woocommerce div.product .woocommerce-tabs .panel table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-gray-dark);
    text-align: left;
}

.woocommerce div.product .woocommerce-tabs .panel table th {
    color: var(--color-white);
    font-weight: 600;
    width: 30%;
}

.woocommerce div.product .woocommerce-tabs .panel table td {
    color: var(--color-gray-light);
}

/* Related Products */
.woocommerce .related.products {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-gray-dark);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    clear: both;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.woocommerce .related.products>h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 3rem;
    margin-top: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    order: -1;
}

/* Related Products Grid - Override default grid for related section */
.woocommerce .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    grid-auto-rows: auto !important;
}

.woocommerce .related.products ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    align-self: stretch !important;
}

/* Ensure product card elements are properly sized */
.woocommerce .related.products ul.products li.product .woocommerce-loop-product__thumbnail {
    width: 100% !important;
    flex-shrink: 0 !important;
}

.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title {
    flex-shrink: 0 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
    color: var(--color-white) !important;
    font-size: 1.125rem !important;
    margin: 0 0 0.75rem !important;
    padding: 1.25rem 1.25rem 0 !important;
    font-weight: 700 !important;
}

.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title a {
    display: inline !important;
    width: auto !important;
    word-wrap: break-word !important;
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    color: var(--color-white) !important;
    text-decoration: none !important;
    line-height: inherit !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    unicode-bidi: normal !important;
    direction: ltr !important;
}

.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title a:hover {
    color: var(--color-red) !important;
}

.woocommerce .related.products ul.products li.product .price {
    flex-shrink: 0 !important;
    padding: 0 1.25rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    color: var(--color-red) !important;
}

.woocommerce .related.products ul.products li.product .button {
    margin-top: auto !important;
    flex-shrink: 0 !important;
    margin-left: 1.25rem !important;
    margin-right: 1.25rem !important;
    margin-bottom: 1.25rem !important;
    width: calc(100% - 2.5rem) !important;
}

/* Responsive Related Products */
@media (max-width: 1200px) {
    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 900px) {
    .woocommerce .related.products {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    .woocommerce .related.products>h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 600px) {
    .woocommerce .related.products {
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }

    .woocommerce .related.products>h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .woocommerce .related.products ul.products {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .woocommerce .related.products ul.products li.product {
        max-width: 100% !important;
    }
}

/* Ensure related products cards maintain aspect ratio and proper sizing */
.woocommerce .related.products ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.woocommerce .related.products ul.products li.product .woocommerce-loop-product__link {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
}

/* Additional fix for title text wrapping - ensure it displays horizontally */
.woocommerce .related.products ul.products li.product h2.woocommerce-loop-product__title {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    unicode-bidi: normal !important;
    direction: ltr !important;
}

/* Hide default WooCommerce product title since we have hero */
.woocommerce.single-product .entry-title,
.woocommerce.single-product .page-title,
.woocommerce div.product .summary .product_title {
    display: none;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .product-gallery {
        position: static;
    }

    .product-summary {
        padding: 1.5rem;
    }

    .woocommerce div.product .woocommerce-tabs {
        padding-top: 1.5rem;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 0.75rem 0;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .checkout-hero {
        padding: 2rem 1rem;
    }

    .checkout-title {
        font-size: 1.75rem;
    }

    .checkout-subtitle {
        font-size: 1rem;
    }

    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2,
    .woocommerce-checkout #order_review {
        padding: 1.25rem;
    }

    .wc-block-checkout__main,
    .wc-block-checkout__sidebar {
        padding: 1.25rem;
    }

    .wc-block-checkout__sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* Product Reviews Section */
.product-reviews-section {
    padding: 4rem 2rem;
    background-color: var(--color-black);
    border-top: 1px solid var(--color-gray-dark);
    margin-top: 4rem;
}

.product-reviews-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-review-card {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-gray-dark);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transition: var(--transition);
}

.product-review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-red);
}

.product-review-card:hover::before {
    transform: scaleX(1);
}

.product-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.product-review-author {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex: 1;
}

.product-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    border: 2px solid var(--color-gray-dark);
}

.product-review-author-info {
    flex: 1;
    min-width: 0;
}

.product-review-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1.3;
}

.product-review-rating {
    flex-shrink: 0;
}

.product-review-rating .stars {
    color: var(--color-red);
    font-size: 1.125rem;
    letter-spacing: 2px;
    line-height: 1;
    display: block;
}

.product-review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-review-text {
    color: var(--color-gray-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    flex: 1;
}

.product-review-date {
    font-size: 0.8125rem;
    color: var(--color-gray);
    margin: 0;
    font-style: italic;
}

/* Responsive Product Reviews */
@media (max-width: 900px) {
    .product-reviews-section {
        padding: 3rem 1.5rem;
        margin-top: 3rem;
    }

    .product-reviews-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

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

    .product-review-card {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .product-reviews-section {
        padding: 2.5rem 1rem;
        margin-top: 2.5rem;
    }

    .product-reviews-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .product-review-card {
        padding: 1.25rem;
    }
}