/* ============================================================
   TROCHA — WooCommerce overrides
   ============================================================ */

/* mini cart widget */
.widget_shopping_cart .total {
    border-top: 1px solid #2a1f15;
    padding-top: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.08em;
    color: #c49a3c;
}

.widget_shopping_cart .buttons a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid #2a1f15;
    padding: 0.5rem 1rem;
    color: #d4cdc0;
    margin-right: 0.5rem;
    transition: all 0.2s;
}

.widget_shopping_cart .buttons a:hover {
    border-color: #c49a3c;
    color: #c49a3c;
}

/* product gallery */
.woocommerce-product-gallery {
    border: 1px solid #2a1f15;
    background: #15100c;
}

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

.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 1;
    list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    border: 1px solid #2a1f15;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
}

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

/* star ratings */
.star-rating {
    color: #c49a3c;
}

/* related products */
.related.products {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2a1f15;
}

.related.products h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.1em;
    color: #5c3a21;
    margin-bottom: 2rem;
}

/* empty cart */
.cart-empty {
    text-align: center;
    padding: 4rem 0;
    color: #8a7a6a;
}

.return-to-shop {
    text-align: center;
    margin-top: 1.5rem;
}

/* thank you page */
.woocommerce-order {
    background: #1a1512;
    border: 1px solid #2a1f15;
    padding: 2rem;
}

.woocommerce-order h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: #c49a3c;
    margin-bottom: 1rem;
}

.woocommerce-order table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td {
    padding: 0.75rem;
    border: 1px solid #2a1f15;
    font-size: 0.875rem;
}

.woocommerce-order table.shop_table th {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.08em;
    color: #5c3a21;
}

/* coupons */
.trocha-cart-totals .coupon {
    margin-bottom: 1rem;
}

.trocha-cart-totals .coupon label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    color: #5c3a21;
    display: block;
    margin-bottom: 0.5rem;
}

.trocha-cart-totals .coupon input {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    background: #0a0a0a;
    border: 1px solid #2a1f15;
    color: #d4cdc0;
    padding: 0.5rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.trocha-cart-totals .coupon button {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid #2a1f15;
    background: transparent;
    color: #d4cdc0;
    cursor: pointer;
    transition: all 0.2s;
}

.trocha-cart-totals .coupon button:hover {
    border-color: #c49a3c;
    color: #c49a3c;
}
