/* ==========================================================================
   Production Shop - WooCommerce Custom Styles
   ========================================================================== */

/* ----------------------------------------
   General WooCommerce Reset
   ---------------------------------------- */
.woocommerce-main {
    padding: 0;
}

/* ----------------------------------------
   Product Card
   ---------------------------------------- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

/* ----------------------------------------
   Price Display
   ---------------------------------------- */
.woocommerce .price ins,
.price ins {
    background: transparent;
    font-weight: inherit;
    text-decoration: none;
    color: inherit;
}
.woocommerce .price del,
.price del {
    opacity: 0.6;
    color: var(--text-secondary, #888);
    font-size: 0.9em;
}
.price-wrap .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.price-new .woocommerce-Price-amount {
    color: var(--color-primary, #e60a95);
}

/* ----------------------------------------
   Add to Cart Button
   ---------------------------------------- */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--bg-primary, #1a1a2e);
    color: #fff;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    border: none;
    transition: all .3s ease;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--color-primary, #e60a95);
    color: #fff;
}

/* ----------------------------------------
   Cart Page
   ---------------------------------------- */
.woocommerce-cart .woocommerce {
    max-width: 100%;
}
.woocommerce table.shop_table {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: #fff;
}
.woocommerce table.shop_table th {
    background: #e5e5e5;
    padding: 16px 20px;
    font-weight: 600;
    border: none;
}
.woocommerce table.shop_table td {
    padding: 16px 20px;
    border-color: #f0f0f0;
    vertical-align: middle;
}
.woocommerce table.cart .product-thumbnail {
    width: 80px;
}
.woocommerce table.cart img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}
.woocommerce-cart-form__cart-item .product-name a {
    color: inherit;
    text-decoration: none;
}
.woocommerce td.actions .coupon .input-text {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 10px 14px;
}

/* ----------------------------------------
   Checkout Page
   ---------------------------------------- */
.woocommerce-checkout .woocommerce {
    max-width: 100%;
}
.woocommerce form .form-row {
    padding: 0;
    margin: 0 0 20px;
}
.woocommerce form .form-row label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color .3s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--color-primary, #e60a95);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 10, 149, 0.1);
}
.woocommerce #payment .payment_methods {
    border-radius: 10px;
    overflow: hidden;
}
.woocommerce #payment .payment_methods li {
    padding: 14px 20px;
}
.woocommerce #payment #place_order {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 8px;
}

/* ----------------------------------------
   Order Review
   ---------------------------------------- */
.woocommerce-checkout-review-order-table {
    border-radius: 12px;
    overflow: hidden;
}

/* ----------------------------------------
   Account Pages
   ---------------------------------------- */
.woocommerce-account .woocommerce {
    max-width: 100%;
}
.woocommerce-MyAccount-navigation {
    margin-bottom: 30px;
}
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
}
.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #eee;
}
.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: all .3s;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--color-primary, #e60a95);
    color: #fff;
    padding-left: 25px;
}

/* ----------------------------------------
   Product Tabs
   ---------------------------------------- */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 40px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-right: 30px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 10px 0;
    font-weight: 600;
    color: #888;
    display: block;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-decoration: none;
    transition: all .3s;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-primary, #e60a95);
    border-bottom-color: var(--color-primary, #e60a95);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

/* ----------------------------------------
   Rating Stars
   ---------------------------------------- */
.woocommerce .star-rating {
    color: #f5a623;
    font-size: 1em;
}
.woocommerce .comment-form-rating .stars a {
    color: #f5a623;
}

/* ----------------------------------------
   YITH Wishlist Integration
   ---------------------------------------- */
.yith-wcwl-add-to-wishlist {
    display: inline-block;
}
.yith-wcwl-add-button a,
.yith-wcwl-wishlistexists a,
.yith-wcwl-wishlistadded a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: all .3s;
    position: relative;
}
.yith-wcwl-add-button a:hover,
.yith-wcwl-wishlistexists a,
.yith-wcwl-wishlistadded a {
    background: var(--color-primary, #e60a95);
    border-color: var(--color-primary, #e60a95);
    color: #fff;
}
/* Hide YITH default text, show only icon */
.yith-wcwl-add-button a .feedback,
.yith-wcwl-add-button a span:not(.icon) {
    display: none;
}

/* Wishlist page - use our card styles */
.woocommerce-page .wishlist_table.shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

/* ----------------------------------------
   Pagination
   ---------------------------------------- */
.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all .3s;
    font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--color-primary, #e60a95);
    border-color: var(--color-primary, #e60a95);
    color: #fff;
}

/* ----------------------------------------
   Notices / Messages
   ---------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 20px;
    border-top-width: 3px;
}
.woocommerce-message {
    border-top-color: var(--color-primary, #e60a95);
    background: #fff5f9;
}
.woocommerce-message .button {
    float: right;
}

/* ----------------------------------------
   Mini Cart
   ---------------------------------------- */
.tf-mini-cart-items .woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}
.tf-mini-cart-items .mini_cart_item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}
.tf-mini-cart-items .mini_cart_item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.tf-mini-cart-items .mini_cart_item .mini-cart-item-info {
    flex: 1;
}
.tf-mini-cart-items a.remove {
    color: #e60a95;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
}
.woocommerce-mini-cart__total {
    padding: 16px 0;
    border-top: 2px solid #f0f0f0;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}

/* ----------------------------------------
   Sorting select (override WC default)
   ---------------------------------------- */
.woocommerce-ordering select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    background: #fff;
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
}

/* ----------------------------------------
   Result Count
   ---------------------------------------- */
.woocommerce-result-count {
    color: #888;
    font-size: 14px;
    margin: 0;
}
