/* === WOOCOMMERCE OVERRIDES === */

/* Product Grid */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.best-sellers-section ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover {
    border-color: #e8001d;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(232, 0, 29, 0.12);
}

/* Product Image */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.best-sellers-section ul.products li.product .woocommerce-loop-product__link {
    display: block;
    overflow: hidden;
    position: relative;
    flex: 1;
}

.woocommerce ul.products li.product .product-card-footer,
.best-sellers-section ul.products li.product .product-card-footer {
    margin-top: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link::after,
.best-sellers-section ul.products li.product .woocommerce-loop-product__link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 0, 29, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::after,
.best-sellers-section ul.products li.product:hover .woocommerce-loop-product__link::after {
    opacity: 1;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.best-sellers-section ul.products li.product .woocommerce-loop-product__link img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 !important;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img,
.best-sellers-section ul.products li.product:hover .woocommerce-loop-product__link img {
    transform: scale(1.12);
    filter: brightness(1.05) contrast(1.05);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.best-sellers-section ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.25rem !important;
    color: #ffffff !important;
    padding: 20px 20px 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Rating */
.woocommerce ul.products li.product .star-rating,
.best-sellers-section ul.products li.product .star-rating {
    margin: 6px 20px !important;
    font-size: 0.8125rem !important;
}

.woocommerce .star-rating span::before {
    color: #e8001d !important;
}

/* Price */
.woocommerce ul.products li.product .price,
.best-sellers-section ul.products li.product .price {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.375rem !important;
    color: #e8001d !important;
    padding: 0 20px 20px !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product .price del,
.best-sellers-section ul.products li.product .price del {
    color: #666 !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .price ins,
.best-sellers-section ul.products li.product .price ins {
    text-decoration: none !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.best-sellers-section ul.products li.product .button {
    display: block !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #e8001d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.2s ease !important;
    z-index: 1;
}

.woocommerce ul.products li.product .button::before,
.best-sellers-section ul.products li.product .button::before {
    content: '+ ';
    font-weight: 700;
}

.woocommerce ul.products li.product .button::after,
.best-sellers-section ul.products li.product .button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.woocommerce ul.products li.product .button:hover,
.best-sellers-section ul.products li.product .button:hover {
    background: #c00015 !important;
    transform: translateY(-1px);
}

.woocommerce ul.products li.product .button:hover::after,
.best-sellers-section ul.products li.product .button:hover::after {
    opacity: 1;
}

.woocommerce ul.products li.product .button:active,
.best-sellers-section ul.products li.product .button:active {
    transform: translateY(0);
}

.woocommerce ul.products li.product .added_to_cart {
    display: none !important;
}

/* Best Sellers section: 4 per row */
.best-sellers-section ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.woocommerce div.product {
    padding: 140px 0 80px;
}

/* Two-column layout: image left, summary right */
.woocommerce div.product .images {
    width: 48% !important;
    float: left !important;
}

.woocommerce div.product .summary {
    width: 48% !important;
    float: right !important;
    padding: 32px 36px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    margin-left: 0 !important;
    clear: none !important;
}

.woocommerce div.product .product_title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
    line-height: 1.05;
}

.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocommerce div.product .woocommerce-product-rating .star-rating {
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-product-rating a {
    font-size: 0.8125rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.woocommerce div.product .woocommerce-product-rating a:hover {
    color: #e8001d;
}

/* Price */
.woocommerce div.product p.price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem !important;
    color: #e8001d !important;
    margin-bottom: 1.75rem !important;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.woocommerce div.product p.price del {
    color: #666 !important;
    font-size: 1.75rem !important;
    margin-right: 12px;
}

.woocommerce div.product p.price ins {
    text-decoration: none !important;
}

/* Short Description */
.woocommerce div.product .woocommerce-product-details__short-description {
    color: #c0c0c0;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
}

/* Quantity + Add to Cart */
.woocommerce div.product form.cart {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
}

/* Quantity Stepper - hide native spinners */
.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce .quantity .qty[type='number'] {
    -moz-appearance: textfield;
}

.woocommerce div.product form.cart .quantity {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid #2a2a2a;
    background: #0a0a0a;
}

.woocommerce .quantity .qty {
    width: 72px !important;
    height: 54px;
    padding: 4px 32px;
    font-family: 'Barlow', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: center;
}

.woocommerce div.product form.cart .quantity .qty:focus {
    outline: none;
    box-shadow: none;
}

.woocommerce div.product form.cart .quantity .qty-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    background: transparent;
    font-size: 1.125rem;
    font-weight: 600;
    user-select: none;
    transition: color 0.2s, background 0.2s;
    z-index: 1;
    border: none;
    padding: 0;
    font-family: inherit;
    line-height: 1;
}

.woocommerce div.product form.cart .quantity .qty-btn--minus {
    left: 0;
    border-right: 1px solid #2a2a2a;
}

.woocommerce div.product form.cart .quantity .qty-btn--plus {
    right: 0;
    border-left: 1px solid #2a2a2a;
}

.woocommerce div.product form.cart .quantity .qty-btn:hover {
    color: #e8001d;
    background: rgba(232, 0, 29, 0.08);
}

.woocommerce div.product form.cart .quantity .qty-btn:active {
    background: rgba(232, 0, 29, 0.15);
}

/* Cart quantity stepper with custom +/- buttons */
.woocommerce table.shop_table.cart .quantity {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid #2a2a2a;
    background: #0a0a0a;
}

.woocommerce table.shop_table.cart .quantity .qty {
    width: 80px !important;
    height: 40px;
    padding: 4px 32px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: center;
}

.woocommerce table.shop_table.cart .quantity .qty:focus {
    outline: none;
    box-shadow: none;
}

.woocommerce table.shop_table.cart .quantity .qty-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    user-select: none;
    transition: color 0.2s, background 0.2s;
    z-index: 1;
    border: none;
    padding: 0;
    font-family: inherit;
    line-height: 1;
}

.woocommerce table.shop_table.cart .quantity .qty-btn--minus {
    left: 0;
    border-right: 1px solid #2a2a2a;
}

.woocommerce table.shop_table.cart .quantity .qty-btn--plus {
    right: 0;
    border-left: 1px solid #2a2a2a;
}

.woocommerce table.shop_table.cart .quantity .qty-btn:hover {
    color: #e8001d;
    background: rgba(232, 0, 29, 0.08);
}

.woocommerce table.shop_table.cart .quantity .qty-btn:active {
    background: rgba(232, 0, 29, 0.15);
}

.woocommerce .quantity .qty {
    width: 90px !important;
    height: 54px;
    padding: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    text-align: center;
}

.woocommerce div.product form.cart .button {
    flex: 1;
    min-width: 200px;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.25rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #e8001d !important;
    color: #ffffff !important;
    border: 2px solid #e8001d !important;
    padding: 16px 40px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    text-align: center;
}

.woocommerce div.product form.cart .button:hover {
    background: transparent !important;
    color: #e8001d !important;
}

/* Product Meta */
.woocommerce div.product .product_meta {
    padding-top: 0;
    border-top: none;
}

.woocommerce div.product .product_meta span {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.8125rem;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.woocommerce div.product .product_meta span a {
    color: #e8001d;
    text-transform: none;
    letter-spacing: 0;
}

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

/* Product Gallery */
.woocommerce div.product div.images {
    margin-bottom: 0 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: #e8001d !important;
    border-radius: 0 !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #0a0a0a;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    flex: 1;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs {
    clear: both;
    margin-top: 4rem;
    padding-top: 2rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-color: #2a2a2a !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: #1a1a1a !important;
    border-color: #2a2a2a !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 600;
    color: #c0c0c0 !important;
    padding: 14px 28px !important;
    font-size: 0.9375rem !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #0a0a0a !important;
    border-bottom-color: #0a0a0a !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #e8001d !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-top: none;
    padding: 32px;
    color: #c0c0c0;
    line-height: 1.8;
}

/* Related Products */
.woocommerce div.product .related {
    clear: both;
    padding-top: 3rem;
}

.woocommerce div.product .related h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* onsale badge */
.woocommerce span.onsale {
    background: #e8001d !important;
    color: #ffffff !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.06em;
    min-width: 60px !important;
    min-height: 30px !important;
    line-height: 30px !important;
    padding: 0 12px !important;
    border-radius: 0 !important;
    top: 12px !important;
    left: 12px !important;
    text-transform: uppercase;
}

/* ==========================================
   SINGLE PRODUCT TABS & REVIEWS
   ========================================== */

.woocommerce div.product .woocommerce-tabs {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #2a2a2a;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    margin: 0 0 32px !important;
    padding: 0 !important;
    border-bottom: 1px solid #2a2a2a;
    overflow: visible;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 14px 28px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.0625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666 !important;
    background: transparent;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #c0c0c0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #e8001d !important;
    border-bottom-color: #e8001d;
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 32px !important;
    margin: 0 0 24px !important;
    color: #c0c0c0;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Reviews heading */
.woocommerce-Reviews-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.woocommerce-Reviews {
    max-width: 100%;
}

.woocommerce-Reviews #comments {
    margin-bottom: 32px;
}

.woocommerce-Reviews .woocommerce-noreviews {
    color: #888;
    font-size: 0.9375rem;
    padding: 16px 0;
}

.woocommerce-Reviews .star-rating {
    color: #e8001d;
}

/* Review Form */
#review_form_wrapper {
    border-top: 1px solid #2a2a2a;
    padding-top: 24px;
}

#review_form .comment-reply-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    color: #ffffff;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

#review_form .comment-reply-title small a {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8125rem;
    color: #e8001d;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 12px;
}

#review_form .comment-form-rating label {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#review_form .comment-form-rating .stars {
    margin-bottom: 20px;
}

#review_form .comment-form-rating .stars a {
    color: #555;
    font-size: 1.25rem;
    transition: color 0.2s;
}

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

#review_form .comment-form-comment label {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#review_form .comment-form-comment textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 0;
    color: #c0c0c0;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.3s;
    resize: vertical;
}

#review_form .comment-form-comment textarea:focus {
    outline: none;
    border-color: #e8001d;
}

#review_form .form-submit .submit {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e8001d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 36px !important;
    cursor: pointer;
    transition: background 0.3s ease;
}

#review_form .form-submit .submit:hover {
    background: #c00015 !important;
}

/* Comment list in reviews */
.woocommerce-Reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-Reviews .commentlist li {
    padding: 20px 0;
    border-bottom: 1px solid #2a2a2a;
}

.woocommerce-Reviews .commentlist li:last-child {
    border-bottom: none;
}

.woocommerce-Reviews .commentlist li .comment-text {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.woocommerce-Reviews .commentlist li .comment-text .meta {
    color: #888;
    font-size: 0.8125rem;
}

.woocommerce-Reviews .commentlist li .comment-text .description {
    color: #c0c0c0;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 8px;
}

/* ==========================================
   SHOP / ARCHIVE FILTER BAR
   ========================================== */

.ironforge-filter-bar {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.ironforge-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
}

.filter-group label {
    display: block;
    color: #888;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    font-family: 'Barlow', sans-serif;
}

.filter-group input,
.filter-group select {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    color: #ffffff;
    padding: 10px 12px;
    font-size: 0.875rem;
    font-family: 'Barlow', sans-serif;
    transition: border-color 0.2s ease;
    outline: none;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: #e8001d;
}

.filter-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Search group with button */
.filter-search {
    display: flex;
    position: relative;
}

.filter-search input {
    padding-right: 44px;
}

.filter-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.filter-search-btn:hover {
    color: #e8001d;
}

/* Price inputs side by side */
.filter-price .price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-price .price-inputs input {
    flex: 1;
    min-width: 0;
}

.price-separator {
    color: #555;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Filter actions row */
.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.filter-btn {
    padding: 10px 28px;
    background: #e8001d;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-btn:hover {
    background: #c00015;
}

.filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 0.8125rem;
    font-family: 'Barlow', sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

.filter-reset:hover {
    color: #e8001d;
}

/* Result count */
.ironforge-result-count {
    color: #888;
    font-size: 0.875rem;
    font-family: 'Barlow', sans-serif;
    margin-bottom: 20px;
}

/* No results state */
.ironforge-no-results {
    text-align: center;
    padding: 80px 20px;
}

.ironforge-no-results svg {
    margin-bottom: 20px;
}

.ironforge-no-results h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ironforge-no-results p {
    color: #888;
    font-size: 1rem;
    margin-bottom: 24px;
}

.woocommerce .shop-header .archive-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
}

.woocommerce .shop-header .term-description {
    color: #888;
    font-size: 1rem;
    font-family: 'Barlow', sans-serif;
}

/* ==========================================
   CART PAGE
   ========================================== */

/* --- Layout --- */
.woocommerce-cart .page-content {
    padding: 140px 0 80px;
}

.woocommerce-cart .entry-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.woocommerce-cart .entry-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e8001d;
    margin-top: 12px;
}

.woocommerce-cart .entry-content {
    margin-top: 2rem;
}

/* Two-column layout */
.woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.woocommerce-cart .woocommerce-cart-form {
    flex: 1 1 60%;
    min-width: 0;
}

.woocommerce-cart .cart-collaterals {
    flex: 1 1 20%;
    min-width: 280px;
    float: none !important;
    width: auto !important;
}

/* --- Table --- */
.woocommerce table.shop_table.cart {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 4px !important;
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

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

.woocommerce table.shop_table.cart tbody tr {
    display: grid;
    grid-template-columns: 80px 1fr 70px auto;
    grid-template-rows: auto auto;
    grid-template-areas:
        "thumb info   subtotal remove"
        "thumb qty    subtotal remove";
    gap: 4px 16px;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
}

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

.woocommerce table.shop_table.cart td {
    border: none !important;
    padding: 0 !important;
    color: #c0c0c0;
    vertical-align: middle;
}

/* Thumbnail */
.woocommerce table.shop_table.cart td.product-thumbnail {
    grid-area: thumb;
}

.woocommerce table.shop_table.cart td.product-thumbnail a {
    display: block;
}

.woocommerce table.shop_table.cart td.product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #2a2a2a;
}

/* Product Name */
.woocommerce table.shop_table.cart td.product-name {
    grid-area: info;
}

.woocommerce table.shop_table.cart td.product-name a {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 4px;
}

.woocommerce table.shop_table.cart td.product-name a:hover {
    color: #e8001d;
}

.woocommerce table.shop_table.cart dl.variation {
    font-size: 0.8125rem;
    color: #888;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.woocommerce table.shop_table.cart dl.variation dt {
    display: inline;
    font-weight: 600;
    color: #aaa;
}

.woocommerce table.shop_table.cart dl.variation dd {
    display: inline;
    margin: 0;
}

.woocommerce table.shop_table.cart .product-name .product-quantity {
    display: inline-block;
    font-size: 0.8125rem;
    color: #888;
    margin-top: 4px;
}

/* Price & Subtotal */
.woocommerce table.shop_table.cart td.product-price {
    display: none;
}

.woocommerce table.shop_table.cart td.product-subtotal {
    grid-area: subtotal;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.375rem;
    color: #e8001d;
    text-align: right;
    align-self: center;
    justify-self: end;
}

/* Quantity */
.woocommerce table.shop_table.cart td.product-quantity {
    grid-area: qty;
    justify-self: start;
    align-self: start;
    margin-top: 8px;
}

.woocommerce table.shop_table.cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #2a2a2a;
    background: #0a0a0a;
}

.woocommerce table.shop_table.cart .quantity .qty {
    height: 40px;
    padding: 4px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: center;
}

/* Remove button */
.woocommerce table.shop_table.cart td.product-remove {
    grid-area: remove;
    align-self: center;
    justify-self: end;
}

.woocommerce table.shop_table.cart td.product-remove .remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 1.125rem;
    font-weight: 400;
    color: #666 !important;
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.woocommerce table.shop_table.cart td.product-remove .remove:hover {
    color: #e8001d !important;
    border-color: #e8001d;
    background: rgba(232, 0, 29, 0.1);
}

/* --- Cart Actions hidden (auto-update via JS on quantity change) --- */
.woocommerce table.shop_table.cart .actions {
    display: none !important;
}

.woocommerce-cart .actions button.button[name="update_cart"] {
    height: 44px;
    padding: 0 32px !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent !important;
    color: #c0c0c0 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    line-height: 44px;
}

.woocommerce-cart .actions button.button[name="update_cart"]:hover {
    border-color: #e8001d !important;
    color: #e8001d !important;
}

.woocommerce-cart .actions button.button[name="update_cart"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Coupon (right column) --- */
.woocommerce-cart .cart-collaterals .coupon {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
    padding: 24px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
}

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

.woocommerce-cart .cart-collaterals .coupon input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-bottom: none;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}

.woocommerce-cart .cart-collaterals .coupon input[type="text"]:focus {
    border-color: #e8001d;
}

.woocommerce-cart .cart-collaterals .coupon input[type="text"]::placeholder {
    color: rgba(192, 192, 192, 0.4);
}

.woocommerce-cart .cart-collaterals .coupon button.button {
    width: 100%;
    height: 44px;
    padding: 0 20px !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e8001d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    transition: background 0.3s ease !important;
    line-height: 44px;
    white-space: nowrap;
}

.woocommerce-cart .cart-collaterals .coupon button.button:hover {
    background: #c00015 !important;
}

/* --- Cart Totals --- */
.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
}

.woocommerce-cart .cart_totals h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8001d;
}

.woocommerce-cart .cart_totals table.shop_table {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 4px !important;
    margin-bottom: 1.5rem !important;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-cart .cart_totals table.shop_table tr {
    border-bottom: 1px solid #2a2a2a;
}

.woocommerce-cart .cart_totals table.shop_table tr:last-child {
    border-bottom: none;
}

.woocommerce-cart .cart_totals table.shop_table th {
    padding: 14px 20px !important;
    color: #c0c0c0;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
    padding: 14px 20px !important;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    text-align: right;
    border: none !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.shipping td {
    color: #c0c0c0;
    font-size: 0.875rem;
}

.woocommerce-cart .cart_totals table.shop_table tr.shipping .woocommerce-shipping-methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-cart .cart_totals table.shop_table tr.shipping .woocommerce-shipping-methods li {
    margin-bottom: 4px;
}

.woocommerce-cart .cart_totals table.shop_table tr.shipping .woocommerce-shipping-methods li:last-child {
    margin-bottom: 0;
}

.woocommerce-cart .cart_totals table.shop_table tr.shipping a {
    color: #e8001d;
    font-size: 0.8125rem;
    text-decoration: underline;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total {
    border-top: 2px solid #e8001d;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total th {
    color: #ffffff;
    font-weight: 700;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    color: #e8001d !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.625rem !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
    margin-top: 8px;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-calculator .shipping-calculator-button {
    color: #e8001d;
    font-size: 0.8125rem;
    text-decoration: underline;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-calculator .shipping-calculator-form {
    margin-top: 12px;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-calculator .shipping-calculator-form select,
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator .shipping-calculator-form input {
    width: 100%;
    padding: 10px 14px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    margin-bottom: 8px;
    outline: none;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-calculator .shipping-calculator-form select:focus,
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator .shipping-calculator-form input:focus {
    border-color: #e8001d;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-calculator .shipping-calculator-form button {
    width: 100%;
    height: 44px;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent !important;
    color: #c0c0c0 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-calculator .shipping-calculator-form button:hover {
    border-color: #e8001d !important;
    color: #e8001d !important;
}

/* Proceed to Checkout */
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0 !important;
    margin-top: 1.5rem;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    height: 54px;
    line-height: 54px;
    padding: 0 24px;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.125rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #e8001d !important;
    color: #ffffff !important;
    border: 2px solid #e8001d !important;
    border-radius: 0 !important;
    text-align: center;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: transparent !important;
    color: #e8001d !important;
}

/* --- Empty Cart --- */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 80px 20px 40px !important;
    font-family: 'Barlow', sans-serif;
    font-size: 1.125rem;
    color: #c0c0c0;
    background: #1a1a1a;
    border: 1px solid #2a2a2a !important;
    border-radius: 4px;
    max-width: 600px;
    margin: 0 auto 1.5rem !important;
}

.woocommerce-cart .cart-empty::before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23e8001d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    padding: 20px 0 60px;
}

.woocommerce-cart .return-to-shop .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 32px;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e8001d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    text-decoration: none;
    transition: background 0.3s ease !important;
}

.woocommerce-cart .return-to-shop .button:hover {
    background: #c00015 !important;
}

/* --- Cross-sells --- */
.woocommerce-cart .cross-sells {
    clear: both;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #2a2a2a;
    width: 100%;
}

.woocommerce-cart .cross-sells h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.woocommerce-cart .cross-sells h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #e8001d;
    margin-top: 10px;
    margin-bottom: 1.5rem;
}

.woocommerce-cart .cross-sells ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- Cart Totals: Tax label --- */
.woocommerce-cart .cart_totals .tax_label {
    color: #888;
}

/* --- Update notice (top of cart) --- */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-left: 3px solid #e8001d;
    color: #c0c0c0;
    padding: 14px 20px !important;
    margin-bottom: 1.5rem !important;
    font-size: 0.9375rem;
    border-radius: 0;
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before {
    color: #e8001d;
}

.woocommerce-cart .woocommerce-message a,
.woocommerce-cart .woocommerce-info a {
    color: #e8001d;
    font-weight: 600;
}

/* --- General button overrides (shared) --- */
.woocommerce button.button {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e8001d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 24px !important;
    transition: background 0.3s ease !important;
}

.woocommerce button.button:hover {
    background: #c00015 !important;
}

.woocommerce button.button.alt {
    background: #e8001d !important;
}

.woocommerce button.button.alt:hover {
    background: #c00015 !important;
}

/* ==========================================
   CHECKOUT
   ========================================== */

.woocommerce-checkout .page-content {
    padding: 120px 0 60px;
}

.woocommerce-checkout h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
}

.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    color: #ffffff !important;
    padding: 12px !important;
    font-family: 'Barlow', sans-serif;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #e8001d !important;
}

.woocommerce form .form-row label {
    color: #c0c0c0;
    font-size: 0.875rem;
    margin-bottom: 4px;
    display: block;
}

/* ==========================================
   CHECKOUT PAGE
   ========================================== */

/* Layout: two columns */
.checkout-columns {
    gap: 48px;
    align-items: flex-start;
}

.checkout-column-left {
    flex: 1;
    min-width: 0;
}

.checkout-column-right {
    flex: 0 0 420px;
    min-width: 0;
}

/* Section headers */
.woocommerce-checkout h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8001d;
    display: inline-block;
}

/* Checkout coupon */
.woocommerce-checkout .checkout_coupon {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    padding: 28px !important;
    margin-bottom: 32px !important;
}

.woocommerce-checkout .checkout_coupon p {
    width: 100%;
    margin: 0 0 12px;
    color: #c0c0c0;
    font-size: 0.875rem;
    font-family: 'Barlow', sans-serif;
}

.woocommerce-checkout .checkout_coupon .form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}

.woocommerce-checkout .checkout_coupon .form-row-first {
    flex: 1;
    min-width: 160px;
}

.woocommerce-checkout .checkout_coupon .form-row-last {
    flex: 0 0 auto;
}

.woocommerce-checkout .checkout_coupon input[type="text"] {
    height: 48px;
    padding: 0 16px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.3s;
}

.woocommerce-checkout .checkout_coupon input[type="text"]:focus {
    outline: none;
    border-color: #e8001d;
    box-shadow: 0 0 0 2px rgba(232, 0, 29, 0.15);
}

.woocommerce-checkout .checkout_coupon button {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e8001d;
    color: #ffffff;
    border: 2px solid #e8001d;
    border-radius: 4px;
    padding: 0 32px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.woocommerce-checkout .checkout_coupon button:hover {
    background: transparent;
    color: #e8001d;
}

/* Customer details sections (billing & shipping) */
.woocommerce-checkout .col2-set {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 32px;
    transition: border-color 0.3s;
}

.woocommerce-checkout .col2-set .col-1:hover,
.woocommerce-checkout .col2-set .col-2:hover {
    border-color: #333;
}

.woocommerce-checkout .col2-set h3 {
    margin-top: 0;
}

/* Form rows */
.woocommerce-checkout .form-row {
    margin-bottom: 18px !important;
}

.woocommerce-checkout .form-row label {
    color: #c0c0c0;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    display: block;
}

.woocommerce-checkout .form-row .required {
    color: #e8001d;
    border: none;
    font-weight: 700;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    padding: 14px 16px !important;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    outline: none;
    border-color: #e8001d;
    box-shadow: 0 0 0 3px rgba(232, 0, 29, 0.12);
}

.woocommerce-checkout .form-row .select2-container .select2-selection--single {
    height: 48px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
}

.woocommerce-checkout .form-row .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    color: #ffffff;
    padding-left: 16px;
    font-size: 0.9375rem;
}

.woocommerce-checkout .form-row .select2-container .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px;
}

.woocommerce-checkout .form-row .select2-container--open .select2-selection--single {
    border-color: #e8001d;
    box-shadow: 0 0 0 3px rgba(232, 0, 29, 0.12);
}

.woocommerce-checkout .select2-dropdown {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    margin-top: 4px;
}

.woocommerce-checkout .select2-results__option {
    color: #c0c0c0;
    padding: 10px 16px;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.woocommerce-checkout .select2-results__option--highlighted {
    background: #e8001d !important;
    color: #ffffff !important;
}

.woocommerce-checkout .select2-results__option[aria-selected="true"] {
    background: #2a2a2a;
    color: #ffffff;
}

/* Shipping section */
.woocommerce-checkout #ship-to-different-address {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.woocommerce-checkout #ship-to-different-address label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.125rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.woocommerce-checkout #ship-to-different-address input[type="checkbox"] {
    accent-color: #e8001d;
    margin-right: 8px;
    transform: scale(1.1);
}

.woocommerce-checkout .woocommerce-shipping-fields h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
}

.woocommerce-checkout .woocommerce-shipping-fields .shipping_address {
    margin-top: 16px;
}

/* Shipping methods */
.woocommerce-checkout .woocommerce-shipping-methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li {
    margin-bottom: 8px;
    padding: 10px 14px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.woocommerce-checkout .woocommerce-shipping-methods li:hover {
    border-color: #444;
}

.woocommerce-checkout .woocommerce-shipping-methods li:last-child {
    margin-bottom: 0;
}

.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"] {
    accent-color: #e8001d;
    margin-right: 10px;
}

.woocommerce-checkout .woocommerce-shipping-methods label {
    color: #ffffff;
    font-size: 0.875rem;
    cursor: pointer;
}

#shipping_method {
    list-style: none;
    margin: 8px 0;
    padding: 0;
}

#shipping_method li {
    margin-bottom: 6px;
    padding: 10px 14px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
}

#shipping_method li:hover {
    border-color: #444;
}

#shipping_method input[type="radio"] {
    accent-color: #e8001d;
    margin-right: 10px;
}

#shipping_method label {
    color: #ffffff;
    font-size: 0.875rem;
    cursor: pointer;
}

/* Order review panel (right column) */
.woocommerce-checkout #order_review_heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8001d;
    display: inline-block;
}

.woocommerce-checkout #order_review {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
}

/* Order review table */
#order_review .shop_table {
    border: none !important;
    border-radius: 0;
    margin-bottom: 20px;
}

#order_review .shop_table thead th {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    background: transparent;
    border-bottom: 1px solid #2a2a2a;
    padding: 8px 0 12px;
}

#order_review .shop_table thead .product-total {
    text-align: right;
}

#order_review .shop_table tbody td {
    color: #c0c0c0;
    border-bottom: 1px solid #1f1f1f;
    padding: 14px 0;
    background: transparent !important;
    vertical-align: middle;
}

#order_review .shop_table tbody tr:last-child td {
    border-bottom: none;
}

#order_review .shop_table tbody .product-name {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
}

#order_review .shop_table tbody .product-total {
    text-align: right;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 600;
}

/* Product thumbnails in review order */
.checkout-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.checkout-product-thumb {
    flex-shrink: 0;
}

.checkout-item-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #2a2a2a;
}

.checkout-product-name {
    display: inline;
    color: #ffffff;
    font-weight: 500;
}

.checkout-product-name .product-quantity {
    color: #888;
    font-size: 0.8125rem;
    font-weight: 400;
}

#order_review .shop_table tbody .product-name dl.variation {
    margin: 6px 0 0 70px;
    font-size: 0.8125rem;
    color: #888;
}

#order_review .shop_table tbody .product-name dl.variation dt {
    display: inline;
    font-weight: 600;
}

#order_review .shop_table tbody .product-name dl.variation dd {
    display: inline;
    margin: 0 12px 0 2px;
}

#order_review .shop_table tfoot th {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8125rem;
    color: #888;
    border-bottom: 1px solid #1f1f1f;
    padding: 10px 0;
    background: transparent !important;
}

#order_review .shop_table tfoot td {
    text-align: right;
    color: #c0c0c0;
    border-bottom: 1px solid #1f1f1f;
    padding: 10px 0;
    background: transparent !important;
    font-size: 0.875rem;
}

#order_review .shop_table tfoot .cart-subtotal th,
#order_review .shop_table tfoot .cart-subtotal td {
    padding-top: 16px;
}

#order_review .shop_table tfoot .order-total th,
#order_review .shop_table tfoot .order-total td {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.375rem;
    color: #ffffff;
    border-bottom: none;
    padding-top: 16px;
}

#order_review .shop_table tfoot .order-total .amount {
    color: #e8001d;
    font-size: 1.5rem;
}

/* Coupon discount in totals */
#order_review .shop_table tfoot .cart-discount td {
    color: #4caf50;
}

#order_review .shop_table tfoot .cart-discount .amount {
    color: #4caf50;
}

/* Shipping in totals */
#order_review .shop_table tfoot tr.shipping td {
    color: #c0c0c0;
}

/* Payment methods */
.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
}

.woocommerce-checkout #payment .payment_methods {
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
    overflow: hidden;
}

.woocommerce-checkout #payment .payment_methods li {
    border-bottom: 1px solid #1f1f1f;
    padding: 18px 20px;
    background: transparent;
    margin: 0;
    transition: background 0.2s;
}

.woocommerce-checkout #payment .payment_methods li:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

.woocommerce-checkout #payment .payment_methods li .input-radio {
    accent-color: #e8001d;
    margin-right: 12px;
    transform: scale(1.15);
}

.woocommerce-checkout #payment .payment_methods li label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
}

.woocommerce-checkout #payment .payment_methods li .payment_box {
    background: #0a0a0a !important;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    margin: 14px 0 0 28px !important;
    padding: 18px !important;
    color: #c0c0c0;
    font-size: 0.875rem;
    line-height: 1.7;
}

.woocommerce-checkout #payment .payment_methods li .payment_box::before {
    border-bottom-color: #2a2a2a !important;
}

/* Payment method icons */
.woocommerce-checkout #payment .payment_methods li label img {
    margin-left: 8px;
    max-height: 24px;
    width: auto;
    vertical-align: middle;
}

/* Place order button */
.woocommerce-checkout #payment .place-order {
    padding: 0;
    margin: 0;
}

.woocommerce-checkout #payment .place-order .button,
.woocommerce-checkout .ironforge-place-order {
    width: 100%;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.375rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: #e8001d !important;
    color: #ffffff !important;
    border: 2px solid #e8001d !important;
    border-radius: 6px !important;
    padding: 18px 32px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.woocommerce-checkout #payment .place-order .button:hover,
.woocommerce-checkout .ironforge-place-order:hover {
    background: transparent !important;
    color: #e8001d !important;
    box-shadow: 0 0 30px rgba(232, 0, 29, 0.2);
    transform: translateY(-1px);
}

.woocommerce-checkout #payment .place-order .button:active,
.woocommerce-checkout .ironforge-place-order:active {
    transform: scale(0.98) translateY(0);
}

/* Terms & conditions / privacy */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 20px;
    padding: 16px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .input-checkbox {
    accent-color: #e8001d;
    margin-right: 10px;
    transform: scale(1.1);
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
    color: #c0c0c0;
    font-size: 0.875rem;
    cursor: pointer;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label a {
    color: #e8001d;
    text-decoration: underline;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label a:hover {
    color: #ff1a33;
}

.woocommerce-checkout .woocommerce-terms-and-conditions {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 16px;
    margin-top: 12px;
    max-height: 160px;
    overflow-y: auto;
    font-size: 0.8125rem;
    color: #888;
}

.woocommerce-checkout .woocommerce-terms-and-conditions::-webkit-scrollbar {
    width: 6px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.woocommerce-checkout .woocommerce-terms-and-conditions::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 0.8125rem;
    color: #888;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: #e8001d;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a:hover {
    color: #ff1a33;
}

/* Notices / error messages */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-left: 3px solid #e8001d;
    color: #c0c0c0;
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
    border-radius: 6px;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.woocommerce-checkout .woocommerce-message {
    border-left-color: #4caf50;
}

.woocommerce-checkout .woocommerce-error::before,
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before {
    color: #e8001d;
    top: 16px !important;
    left: 16px !important;
}

.woocommerce-checkout .woocommerce-message::before {
    color: #4caf50;
}

.woocommerce-checkout .woocommerce-error li {
    list-style: none;
    margin-bottom: 4px;
}

.woocommerce-checkout .woocommerce-error li:last-child {
    margin-bottom: 0;
}

/* Login form on checkout */
.woocommerce-checkout .woocommerce-form-login {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 28px;
}

.woocommerce-checkout .woocommerce-form-login .form-row {
    margin-bottom: 14px !important;
}

.woocommerce-checkout .woocommerce-form-login .button {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9375rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e8001d;
    color: #ffffff;
    border: 2px solid #e8001d;
    border-radius: 4px;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s;
}

.woocommerce-checkout .woocommerce-form-login .button:hover {
    background: transparent;
    color: #e8001d;
}

.woocommerce-checkout .woocommerce-form-login .lost_password {
    margin-top: 12px;
}

.woocommerce-checkout .woocommerce-form-login .lost_password a {
    color: #e8001d;
    font-size: 0.8125rem;
}

.woocommerce-checkout .woocommerce-form-login .lost_password a:hover {
    color: #ff1a33;
}

/* Password strength */
.woocommerce-password-strength {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #c0c0c0;
    padding: 10px 14px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.woocommerce-password-strength.strong {
    border-color: #4caf50;
    color: #4caf50;
}

.woocommerce-password-strength.good {
    border-color: #2196f3;
    color: #2196f3;
}

.woocommerce-password-strength.short {
    border-color: #ff9800;
    color: #ff9800;
}

.woocommerce-password-strength.bad {
    border-color: #e8001d;
    color: #e8001d;
}

/* Checkout page top padding */
.woocommerce-checkout .page-content {
    padding: 120px 0 60px;
}

/* ==========================================
   ORDER RECEIVED (THANK YOU PAGE)
   ========================================== */

/* Top success message */
.ironforge-order-received {
    text-align: center;
    padding: 48px 20px 40px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #0d1a0d, #1a1a1a);
    border: 1px solid #1f3a1f;
    border-radius: 12px;
}

.ironforge-order-received-icon {
    display: block;
    margin-bottom: 20px;
}

.ironforge-order-received-icon svg {
    animation: ironforge-check-bounce 0.6s ease-out;
}

@keyframes ironforge-check-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ironforge-order-received .woocommerce-thankyou-order-received {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

/* Order overview cards */
.ironforge-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 0 0 48px;
    padding: 0;
    list-style: none;
}

.ironforge-order-overview li {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.ironforge-order-overview li:hover {
    border-color: #444;
    transform: translateY(-2px);
}

.ironforge-order-overview-label {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 0.8125rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.ironforge-order-overview-value {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.ironforge-order-overview__total .ironforge-order-overview-value {
    color: #e8001d;
    font-size: 1.375rem;
}

/* Order failed state */
.ironforge-order-failed {
    text-align: center;
    padding: 48px 20px 40px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1a0d0d, #1a1a1a);
    border: 1px solid #3a1f1f;
    border-radius: 12px;
}

.ironforge-order-failed-icon {
    display: block;
    margin-bottom: 20px;
}

.ironforge-order-failed .woocommerce-thankyou-order-failed {
    font-family: 'Barlow', sans-serif;
    font-size: 1.125rem;
    color: #c0c0c0;
    margin: 0 0 24px;
    padding: 0;
    border: none;
    background: none;
    line-height: 1.6;
}

.ironforge-order-failed-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ironforge-btn {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.ironforge-btn-primary {
    background: #e8001d;
    color: #ffffff;
    border: 2px solid #e8001d;
}

.ironforge-btn-primary:hover {
    background: transparent;
    color: #e8001d;
}

.ironforge-btn-secondary {
    background: transparent;
    color: #c0c0c0;
    border: 2px solid #333;
}

.ironforge-btn-secondary:hover {
    border-color: #e8001d;
    color: #e8001d;
}

/* Section titles */
.ironforge-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8001d;
    display: inline-block;
}

/* Order details section */
.ironforge-order-details {
    margin-bottom: 48px;
}

.ironforge-order-table-wrap {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 24px;
    overflow-x: auto;
}

.ironforge-order-table {
    border: none !important;
    border-radius: 0;
    margin: 0 !important;
    width: 100%;
}

.ironforge-order-table thead th {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    background: transparent;
    border-bottom: 1px solid #2a2a2a;
    padding: 8px 0 12px;
}

.ironforge-order-table thead .product-total {
    text-align: right;
}

.ironforge-order-table tbody td {
    color: #c0c0c0;
    border-bottom: 1px solid #1f1f1f;
    padding: 14px 0;
    background: transparent !important;
    vertical-align: middle;
}

.ironforge-order-table tbody tr:last-child td {
    border-bottom: none;
}

.ironforge-order-table tbody .product-name {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    color: #ffffff;
}

.ironforge-order-table tbody .product-total {
    text-align: right;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 600;
}

/* Order item details */
.woocommerce-table--order-details td.product-name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce-table--order-details td.product-name a:hover {
    color: #e8001d;
}

.woocommerce-table--order-details td.product-name .product-quantity {
    color: #888;
    font-size: 0.8125rem;
    font-weight: 400;
}

.woocommerce-table--order-details td.product-name dl.variation {
    margin: 6px 0 0;
    font-size: 0.8125rem;
    color: #888;
}

.woocommerce-table--order-details td.product-name dl.variation dt {
    display: inline;
    font-weight: 600;
}

.woocommerce-table--order-details td.product-name dl.variation dd {
    display: inline;
    margin: 0 12px 0 2px;
}

.woocommerce-table--order-details td.product-name .wc-item-meta {
    margin: 6px 0 0;
    font-size: 0.8125rem;
    color: #888;
    list-style: none;
    padding: 0;
}

.woocommerce-table--order-details td.product-name .wc-item-meta li {
    margin-bottom: 2px;
}

/* Order totals (tfoot) */
.ironforge-order-table tfoot tr {
    border: none;
}

.ironforge-order-table tfoot th {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8125rem;
    color: #888;
    border-bottom: 1px solid #1f1f1f;
    padding: 10px 0;
    background: transparent !important;
}

.ironforge-order-table tfoot td {
    text-align: right;
    color: #c0c0c0;
    border-bottom: 1px solid #1f1f1f;
    padding: 10px 0;
    background: transparent !important;
    font-size: 0.875rem;
}

.ironforge-order-total-row--order_total th,
.ironforge-order-total-row--order_total td {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.375rem !important;
    color: #ffffff !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}

.ironforge-order-total-row--order_total td {
    color: #e8001d !important;
    font-size: 1.5rem !important;
}

/* Customer details section */
.ironforge-customer-details {
    margin-bottom: 48px;
}

.ironforge-customer-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ironforge-customer-address {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 28px;
    transition: border-color 0.3s;
}

.ironforge-customer-address:hover {
    border-color: #444;
}

.ironforge-customer-address-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.125rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

.ironforge-customer-address-content {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    color: #c0c0c0;
    line-height: 1.7;
    font-style: normal;
}

.ironforge-customer-address-content .woocommerce-customer-details--phone,
.ironforge-customer-address-content .woocommerce-customer-details--email {
    margin: 8px 0 0;
    color: #888;
    font-size: 0.875rem;
}

/* PayPal / gateway-specific output on thankyou */
.woocommerce-order>p:not(.woocommerce-thankyou-order-received):not(.woocommerce-thankyou-order-failed) {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 16px;
}

.woocommerce-order ul:not(.woocommerce-order-overview):not(.wc-item-meta) {
    list-style: disc;
    padding-left: 20px;
    color: #c0c0c0;
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.woocommerce-order ul:not(.woocommerce-order-overview):not(.wc-item-meta) li {
    margin-bottom: 4px;
}

.woocommerce-order a {
    color: #e8001d;
    text-decoration: underline;
}

.woocommerce-order a:hover {
    color: #ff1a33;
}

/* Downloads table on thankyou */
.woocommerce-order-downloads {
    margin-bottom: 48px;
}

.woocommerce-order-downloads table {
    background: #1a1a1a;
    border: 1px solid #2a2a2a !important;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-order-downloads table th {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    background: transparent;
    border-bottom: 1px solid #2a2a2a;
    padding: 12px !important;
}

.woocommerce-order-downloads table td {
    color: #c0c0c0;
    border-bottom: 1px solid #1f1f1f;
    padding: 12px !important;
    background: transparent !important;
}

.woocommerce-order-downloads table td a {
    color: #e8001d;
    text-decoration: none;
}

.woocommerce-order-downloads table td a:hover {
    color: #ff1a33;
    text-decoration: underline;
}

/* Responsive order-overview */
@media (max-width: 768px) {
    .ironforge-order-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .ironforge-order-received .woocommerce-thankyou-order-received {
        font-size: 1.5rem;
    }

    .ironforge-order-received {
        padding: 32px 16px 28px;
    }
}

@media (max-width: 480px) {
    .ironforge-order-overview {
        grid-template-columns: 1fr;
    }

    .ironforge-customer-details-grid {
        grid-template-columns: 1fr;
    }
}

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

    .best-sellers-section ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .ironforge-filter-form {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .filter-actions {
        width: 100%;
        justify-content: space-between;
    }

    .woocommerce div.product .images {
        width: 100% !important;
        float: none !important;
        margin-bottom: 32px !important;
    }

    .woocommerce div.product .summary {
        width: 100% !important;
        float: none !important;
        padding: 28px 24px;
    }

    .woocommerce div.product .product_title {
        font-size: 2.5rem;
    }

    .woocommerce div.product p.price {
        font-size: 2.5rem !important;
    }

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

    .woocommerce-cart .woocommerce-cart-form {
        flex: 1 1 100%;
    }

    .woocommerce-cart .cart-collaterals {
        flex: 1 1 100%;
        min-width: 0;
    }

    .woocommerce-cart .cross-sells ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkout-columns {
        flex-direction: column;
    }

    .checkout-column-right {
        flex: 1 1 100%;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        flex: 1 1 100%;
        min-width: 0;
        padding: 24px;
    }
}

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

    .best-sellers-section ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce div.product .images {
        width: 100% !important;
        float: none !important;
        margin-bottom: 24px !important;
    }

    .woocommerce div.product .summary {
        width: 100% !important;
        float: none !important;
        padding: 24px 20px;
    }

    .woocommerce div.product .product_title {
        font-size: 2rem;
    }

    .woocommerce div.product p.price {
        font-size: 2rem !important;
    }

    .woocommerce div.product form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce div.product form.cart .quantity {
        width: 100%;
    }

    .woocommerce .quantity .qty {
        width: 100% !important;
    }

    .woocommerce div.product form.cart .button {
        width: 100%;
        min-width: auto;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 10px 16px !important;
        font-size: 0.8125rem !important;
    }

    .woocommerce div.product .woocommerce-tabs .panel {
        padding: 20px;
    }

    /* Filter responsive */
    .ironforge-filter-bar {
        padding: 16px;
    }

    .ironforge-filter-form {
        flex-direction: column;
        gap: 10px;
    }

    .filter-group {
        min-width: 100%;
    }

    .filter-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .filter-actions .filter-btn {
        width: 100%;
        text-align: center;
    }

    .filter-reset {
        justify-content: center;
    }

    .price-inputs {
        flex-direction: row;
    }

    /* Pagination responsive */
    .woocommerce nav.woocommerce-pagination ul {
        flex-wrap: wrap;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    /* Cart responsive (768px) */
    .woocommerce-cart .page-content {
        padding: 100px 0 40px;
    }

    .woocommerce-cart .entry-title {
        font-size: 2.25rem;
    }

    .woocommerce table.shop_table.cart tbody tr {
        grid-template-columns: 64px 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "thumb info   subtotal"
            "thumb qty    remove";
        gap: 4px 12px;
        padding: 16px;
    }

    .woocommerce table.shop_table.cart td.product-thumbnail img {
        width: 64px !important;
        height: 64px !important;
    }

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

    .woocommerce table.shop_table.cart td.product-remove {
        justify-self: end;
        align-self: center;
    }

    .woocommerce table.shop_table.cart td.product-quantity {
        justify-self: start;
        align-self: center;
        margin-top: 0;
    }

    .woocommerce-cart .cart .actions {
        flex-direction: row;
        justify-content: center;
    }

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

    .woocommerce-cart .cross-sells ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce-cart .cart_totals h2 {
        font-size: 1.25rem;
    }

    .woocommerce-cart .cart_totals table.shop_table tr.order-total td {
        font-size: 1.375rem !important;
    }

    .woocommerce-cart .wc-proceed-to-checkout .checkout-button {
        height: 48px;
        line-height: 48px;
        font-size: 1rem !important;
    }

    /* Checkout responsive */
    .checkout-columns {
        flex-direction: column;
    }

    .checkout-column-right {
        flex: 1 1 100%;
    }

    .woocommerce-checkout .col2-set {
        flex-direction: column;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        flex: 1 1 100%;
        min-width: 0;
        padding: 20px;
    }

    .woocommerce-checkout #order_review {
        padding: 20px;
    }

    .woocommerce-checkout #payment .payment_methods li {
        padding: 12px 16px;
    }

    .woocommerce-checkout #payment .place-order .button {
        font-size: 1.0625rem;
        padding: 14px 24px !important;
    }

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

    .checkout-product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (min-width: 769px) {

    /* Shop header */
    .woocommerce .shop-header {
        padding: 140px 0 10px;
    }

    .filter-group {
        flex: 1 1 160px;
        min-width: 140px;
    }

    .checkout-columns {
        display: flex;
    }
}