/*
 * IBeauty - Additional Styles
 * Version: 1.0
 */

/* ===== WOOCOMMERCE GENERAL FIXES ===== */
.woocommerce .woocommerce-result-count {
    display: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

/* ===== STAR RATING ===== */
.woocommerce .star-rating {
    color: #ffc107;
    margin-bottom: 4px;
}

/* ===== SHOP TOOLBAR ===== */
.shop-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; padding: 16px 20px;
    background: var(--white); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ===== RELATED PRODUCTS ===== */
.woocommerce .related-products { margin-top: 50px; }
.woocommerce .related-products h2 {
    font-size: 24px; margin-bottom: 24px; text-align: center;
}

/* ===== QUANTITY INPUT ===== */
.woocommerce .quantity .qty {
    padding: 12px 8px; border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600;
    width: 70px; text-align: center;
}

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

/* WooCommerce pages layout */
.woocommerce-content {
    width: 100%; max-width: 100%; padding: 40px 0;
}

/* ===== CHECKOUT ===== */
body.woocommerce-checkout #page .woocommerce {
    max-width: 1100px; margin: 0 auto;
}

.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

/* === Billing section === */
.woocommerce-checkout .woocommerce-billing-fields {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    border: 1px solid #f0ebe7;
}
.woocommerce-checkout .woocommerce-billing-fields h3 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #1a1a1a;
    font-weight: 700;
}

/* Fields layout - two columns for pairs */
.woocommerce-checkout .form-row {
    margin: 0 0 14px;
}
.woocommerce-checkout .form-row.form-row-first {
    width: 49%; float: left; clear: none;
}
.woocommerce-checkout .form-row.form-row-last {
    width: 49%; float: right; clear: none;
}
.woocommerce-checkout .form-row::after {
    content: ''; display: table; clear: both;
}

/* Labels */
.woocommerce-checkout .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}
.woocommerce-checkout .form-row label .required {
    color: #e74c3c;
    border: none;
    text-decoration: none;
}

/* Inputs, selects, textareas */
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0d6d0;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
    outline: none;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #c59a6b;
    box-shadow: 0 0 0 2px rgba(197,154,107,0.12);
}
.woocommerce-checkout .form-row textarea {
    min-height: 70px;
    resize: vertical;
}

/* Validation */
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select {
    border-color: #e74c3c;
}
.woocommerce-checkout .form-row.woocommerce-validated input,
.woocommerce-checkout .form-row.woocommerce-validated select {
    border-color: #4caf50;
}

/* Select2 */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 46px;
    border: 1.5px solid #e0d6d0;
    border-radius: 8px;
    padding: 8px 10px;
    box-sizing: border-box;
    outline: none;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1a1a1a;
    font-size: 15px;
    line-height: 26px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 9px; right: 8px;
}

/* === Order review section === */
.woocommerce-checkout h3#order_review_heading {
    font-size: 18px;
    margin: 0 0 16px;
    color: #1a1a1a;
    font-weight: 700;
}
.woocommerce-checkout-review-order {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0ebe7;
    padding: 28px 32px;
    margin-bottom: 40px;
}

/* Table */
.woocommerce-checkout-review-order table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.woocommerce-checkout-review-order table.shop_table thead th {
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0ebe7;
    text-align: right;
}
.woocommerce-checkout-review-order table.shop_table thead th.product-total {
    text-align: left;
}
.woocommerce-checkout-review-order table.shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid #f5f2f0;
    vertical-align: middle;
}
.woocommerce-checkout-review-order table.shop_table .product-name {
    color: #1a1a1a;
    font-weight: 500;
}
.woocommerce-checkout-review-order table.shop_table .product-name .product-quantity {
    color: #999;
}
.woocommerce-checkout-review-order table.shop_table .product-total {
    text-align: left;
    font-weight: 600;
}

/* Totals */
.woocommerce-checkout-review-order table.shop_table tfoot td,
.woocommerce-checkout-review-order table.shop_table tfoot th {
    padding: 8px 0;
    border: none;
    font-size: 15px;
}
.woocommerce-checkout-review-order table.shop_table tfoot th {
    font-weight: 500;
    color: #777;
}
.woocommerce-checkout-review-order table.shop_table tfoot td {
    text-align: left;
    font-weight: 600;
}
.woocommerce-checkout-review-order table.shop_table tfoot .order-total th,
.woocommerce-checkout-review-order table.shop_table tfoot .order-total td {
    font-size: 17px;
    padding-top: 14px;
    border-top: 2px solid #f0ebe7;
    font-weight: 700;
}
.woocommerce-checkout-review-order table.shop_table tfoot .order-total td {
    color: #c59a6b;
}

/* Coupon discount */
.woocommerce-checkout-review-order table.shop_table tfoot tr.cart-discount td {
    color: #4caf50;
}

/* Shipping row in order review */
.woocommerce-checkout-review-order table.shop_table tfoot tr.shipping th {
    vertical-align: top; padding-top: 10px;
}
.woocommerce-checkout-review-order table.shop_table tfoot tr.shipping td {
    padding-top: 4px;
}
.woocommerce-checkout-review-order table.shop_table tfoot tr.shipping .woocommerce-shipping-methods {
    margin: 0;
}

/* === Payment section === */
.woocommerce-checkout #payment {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0ebe7;
}
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    margin: 0; padding: 0;
}
.woocommerce-checkout #payment ul.payment_methods li {
    padding: 14px 16px;
    background: #faf8f6;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #f0ebe7;
}
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin-left: 10px;
    accent-color: #c59a6b;
}
.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
}
.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    margin-top: 10px;
    margin-right: 24px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    border: 1px solid #f0ebe7;
}

/* Place order row */
.woocommerce-checkout #payment div.form-row.place-order {
    padding: 0; margin: 16px 0 0;
}

/* Terms */
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 14px;
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    accent-color: #c59a6b;
    width: 18px;
    height: 18px;
}

/* Place order button */
.woocommerce-checkout #payment #place_order {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #c59a6b, #b0884f);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.woocommerce-checkout #payment #place_order:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(197,154,107,0.3);
}

/* Account fields */
.woocommerce-checkout .woocommerce-account-fields {
    background: #fff;
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 24px;
    border: 1px solid #f0ebe7;
}

/* Login form */
.woocommerce-checkout .woocommerce-form-login {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    border: 1px solid #f0ebe7;
}

/* Coupon form */
.woocommerce-checkout .woocommerce-form-coupon {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    border: 1px solid #f0ebe7;
}
.woocommerce-checkout .woocommerce-form-coupon .form-row-first {
    width: 65%;
}
.woocommerce-checkout .woocommerce-form-coupon .form-row-first input {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e0d6d0;
    border-radius: 50px;
}
.woocommerce-checkout .woocommerce-form-coupon .form-row-last button {
    padding: 11px 24px;
    border-radius: 50px;
    background: #c59a6b;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce-billing-fields {
        padding: 20px;
    }
    .woocommerce-checkout .form-row.form-row-first,
    .woocommerce-checkout .form-row.form-row-last {
        width: 100%; float: none;
    }
    .woocommerce-checkout-review-order {
        padding: 20px;
    }
    .woocommerce-checkout-review-order table.shop_table thead {
        display: none;
    }
    .woocommerce-checkout-review-order table.shop_table tbody tr,
    .woocommerce-checkout-review-order table.shop_table tfoot tr {
        display: block; padding: 10px 0;
    }
    .woocommerce-checkout-review-order table.shop_table td,
    .woocommerce-checkout-review-order table.shop_table tfoot td,
    .woocommerce-checkout-review-order table.shop_table tfoot th {
        display: flex; justify-content: space-between;
        align-items: center; padding: 4px 0;
        border: none !important;
    }
    .woocommerce-checkout #payment ul.payment_methods li {
        padding: 12px;
    }
    .woocommerce-checkout #payment {
        padding: 0;
    }
}

/* Customer details two-column layout */
.woocommerce-checkout .col2-set {
    display: flex; gap: 30px;
}
.woocommerce-checkout #customer_details .col-1 {
    width: 60%; max-width: 60%; flex: none;
}
.woocommerce-checkout .col2-set .col-2 {
    width: 40%; max-width: 40%; flex: none;
}

@media (max-width: 900px) {
    .woocommerce-checkout .col2-set {
        flex-direction: column; gap: 20px;
    }
    .woocommerce-checkout #customer_details .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100%; max-width: 100%;
    }
}

/* Hide country field (default DZ, handled via hidden input) */
.woocommerce-checkout #billing_country_field {
    display: none !important;
}

/* Shipping section */
.woocommerce-checkout #shipping_method {
    list-style: none; padding: 0; margin: 8px 0;
}
.woocommerce-checkout #shipping_method li {
    margin: 6px 0; padding: 8px 12px;
    background: #faf8f6; border-radius: 8px;
    border: 1px solid #f0ebe7;
    display: flex; align-items: center; gap: 12px;
}
.woocommerce-checkout #shipping_method li input[type="radio"] {
    accent-color: var(--rose);
    width: 18px; height: 18px; cursor: pointer; flex-shrink: 0;
}
.woocommerce-checkout #shipping_method li label {
    display: inline; font-weight: 600; color: var(--charcoal); cursor: pointer;
    flex: 1; margin: 0;
}
.woocommerce-checkout #shipping_method li .woocommerce-Price-amount {
    color: var(--rose-dark); font-weight: 700; white-space: nowrap;
}

/* Notices */
.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

/* Billing fields wrapper */
.woocommerce-checkout .woocommerce-billing-fields h3 {
    font-size: 22px; margin: 0 0 24px; color: var(--charcoal);
    padding-bottom: 12px; border-bottom: 2px solid var(--rose-light);
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    background: var(--white); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); border: 1px solid rgba(212,160,160,0.1);
    padding: 28px; margin-bottom: 24px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper::after {
    content: ''; display: table; clear: both;
}
.woocommerce-checkout .form-row {
    margin: 0 0 16px;
}
.woocommerce-checkout .form-row.form-row-first {
    width: 48%; float: left;
}
.woocommerce-checkout .form-row.form-row-last {
    width: 48%; float: right;
}
.woocommerce-checkout .form-row.form-row-wide {
    clear: both;
}
.woocommerce-checkout .form-row label {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--charcoal); margin-bottom: 6px;
}
.woocommerce-checkout .form-row label .required {
    color: #e74c3c; border: none;
}
.woocommerce-checkout .form-row .woocommerce-input-wrapper {
    display: block;
}
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%; padding: 12px 16px;
    border: 2px solid #eee; border-radius: 10px;
    font-size: 15px; color: var(--charcoal);
    transition: border-color 0.2s; background: #fff;
    box-sizing: border-box;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--rose); outline: none;
    box-shadow: 0 0 0 3px rgba(212, 160, 160, 0.12);
}
.woocommerce-checkout .form-row textarea {
    min-height: 80px; resize: vertical;
}

/* Full-width rows */
.woocommerce-checkout .form-row.form-row-wide {
    grid-column: 1 / -1;
}

/* Address field (textarea alias) */
.woocommerce-checkout .form-row.address-field {
    grid-column: 1 / -1;
}
.woocommerce-checkout .form-row.notes {
    grid-column: 1 / -1;
}

/* Validation states */
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid textarea {
    border-color: #e74c3c;
}
.woocommerce-checkout .form-row.woocommerce-invalid label {
    color: #e74c3c;
}
.woocommerce-checkout .form-row.woocommerce-validated input,
.woocommerce-checkout .form-row.woocommerce-validated select,
.woocommerce-checkout .form-row.woocommerce-validated textarea {
    border-color: #4caf50;
}

/* Select2 */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 48px; border: 2px solid #eee; border-radius: 10px;
    padding: 8px 12px; box-sizing: border-box;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--charcoal); font-size: 15px; line-height: 28px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px; right: 8px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
    border-color: var(--rose); outline: none;
}

/* Order review heading */
#order_review_heading {
    font-size: 22px; margin: 0 0 20px; color: var(--charcoal);
    padding-bottom: 12px; border-bottom: 2px solid var(--rose-light);
}

/* Order review table wrapper */
.woocommerce-checkout-review-order {
    background: var(--white); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 160, 160, 0.1);
    padding: 28px; margin-bottom: 30px;
}

/* Product table */
.woocommerce-checkout-review-order table.shop_table {
    border: none; margin: 0 0 20px; border-collapse: collapse;
    width: 100%;
}
.woocommerce-checkout-review-order table.shop_table thead {
    border-bottom: 2px solid var(--cream);
}
.woocommerce-checkout-review-order table.shop_table thead th {
    padding: 12px 0; font-weight: 700; color: var(--charcoal-light);
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
    border: none; background: transparent;
}
.woocommerce-checkout-review-order table.shop_table thead th.product-total {
    text-align: left;
}
.woocommerce-checkout-review-order table.shop_table td {
    padding: 14px 0; vertical-align: middle;
    border: none; border-bottom: 1px solid rgba(212,160,160,0.06);
}
.woocommerce-checkout-review-order table.shop_table tbody tr:last-child td {
    border-bottom: none;
}
.woocommerce-checkout-review-order table.shop_table .product-name {
    font-weight: 500; color: var(--charcoal);
}
.woocommerce-checkout-review-order table.shop_table .product-name .product-quantity {
    font-weight: 400; color: var(--charcoal-light); margin-right: 4px;
}
.woocommerce-checkout-review-order table.shop_table .product-total {
    text-align: left; font-weight: 600; font-size: 15px;
}

/* Totals rows */
.woocommerce-checkout-review-order table.shop_table tfoot tr {
    border: none;
}
.woocommerce-checkout-review-order table.shop_table tfoot th {
    font-weight: 500; color: var(--charcoal-light);
    padding: 10px 0; border: none;
    font-size: 15px;
}
.woocommerce-checkout-review-order table.shop_table tfoot td {
    text-align: left; font-weight: 600; padding: 10px 0;
    border: none; font-size: 15px;
}
.woocommerce-checkout-review-order table.shop_table tfoot tr:not(:last-child) th,
.woocommerce-checkout-review-order table.shop_table tfoot tr:not(:last-child) td {
    border-bottom: 1px solid #f5f5f5;
}
.woocommerce-checkout-review-order table.shop_table tfoot .order-total th,
.woocommerce-checkout-review-order table.shop_table tfoot .order-total td {
    font-size: 18px; padding-top: 16px; font-weight: 700;
    border-bottom: none;
}
.woocommerce-checkout-review-order table.shop_table tfoot .order-total td {
    color: var(--rose);
}

/* Hide coupon title row */
.coupon-row {
    display: none;
}

/* Coupon row */
.woocommerce-checkout-review-order table.shop_table tfoot tr.cart-discount td {
    color: #4caf50;
}

/* Payment section */
.woocommerce-checkout #payment {
    background: #fcfaf8; border-radius: 12px; padding: 24px;
}
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none; margin: 0; padding: 0;
}
.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 12px; padding: 14px 16px;
    background: #fff; border-radius: 10px;
    border: 1px solid rgba(212,160,160,0.08);
    transition: border-color 0.2s;
}
.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: var(--rose-light);
}
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin-left: 10px; accent-color: var(--rose);
}
.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 600; color: var(--charcoal); cursor: pointer;
    font-size: 15px;
}
.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    background: #f9f7f5; border-radius: 8px;
    padding: 14px 16px; margin-top: 10px; margin-right: 24px;
    font-size: 14px; color: var(--charcoal-light);
    border: 1px solid #f0ebe7;
}
.woocommerce-checkout #payment div.form-row.place-order {
    padding: 20px 0 0; margin: 20px 0 0;
    border-top: 1px solid rgba(212,160,160,0.1);
}

/* Terms checkbox */
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label {
    font-size: 14px; color: var(--charcoal-light);
    display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    accent-color: var(--rose); width: 18px; height: 18px;
}

/* Place order button */
.woocommerce-checkout #payment #place_order {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, var(--rose), var(--rose-dark));
    color: #fff; border: none; border-radius: 50px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.woocommerce-checkout #payment #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 160, 160, 0.3);
}

/* Create account checkbox */
.woocommerce-checkout .woocommerce-account-fields {
    background: var(--white); border-radius: var(--radius-md);
    padding: 20px 28px; margin-bottom: 24px;
    border: 1px solid rgba(212,160,160,0.1);
}
.woocommerce-checkout .woocommerce-account-fields .create-account {
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        padding: 20px;
    }
    .woocommerce-checkout .form-row.form-row-first,
    .woocommerce-checkout .form-row.form-row-last {
        width: 100%; float: none;
    }
    .woocommerce-checkout-review-order {
        padding: 20px;
    }
    .woocommerce-checkout-review-order table.shop_table thead {
        display: none;
    }
    .woocommerce-checkout-review-order table.shop_table tbody tr,
    .woocommerce-checkout-review-order table.shop_table tfoot tr {
        display: block; padding: 10px 0;
        border-bottom: 1px solid rgba(212,160,160,0.06);
    }
    .woocommerce-checkout-review-order table.shop_table td,
    .woocommerce-checkout-review-order table.shop_table tfoot td,
    .woocommerce-checkout-review-order table.shop_table tfoot th {
        display: flex; justify-content: space-between;
        align-items: center; padding: 4px 0;
        border: none !important;
    }
    .woocommerce-checkout-review-order table.shop_table tfoot tr:last-child td,
    .woocommerce-checkout-review-order table.shop_table tfoot tr:last-child th {
        font-size: 16px;
    }
    .woocommerce-checkout #payment ul.payment_methods li {
        padding: 12px;
    }
    .woocommerce-checkout #payment {
        padding: 16px;
    }
}

/* ===== MY ACCOUNT ===== */
.woocommerce-MyAccount-navigation {
    background: var(--white); border-radius: var(--radius-md);
    padding: 20px; box-shadow: var(--shadow-sm);
}
.woocommerce-MyAccount-navigation ul li a {
    display: block; padding: 10px 16px;
    color: var(--charcoal-light); border-radius: var(--radius-sm);
    transition: var(--transition);
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--rose-light); color: var(--rose-dark);
}

/* Mobile menu styles moved to style.css */

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 30px; left: 30px;
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--rose-dark));
    color: #fff; border: none; font-size: 18px; cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 160, 160, 0.4);
    opacity: 0; visibility: hidden;
    transition: var(--transition); z-index: 998;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== WOOCOMMERCE NOTICES ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: var(--radius-sm) !important;
    border-top: 3px solid !important;
    padding: 14px 20px !important;
    margin-bottom: 24px !important;
}
.woocommerce-message { border-top-color: #4caf50 !important; background: #f1f8e9 !important; }
.woocommerce-info { border-top-color: #2196f3 !important; background: #e3f2fd !important; }
.woocommerce-error { border-top-color: #f44336 !important; background: #fce4ec !important; }

/* ===== WOOCOMMERCE PAGINATION ===== */
.woocommerce nav.woocommerce-pagination {
    margin-top: 40px;
}
.woocommerce nav.woocommerce-pagination ul {
    display: flex; justify-content: center; gap: 6px;
    border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: none !important; float: none !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50% !important;
    border: 2px solid #eee !important; padding: 0 !important;
    color: var(--charcoal-light); font-weight: 600;
    transition: var(--transition); background: var(--white);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--rose) !important; border-color: var(--rose) !important;
    color: #fff !important;
}

/* ===== STORE NOTICE ===== */
.woocommerce-store-notice {
    background: var(--rose); color: #fff;
    padding: 10px; text-align: center; font-size: 14px;
}

/* ===== PRODUCT GALLERY FIX ===== */
.woocommerce-product-gallery__image img {
    width: 100%;
}

/* ===== SIDEBAR WIDGETS ===== */
.widget-area .widget {
    background: var(--white); border-radius: var(--radius-md);
    padding: 24px; margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.widget-title {
    font-size: 17px; font-weight: 700; margin-bottom: 18px;
    padding-bottom: 10px; border-bottom: 2px solid var(--rose-light);
}
.widget ul li {
    padding: 8px 0; border-bottom: 1px solid #f5f5f5;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a {
    color: var(--charcoal-light); font-size: 14px;
    transition: var(--transition);
}
.widget ul li a:hover { color: var(--rose); }

/* Price filter */
.widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--rose) !important; border: 2px solid #fff !important;
    box-shadow: 0 2px 6px rgba(212, 160, 160, 0.3);
}
.widget_price_filter .ui-slider .ui-slider-range {
    background: linear-gradient(135deg, var(--rose), var(--rose-dark)) !important;
}
.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: #f0f0f0 !important;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =============================================
   DYNAMIC CAMPAIGN HERO
   ============================================= */
.ibeauty-dynamic-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--hero-bg, #fcf8f0);
    color: var(--hero-text, #3c322d);
    direction: ltr;
}

.ibeauty-dynamic-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
    pointer-events: none;
}

.ibeauty-dynamic-hero .hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ibeauty-dynamic-hero .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ibeauty-dynamic-hero .hero-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0 60px;
}

.ibeauty-dynamic-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ibeauty-dynamic-hero .hero-grid.hero-center {
    grid-template-columns: 1fr;
    justify-items: center;
}

.ibeauty-dynamic-hero .hero-content-side {
    max-width: 560px;
    direction: rtl;
    text-align: right;
}

.ibeauty-dynamic-hero .hero-grid.hero-center .hero-content-side {
    max-width: 700px;
    text-align: center;
}

/* Hero Badge */
.ibeauty-dynamic-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 169, 126, 0.12);
    border: 1px solid rgba(200, 169, 126, 0.25);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.ibeauty-dynamic-hero .hero-badge i {
    color: #c8a97e;
}

/* Hero Title */
.ibeauty-dynamic-hero .hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
}

.ibeauty-dynamic-hero .hero-title span {
    color: #c8a97e;
    display: block;
}

/* Hero Description */
.ibeauty-dynamic-hero .hero-desc {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 480px;
}

.ibeauty-dynamic-hero .hero-grid.hero-center .hero-desc {
    margin: 0 auto 32px;
}

/* Hero Actions */
.ibeauty-dynamic-hero .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ibeauty-dynamic-hero .hero-grid.hero-center .hero-actions {
    justify-content: center;
}

.btn-campaign-primary,
.btn-campaign-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn-campaign-primary {
    background: #c8a97e;
    color: #fff !important;
    border: 2px solid #c8a97e;
}

.btn-campaign-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 169, 126, 0.35);
}

.btn-campaign-secondary {
    background: transparent !important;
    border: 2px solid !important;
}

.btn-campaign-secondary:hover {
    background: rgba(0,0,0,0.06) !important;
    transform: translateY(-2px);
}

/* Products Side */
.ibeauty-dynamic-hero .hero-products-side {
    position: relative;
}

.ibeauty-dynamic-hero .hero-products-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.ibeauty-dynamic-hero .hero-product-card {
    width: 160px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.ibeauty-dynamic-hero .hero-product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.ibeauty-dynamic-hero .hero-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ibeauty-dynamic-hero .hero-extra-badge {
    margin-top: 16px;
    text-align: center;
}

.ibeauty-dynamic-hero .hero-extra-badge img {
    max-width: 120px;
    height: auto;
}

.ibeauty-dynamic-hero .hero-single-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Floating Products */
.ibeauty-dynamic-hero .hero-floating-product {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    animation: floatProduct 6s ease-in-out infinite;
}

.ibeauty-dynamic-hero .hero-floating-product img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.hero-floating-product.fp-0 { top: 15%; left: 5%; animation-delay: 0s; }
.hero-floating-product.fp-1 { bottom: 20%; left: 10%; animation-delay: 2s; }
.hero-floating-product.fp-2 { top: 25%; right: 5%; animation-delay: 4s; }
.hero-floating-product.fp-3 { bottom: 15%; right: 8%; animation-delay: 1s; }

@keyframes floatProduct {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* Countdown */
.ibeauty-dynamic-hero .hero-countdown {
    margin: 24px 0;
    --cd-color: #c8a97e;
}

.ibeauty-dynamic-hero .countdown-label {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
    opacity: .85;
}

.ibeauty-dynamic-hero .countdown-display {
    display: flex;
    gap: 12px;
}

.ibeauty-dynamic-hero .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 72px;
}

.ibeauty-dynamic-hero .countdown-item span:first-child {
    font-size: 28px;
    font-weight: 800;
    color: var(--cd-color);
    line-height: 1;
}

.ibeauty-dynamic-hero .countdown-item .cd-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: .7;
    margin-top: 4px;
}

/* Scroll Indicator */
.ibeauty-dynamic-hero .hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

.ibeauty-dynamic-hero .hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.ibeauty-dynamic-hero .hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* Parallax */
.ibeauty-dynamic-hero.has-parallax .hero-bg-wrap {
    transform: translateZ(0);
    will-change: transform;
}

/* Fade Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .ibeauty-dynamic-hero .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ibeauty-dynamic-hero .hero-content-side {
        max-width: 100%;
    }
    .ibeauty-dynamic-hero .hero-desc {
        max-width: 100%;
    }
    .ibeauty-dynamic-hero .hero-actions {
        justify-content: center;
    }
    .ibeauty-dynamic-hero .hero-products-side {
        display: none;
    }
    .ibeauty-dynamic-hero .hero-floating-product {
        display: none;
    }
}

@media (max-width: 600px) {
    .ibeauty-dynamic-hero {
        min-height: 70vh;
    }
    .ibeauty-dynamic-hero .hero-layout {
        padding: 100px 0 40px;
    }
    .ibeauty-dynamic-hero .hero-title {
        font-size: clamp(28px, 8vw, 36px);
    }
    .ibeauty-dynamic-hero .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .ibeauty-dynamic-hero .countdown-display {
        gap: 8px;
    }
    .ibeauty-dynamic-hero .countdown-item {
        min-width: 60px;
        padding: 8px 12px;
    }
    .ibeauty-dynamic-hero .countdown-item span:first-child {
        font-size: 22px;
    }
}

.ibeauty-dynamic-hero .hero-content-side { animation: fadeInUp 0.8s ease; }
.category-card { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }
.category-card:nth-child(5) { animation-delay: 0.25s; }
.category-card:nth-child(6) { animation-delay: 0.3s; }

.woocommerce ul.products li.product { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.woocommerce ul.products li.product:nth-child(2) { animation-delay: 0.08s; }
.woocommerce ul.products li.product:nth-child(3) { animation-delay: 0.15s; }
.woocommerce ul.products li.product:nth-child(4) { animation-delay: 0.22s; }
.woocommerce ul.products li.product:nth-child(5) { animation-delay: 0.3s; }
.woocommerce ul.products li.product:nth-child(6) { animation-delay: 0.38s; }
.woocommerce ul.products li.product:nth-child(7) { animation-delay: 0.45s; }
.woocommerce ul.products li.product:nth-child(8) { animation-delay: 0.52s; }

.benefit-card { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.benefit-card:nth-child(1) { animation-delay: 0.05s; }
.benefit-card:nth-child(2) { animation-delay: 0.1s; }
.benefit-card:nth-child(3) { animation-delay: 0.15s; }
.benefit-card:nth-child(4) { animation-delay: 0.2s; }

.testimonial-card { animation: fadeInUp 0.6s ease forwards; opacity: 0; }
.testimonial-card:nth-child(2) { animation-delay: 0.15s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* ===== ORDER RECEIVED / THANK YOU PAGE ===== */
.woocommerce-order {
    max-width: 600px; margin: 0 auto; padding: 20px 0;
}
.ibeauty-thankyou {
    text-align: center; background: #fff; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 40px 30px;
}
.ibeauty-thankyou-icon {
    width: 80px; height: 80px; margin-bottom: 20px;
}
.ibeauty-thankyou h2 {
    font-size: 22px; color: #2d2d2d; margin: 0 0 20px;
}
.ibeauty-thankyou p {
    font-size: 15px; color: #666; margin: 0 0 8px; line-height: 1.8;
}
.ibeauty-btn {
    display: inline-block; padding: 14px 40px;
    background: linear-gradient(135deg, #c59a6b, #b0884f);
    color: #fff; border-radius: 50px; font-size: 15px; font-weight: 600;
    text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.ibeauty-btn:hover {
    transform: translateY(-2px); box-shadow: 0 6px 24px rgba(197,154,107,0.3);
    color: #fff;
}
