/* =========================================================
   GLOBAL
========================================================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    width: min(1800px, 90%);
    margin: 0 auto;
}

.hero {
    padding: 0;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    z-index: 9999;
}

.navbar-nav {
    align-items: flex-start;
}

.navbar-nav .menu-item {
    margin-right: 20px;
}

.navbar-nav .menu-item a {
    display: block;
    padding: 8px 0;
    color: #111;
    font-weight: 500;
    text-decoration: none;
}

.navbar-nav .menu-item a:hover {
    color: #0d6efd;
}

/* Submenu */
.navbar-nav .menu-item-has-children {
    position: relative;
}

.navbar-nav .sub-menu {
    display: none;
    position: absolute;
    z-index: 9999;
    min-width: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.navbar-nav .menu-item-has-children:hover > .sub-menu {
    display: block;
}

.navbar-nav .sub-menu .menu-item {
    width: 100%;
    margin: 0;
}

.navbar-nav .sub-menu li a {
    display: block;
    width: 100%;
    padding: 10px 15px;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-nav .sub-menu li a:hover {
    background: #c3e1f9;
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.menu-item-has-children.submenu-open .submenu-toggle {
    transform: rotate(180deg);
}

/* Mobile header/menu */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 15px;
    }

    .navbar-nav .menu-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .navbar-nav .sub-menu {
        position: relative;
        width: 100%;
        padding-left: 15px;
        box-shadow: none;
    }

    .navbar-nav .menu-item-has-children.submenu-open > .sub-menu {
        display: block;
    }
}

/* User Icon */
/* Header account icon */
.header-account-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #111;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.header-account-icon:hover {
    color: #111;
    transform: scale(1.08);
}

/* Mobile */
@media (max-width: 991px) {

    .header-account-icon {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

}

.woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    font-size: 15px;
}

.site-footer a {
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: #0d6efd !important;
}

.footer-menu li,
.footer-links li {
    margin-bottom: 10px;
}

.site-footer i {
    transition: transform 0.3s ease;
}

.site-footer i:hover {
    transform: translateY(-3px);
}

/* =========================================================
   SHOP / ARCHIVE / PRODUCT CARDS
========================================================= */
.shop-page {
    background: #f8f9fa;
}

.shop-page-hero {
    margin: 0;
    padding-top: 60px;
    padding-bottom: 60px;
    color: #fff;
    background-color: #f1f1f1;
    background-size: cover;
    background-position: center;
    text-shadow:
        0 2px 6px rgba(0,0,0,0.25),
        0 8px 24px rgba(0,0,0,0.35);
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-card img,
.product-image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.product-image img {
    height: 320px;
}

.product-card .card-body {
    padding: 24px;
}

.product-card .card-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.product-price {
    color: #000;
    font-size: 20px;
    font-weight: 700;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Woo buttons */
.woocommerce a.button {
    width: 100%;
    padding: 12px;
    color: #fff;
    text-align: left;
    background: #000;
    border: none;
    border-radius: 10px;
    transition: 0.3s ease;
}

.woocommerce a.button:hover {
    color: #fff;
    background: #333;
}

/* Product card add to cart */
.product-card .added_to_cart {
    display: none !important;
}

.product-card .add_to_cart_button,
.product-card .added-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    background: #111 !important;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.product-card .add_to_cart_button:hover {
    background: #333 !important;
    transform: translateY(-2px);
}

.product-card .add_to_cart_button.added,
.product-card .added-cart-button {
    background: #0091ff !important;
}

.product-card .add_to_cart_button.added {
    font-size: 0;
}

.product-card .add_to_cart_button.added::after {
    content: "Added to Cart";
    font-size: 14px;
}

.product-card .custom-view-cart {
    display: none;
    margin-top: 10px;
    color: #0091ff;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.product-card .custom-view-cart:hover {
    text-decoration: underline;
}

.product-card .custom-view-cart.in-cart,
.product-card .add_to_cart_button.added ~ .custom-view-cart {
    display: block;
}

/* =========================================================
   SHOP SIDEBAR / FILTERS
========================================================= */
.shop-page .widget {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.shop-page .widget:last-child {
    border-bottom: none;
}

.wp-filter-label {
    cursor: pointer;
}

.filter-char-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.wp-filter-label:has(input:checked) .filter-char-img {
    border-color: #000;
}

.price-range-slider {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .mobile-filter-panel {
        position: sticky;
        top: 100px;
        align-self: flex-start;
        height: fit-content;
    }
}

@media (min-width: 1200px) {
    .h4,
    h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 991px) {
    .mobile-filter-panel {
        display: none;
    }

    .mobile-filter-panel.active {
        display: block;
    }

    .mobile-filter-toggle {
        width: 100%;
        padding: 12px 16px;
        color: #fff;
        font-weight: 600;
        text-align: left;
        background: #111;
        border: none;
        border-radius: 12px;
    }
}

@media (max-width: 767px) {
    .filter-char-img {
        width: 70px;
        height: 70px;
    }

    .wp-filter-product-label,
    .price-range-slider {
        width: 100%;
        display: block;
    }
}

/* =========================================================
   SEARCH
========================================================= */
.navbar form input.form-control {
    min-width: 220px;
    border-radius: 10px;
}

.navbar form .btn {
    border-radius: 10px;
}

.search-field {
    width: 80%;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

.search-form-wrap {
    display: none;
    position: absolute;
    top: 5px;
    right: 15%;
    z-index: 9999;
    min-width: 500px;
    padding: 12px;
    background: #fff;
}

.search-form-wrap.active {
    display: block;
}

.search-form-wrap button[type="submit"] {
    height: 38px;
    padding: 0 10px;
    color: #fff;
    font-weight: 700;
    background: #111;
    border: none;
    border-radius: 10px;
}

.search-close {
    position: absolute;
    top: 18px;
    right: 0;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: none;
}

@media (max-width: 991px) {
    .search-form-wrap {
        right: 0;
        min-width: 100%;
    }
}

@media (max-width: 767px) {
    .search-field {
        width: 70%;
    }
}

/* =========================================================
   PAGINATION
========================================================= */
.woocommerce-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.woocommerce-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.woocommerce-pagination .page-numbers a:hover,
.woocommerce-pagination .page-numbers .current {
    color: #fff;
    background: #111;
    border-color: #111;
}

.woocommerce-pagination .page-numbers a:hover {
    transform: translateY(-2px);
}

.woocommerce-pagination .page-numbers .next,
.woocommerce-pagination .page-numbers .prev {
    font-size: 18px;
}

@media (max-width: 767px) {
    .woocommerce-pagination .page-numbers {
        gap: 6px;
    }

    .woocommerce-pagination .page-numbers a,
    .woocommerce-pagination .page-numbers span {
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-radius: 10px;
    }
}

/* =========================================================
   CART PAGE
========================================================= */
.return-to-shop {
    display: none;
}

.cart-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.cart-page .woocommerce {
    background: transparent;
}

.cart-page .woocommerce-cart-form,
.cart-page .cart_totals,
.empty-cart-modern {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.cart-page .woocommerce-cart-form {
    margin-bottom: 30px;
    padding: 24px;
}

.cart-page table.shop_table {
    width: 100%;
    border: none;
    border-collapse: separate;
    border-spacing: 0 14px;
}

.cart-page table.shop_table thead th {
    padding: 14px;
    color: #555;
    font-size: 14px;
    text-transform: uppercase;
    background: #f1f3f5;
    border: none;
}

.cart-page table.shop_table tbody tr.cart_item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.cart-page table.shop_table td {
    padding: 16px;
    vertical-align: middle;
    border: none;
}

.cart-page .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 14px;
}

.cart-page .product-name a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.cart-page .product-name a:hover {
    color: #0d6efd;
}

.cart-page .product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #842029 !important;
    text-decoration: none;
    background: #f8d7da;
    border-radius: 50%;
}

.cart-page .quantity input.qty {
    width: 70px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.cart-page .actions {
    background: transparent !important;
    box-shadow: none !important;
}

.cart-page .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.cart-page .coupon input {
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.cart-page .button,
.cart-page button.button {
    padding: 12px 18px !important;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    background: #111 !important;
    border: none !important;
    border-radius: 12px !important;
}

.cart-page .button:hover,
.cart-page button.button:hover {
    background: #333 !important;
}

.cart-page .cart-collaterals,
.woocommerce .cart-collaterals {
    width: 100% !important;
}

.woocommerce .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce .cart_totals,
.cart-page .cart_totals {
    width: 100%;
    max-width: 100%;
    margin-top: 32px;
    padding: 32px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.cart-page .cart_totals h2 {
    margin-bottom: 20px;
    font-weight: 700;
}

.cart-page .cart_totals table {
    border: none;
}

.cart-page .cart_totals th,
.cart-page .cart_totals td {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.cart-page .checkout-button {
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
    text-align: center;
}

.empty-cart-modern {
    padding: 60px 30px;
    border-radius: 24px;
}

.empty-cart-modern h2 {
    font-size: 36px;
    font-weight: 800;
}

.empty-cart-modern p {
    font-size: 16px;
}

.latest-products-section h3 {
    font-size: 28px;
    font-weight: 800;
}

@media (max-width: 767px) {
    .cart-page .woocommerce-cart-form {
        padding: 16px;
    }

    .cart-page table.shop_table thead {
        display: none;
    }

    .cart-page table.shop_table,
    .cart-page table.shop_table tbody,
    .cart-page table.shop_table tr,
    .cart-page table.shop_table td {
        display: block;
        width: 100%;
    }

    .cart-page table.shop_table tbody tr.cart_item {
        padding: 16px;
        margin-bottom: 18px;
    }

    .cart-page table.shop_table td {
        padding: 8px 0;
        text-align: left !important;
    }

    .cart-page .product-thumbnail img {
        width: 100%;
        height: auto;
        max-height: 260px;
    }

    .cart-page .cart-collaterals {
        display: block;
    }

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

    .cart-page .coupon input,
    .cart-page .coupon button,
    .cart-page button[name="update_cart"] {
        width: 100%;
    }
}

/* =========================================================
   HEADER CART / FAVORITES ICONS
========================================================= */
.header-cart-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-cart-icon,
.header-favorites-icon {
    position: relative;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #111;
    text-decoration: none;
}

.header-cart-icon {
    display: inline-flex;
    font-size: 22px;
    transition: transform 0.2s ease;
}

.header-cart-icon:hover {
    color: #111;
    transform: scale(1.08);
}

.header-favorites-icon {
    display: none !important;
    font-size: 24px;
}

.header-favorites-icon.has-favorites {
    display: inline-flex !important;
}

.cart-count,
.favorites-count {
    position: absolute;
    top: -2px;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    background: #111;
    border-radius: 999px;
}

@media (min-width: 992px) {
    .header-cart-wrapper {
        margin-left: 10px;
    }
}

@media (max-width: 991px) {
    .header-cart-icon {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }
}

/* =========================================================
   FAVORITES
========================================================= */
.favorite-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    padding: 0;
    color: #111;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.favorite-toggle:hover {
    opacity: 0.7;
    transform: scale(1.12);
}

.favorite-toggle.active {
    color: #000;
    font-size: 28px;
}

.hide-favorite-buttons .favorite-toggle {
    display: none !important;
}

.favorite-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #111;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.favorite-remove:hover {
    color: #fff;
    background: #111;
    transform: scale(1.08);
}

/* =========================================================
   SINGLE PRODUCT PAGE
========================================================= */
.single-product-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.single-product-page .product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.woocommerce-message {
    display: none;
}

.single-product-page .woocommerce-product-gallery {
    position: relative;
    width: 100% !important;
}

.single-product-page .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 14px;
    left: 14px;
    right: auto !important;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #111;
    text-decoration: none;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.single-product-page .woocommerce-product-gallery__trigger img,
.single-product-page .woocommerce-product-gallery__trigger .emoji {
    width: 18px !important;
    height: 18px !important;
}

.single-product-page .woocommerce-product-gallery__wrapper,
.single-product-page .woocommerce-product-gallery__image,
.single-product-page .woocommerce-product-gallery__image a {
    display: block;
    width: 100%;
}

.single-product-page .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f1f3f5;
    border-radius: 22px;
}

.single-product-page .summary {
    width: 100% !important;
}

.single-product-page .product_title {
    margin-bottom: 16px;
    font-size: 42px;
    font-weight: 800;
}

.single-product-page .price {
    margin-bottom: 20px;
    color: #111;
    font-size: 30px;
    font-weight: 800;
}

.single-product-page .woocommerce-product-details__short-description {
    margin-bottom: 24px;
    color: #555;
    line-height: 1.7;
}

.single-product-page form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.single-product-page .quantity input.qty {
    width: 80px;
    height: 52px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 14px;
}

.single-product-page .single_add_to_cart_button {
    min-height: 52px;
    padding: 14px 28px !important;
    color: #fff !important;
    font-weight: 700;
    background: #111 !important;
    border: none !important;
    border-radius: 14px !important;
}

.single-product-page .single_add_to_cart_button:hover {
    background: #333 !important;
}

.single-product-page .product_meta,
.single-product-long-description {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.single-product-page .product_meta {
    color: #666;
    font-size: 14px;
}

.single-product-page .product_meta a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.single-product-long-description {
    color: #555;
    line-height: 1.7;
}

.single-product-long-description h3 {
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 800;
}

/* Product gallery thumbnails */
.single-product-page .flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 14px !important;
    padding: 0 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    -webkit-overflow-scrolling: touch;
}

.single-product-page .flex-control-thumbs li {
    flex: 0 0 72px;
    width: 72px !important;
    margin: 0 !important;
}

.single-product-page .flex-control-thumbs img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    opacity: 1 !important;
}

.single-product-page .flex-control-thumbs img.flex-active {
    border-color: #111;
}

/* Tabs / reviews */
.single-product-page .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 45px;
}

.single-product-page .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.single-product-page .woocommerce-tabs ul.tabs li {
    padding: 12px 18px;
    background: #f1f3f5;
    border-radius: 14px;
}

.single-product-page .woocommerce-tabs ul.tabs li a {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.single-product-page .woocommerce-tabs ul.tabs li.active {
    background: #111;
}

.single-product-page .woocommerce-tabs ul.tabs li.active a {
    color: #fff;
}

.single-product-page .woocommerce-Reviews {
    padding: 28px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.single-product-page .woocommerce-Reviews-title {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 800;
}

.single-product-page .comment-reply-title {
    display: block;
    margin: 24px 0 16px;
    font-size: 22px;
    font-weight: 800;
}

.single-product-page .comment-form label {
    margin-bottom: 6px;
    font-weight: 700;
}

.single-product-page .comment-form input[type="text"],
.single-product-page .comment-form input[type="email"],
.single-product-page .comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 14px;
}

.single-product-page .form-submit input.submit {
    padding: 13px 24px;
    color: #fff;
    font-weight: 700;
    background: #111;
    border: none;
    border-radius: 14px;
}

.single-product-page p.stars a {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    color: #f5b301;
    text-indent: -9999px;
}

.single-product-page p.stars a::before {
    content: "☆";
    position: absolute;
    inset: 0;
    font-size: 28px;
    line-height: 28px;
    text-indent: 0;
}

.single-product-page p.stars a:hover::before,
.single-product-page p.stars a.active::before {
    content: "★";
}

/* Related products */
.single-product-page .related.products {
    grid-column: 1 / -1;
    margin-top: 50px;
}

.single-product-page .related.products h2 {
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 800;
}

.single-product-page .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-product-page .related.products ul.products > div,
.single-product-page .related.products ul.products > li {
    width: 100% !important;
    max-width: 100%;
}

.single-product-page .related.products .product-card {
    height: 100%;
}

/* ACF product fields */
.product-sample-content {
    max-width: 100%;
}

.single-product-page .product-sample-section {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    padding: 0;
    background: #fff;
}

@media (max-width: 991px) {
    .single-product-page .product {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
    }

    .single-product-page .product_title {
        font-size: 32px;
    }

    .single-product-page form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .single-product-page .quantity input.qty,
    .single-product-page .single_add_to_cart_button {
        width: 100%;
    }

    .single-product-page .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }

    .single-product-page .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .single-product-page .woocommerce-product-gallery__trigger {
        top: 10px;
        left: 10px;
        width: 38px;
        height: 38px;
    }

    .single-product-page .flex-control-thumbs {
        gap: 8px;
        padding-bottom: 10px;
    }

    .single-product-page .flex-control-thumbs li {
        flex: 0 0 58px;
        width: 58px !important;
    }

    .single-product-page .flex-control-thumbs img {
        width: 58px !important;
        height: 58px !important;
        border-radius: 10px;
    }
}

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

/* Registration*/
/* Checkout login box */
.woocommerce-checkout form.woocommerce-form-login {
    max-width: 620px;
    margin: 25px auto 35px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Intro text */
.woocommerce-checkout form.woocommerce-form-login > p:first-child {
    margin-bottom: 25px;
    color: #4b5563;
    font-size: 15px;
}

/* Fix Woo columns */
.woocommerce-checkout form.woocommerce-form-login .form-row-first,
.woocommerce-checkout form.woocommerce-form-login .form-row-last {
    float: none !important;
    width: 100% !important;
}

/* Labels */
.woocommerce-checkout form.woocommerce-form-login label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

/* Inputs */
.woocommerce-checkout form.woocommerce-form-login input.input-text {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

/* Focus */
.woocommerce-checkout form.woocommerce-form-login input.input-text:focus {
    border-color: #111827;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17,24,39,0.08);
}

/* Password wrapper */
.woocommerce-checkout form.woocommerce-form-login .password-input {
    position: relative;
    display: block;
}

/* Make space for eye */
.woocommerce-checkout form.woocommerce-form-login .password-input input {
    padding-right: 48px !important;
}

/* Eye button */
.woocommerce-checkout form.woocommerce-form-login .show-password-input {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 26px;
    height: 26px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    z-index: 10;
}

/* Add eye icon manually */
.woocommerce-checkout form.woocommerce-form-login .show-password-input::after {
    content: "👁";
    font-size: 18px;
    line-height: 26px;
    display: block;
    color: #6b7280;
}

/* Remember me */
.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

/* Login button */
.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__submit {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-weight: 600;
    border: none;
}

/* Lost password + register link */
.woocommerce-checkout form.woocommerce-form-login .lost_password,
.woocommerce-checkout form.woocommerce-form-login .custom-register-link {
    text-align: center;
    margin-top: 15px;
}

.woocommerce-checkout form.woocommerce-form-login a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-checkout form.woocommerce-form-login a:hover {
    text-decoration: underline;
}


/* checkout page */
.woocommerce-form-coupon-toggle{
    margin-bottom: 20px;
}

.checkout-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.checkout-page .woocommerce {
    background: transparent;
}

.checkout-page form.checkout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.checkout-page #customer_details,
.checkout-page #order_review_heading,
.checkout-page #order_review {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.checkout-page #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    padding: 28px;
}

.checkout-page #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 18px;
    padding: 24px 28px;
    font-size: 24px;
    font-weight: 800;
}

.checkout-page #order_review {
    grid-column: 2;
    grid-row: 2;
    padding: 28px;
}

/* Checkout columns */
.checkout-page .col2-set {
    width: 100%;
    margin: 0;
}

.checkout-page .col2-set .col-1,
.checkout-page .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100%;
}

/* Checkout headings */
.checkout-page .woocommerce-billing-fields h3,
.checkout-page .woocommerce-additional-fields h3 {
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 800;
}

/* Checkout fields */
.checkout-page .form-row {
    width: 100%;
    margin-bottom: 18px;
}

.checkout-page .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.checkout-page label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.checkout-page input.input-text,
.checkout-page textarea,
.checkout-page select {
    width: 100% !important;
    max-width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
}

.checkout-page textarea {
    min-height: 120px;
}

.checkout-page .form-row-first,
.checkout-page .form-row-last {
    width: calc(50% - 10px) !important;
}

.checkout-page .form-row-first {
    float: left;
    clear: left;
}

.checkout-page .form-row-last {
    float: right;
}

.checkout-page .form-row-wide {
    clear: both;
    width: 100% !important;
}

/* Select2 */
.checkout-page .select2-container {
    width: 100% !important;
}

.checkout-page .select2-container .select2-selection--single {
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 14px;
}

.checkout-page .select2-container .select2-selection__rendered {
    padding-left: 14px;
    line-height: 48px;
}

.checkout-page .select2-container .select2-selection__arrow {
    height: 48px;
}

/* Checkout order table */
.checkout-page .woocommerce-checkout-review-order-table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed;
    border: none;
}

.checkout-page .woocommerce-checkout-review-order-table thead {
    display: none;
}

.checkout-page .woocommerce-checkout-review-order-table tbody {
    display: table-row-group !important;
}

.checkout-page .woocommerce-checkout-review-order-table tbody tr.cart_item {
    display: table-row !important;
    width: 100% !important;
    border-bottom: 1px solid #eee;
}

.checkout-page .woocommerce-checkout-review-order-table th,
.checkout-page .woocommerce-checkout-review-order-table td {
    display: table-cell !important;
    padding: 14px 0 !important;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.checkout-page .woocommerce-checkout-review-order-table .product-name {
    width: 70%;
    color: #111;
    font-weight: 700;
}

.checkout-page .woocommerce-checkout-review-order-table .product-total {
    width: 30%;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.checkout-page .woocommerce-checkout-review-order-table .product-quantity {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 13px;
}

.checkout-product-name-with-image {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

.checkout-product-thumb img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
}

.checkout-product-title {
    min-width: 0;
}

.checkout-page .order-total th,
.checkout-page .order-total td {
    font-size: 20px;
    font-weight: 800;
}

/* Payment */
.checkout-page #payment,
.checkout-page #payment ul.payment_methods {
    padding: 0;
    background: transparent;
    border: none;
}

.checkout-page #payment div.payment_box {
    padding: 14px;
    background: #f8f9fa;
    border-radius: 14px;
}

.checkout-page #place_order {
    width: 100%;
    margin-top: 18px;
    padding: 16px 24px !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    background: #111 !important;
    border: none !important;
    border-radius: 14px !important;
}

.checkout-page #place_order:hover {
    background: #333 !important;
}

@media (max-width: 991px) {
    .checkout-page form.checkout {
        grid-template-columns: 1fr;
    }

    .checkout-page #customer_details,
    .checkout-page #order_review_heading,
    .checkout-page #order_review {
        grid-column: 1;
        grid-row: auto;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .checkout-page .form-row-first,
    .checkout-page .form-row-last {
        float: none !important;
        clear: both;
        width: 100% !important;
    }
}

#order_review_heading{
    display: none;
}

.checkout-page #order_review {
  grid-row: 1 !important;
}

/* Coupon section */
.checkout-page .woocommerce-form-coupon-toggle,
.checkout-page form.checkout_coupon {
    width: 100%;
    max-width: 100%;
}

.checkout-page form.checkout_coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.checkout-page form.checkout_coupon .form-row-first {
    flex: 1 1 300px;
    width: auto !important;
    margin: 0;
}

.checkout-page form.checkout_coupon .form-row-last {
    flex: 0 0 auto;
    width: auto !important;
    margin: 0;
}

.checkout-page form.checkout_coupon input.input-text {
    width: 100%;
}

.checkout-page form.checkout_coupon .button {
    height: 48px;
    padding: 0 20px !important;
    white-space: nowrap;
}

.checkout-page .woocommerce-checkout-review-order-table .product-name {
    position: relative;
}

.checkout-page .woocommerce-checkout-review-order-table .product-quantity {
    display: none;
}

.checkout-page .woocommerce-checkout-review-order-table .product-total::after {
    content: " × 1";
    margin-left: 6px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.checkout-page .woocommerce-checkout-review-order-table .product-name .product-quantity {
    display: none;
}

.checkout-price-qty {
    margin-left: 6px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.checkout-page .woocommerce-checkout-review-order-table .product-total::after {
  display: none !important;
}

/* =========================================================
   MOBILE PRODUCT CARDS / MOBILE HEADER TWEAKS
========================================================= */
@media (max-width: 767px) {
    #products-container.row {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 14px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-card:hover {
        transform: none;
    }

    .product-card img {
        height: 145px;
        object-fit: cover;
    }

    .product-card .card-body {
        padding: 10px;
    }

    .product-card h5 {
        margin-bottom: 6px !important;
        font-size: 13px;
        line-height: 1.25;
    }

    .product-short-description {
        display: -webkit-box;
        margin-bottom: 8px !important;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.3;
        -webkit-box-orient: vertical;
    }

    .product-card .fw-bold {
        margin-bottom: 8px !important;
        font-size: 13px;
    }

    .product-card .add_to_cart_button,
    .product-card .added-cart-button {
        height: 34px;
        min-height: 34px;
        padding: 0 8px !important;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
        border-radius: 9px;
    }

    .product-card .add_to_cart_button.added::after,
    .product-card .custom-view-cart {
        font-size: 11px;
    }

    .product-card .custom-view-cart {
        margin-top: 5px;
    }

    .favorite-toggle {
        top: 8px;
        right: 8px;
        font-size: 18px;
    }

    .favorite-toggle.active {
        font-size: 22px;
    }

    .header-search {
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }

    .header-cart-wrapper {
        display: inline-flex;
    }

    .site-header .container {
        width: 100%;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .navbar-brand h3 {
        margin: 0;
        font-size: 20px;
    }

    .d-lg-none {
        gap: 4px !important;
    }

    .search-toggle,
    .header-cart-icon,
    .header-favorites-icon,
    .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
    }

    .navbar-toggler-icon {
        width: 18px;
        height: 18px;
    }

    .header-cart-icon,
    .header-favorites-icon {
        font-size: 18px;
    }

    .search-toggle {
        font-size: 16px;
    }

    .cart-count,
    .favorites-count {
        top: -2px;
        right: -3px;
        min-width: 15px;
        height: 15px;
        font-size: 9px;
    }
}

/* =========================================================
   MY ACCOUNT PAGE
========================================================= */

.my-account-page {
    min-height: 100vh;
    padding: 60px 0;
    background: #f8f9fa;
}

/* Main wrapper */
.my-account-page .woocommerce {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* Moder look */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}

.custom-account-header {
    max-width: 1100px;
    margin: 0 auto 25px;
    padding: 28px 32px;
    background: #111827;
    color: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-account-header h2 {
    margin: 0;
    color: #fff;
}

.custom-account-logout {
    background: #fff;
    color: #111827 !important;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

/* Tabs */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    max-width: 1100px;
    margin: 0 auto 25px;
    background: #fff;
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 11px 18px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #111827;
    color: #fff;
}

/* Hide Woo logout tab */
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    display: none !important;
}

/* Content */
body.woocommerce-account .woocommerce-MyAccount-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.remove-height{
    min-height: 10vh !important;
}

/* Address Tab */
/* Address columns wrapper */
body.woocommerce-account .woocommerce-Addresses {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

/* Each address card */
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    flex: 1;
    width: 100% !important;
    max-width: none !important;
    float: none !important;

    background: #f9fafb;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
}

/* Header row */
body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

/* Titles */
body.woocommerce-account .woocommerce-Address-title h2 {
    margin: 0;
    font-size: 22px;
}

/* Edit/Add button */
body.woocommerce-account .woocommerce-Address-title .edit {
    padding: 8px 14px;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* Address text */
body.woocommerce-account .woocommerce-Address address {
    margin: 0;
    font-style: normal;
    line-height: 1.7;
    color: #4b5563;
}

/* Account defail user information window */
.custom-account-dashboard {
    width: 100%;
}

.account-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px;
}

.account-card h3 {
    margin-bottom: 28px;
    font-size: 28px;
    color: #111827;
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.account-info-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.account-info-item .label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-info-item .value {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.edit-account-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 20px;
    background: #111827;
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.edit-account-btn:hover {
    background: #000;
}

@media (max-width: 768px) {

    body.woocommerce-account .woocommerce-Address-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    body.woocommerce-account .woocommerce-Address-title .edit {
        padding: 7px 12px;
        font-size: 13px;
        line-height: 1.2;
        width: auto;
        align-self: flex-start;
    }

}

@media (max-width: 768px) {

    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        display: none;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 8px 14px;
        font-size: 13px;
        flex-shrink: 0;
    }

}

@media (max-width: 768px) {

    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        gap: 6px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 5px 7px;
        font-size: 13px;
        border-radius: 10px;
        text-align: center;
    }

}

/* Mobile */
@media (max-width: 768px) {
    .account-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body.woocommerce-account .woocommerce-Addresses {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    padding: 12px 14px;
    font-size: 11px !important;
  }
}

/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */

.woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 100px;
    padding: 24px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    background: #f8f9fa;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: #fff;
    background: #111;
    transform: translateX(4px);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #fff;
    background: #111;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* =========================================================
   ACCOUNT CONTENT
========================================================= */

.woocommerce-account .woocommerce-MyAccount-content {
    padding: 36px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    color: #555;
    line-height: 1.7;
}

/* =========================================================
   FORMS
========================================================= */

.woocommerce-account .woocommerce-form-row,
.woocommerce-account .form-row {
    margin-bottom: 20px;
}

.woocommerce-account label {
    display: block;
    margin-bottom: 8px;
    color: #111;
    font-weight: 600;
}

.woocommerce-account input.input-text,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account textarea,
.woocommerce-account select {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    outline: none;
    transition: all 0.25s ease;
}

.woocommerce-account input:focus,
.woocommerce-account textarea:focus,
.woocommerce-account select:focus {
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}

/* =========================================================
   BUTTONS
========================================================= */

.woocommerce-account button.button,
.woocommerce-account .button,
.woocommerce-account a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px !important;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    background: #111 !important;
    border: none !important;
    border-radius: 14px !important;
    transition: all 0.25s ease;
}

.woocommerce-account button.button:hover,
.woocommerce-account .button:hover,
.woocommerce-account a.button:hover {
    background: #333 !important;
    transform: translateY(-2px);
}

/* =========================================================
   TABLES / ORDERS
========================================================= */

.woocommerce-account table.shop_table {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: none;
    border-radius: 18px;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-account table.shop_table thead th {
    padding: 18px;
    color: #555;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    background: #f8f9fa;
    border: none;
}

.woocommerce-account table.shop_table tbody td {
    padding: 18px;
    vertical-align: middle;
    border-top: 1px solid #eee;
}

.woocommerce-account table.shop_table a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-account table.shop_table a:hover {
    color: #0d6efd;
}

/* =========================================================
   DASHBOARD BOXES
========================================================= */

.account-dashboard-box {
    padding: 28px;
    margin-bottom: 24px;
    background: #f8f9fa;
    border-radius: 20px;
}

.account-dashboard-box h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 800;
}

/* =========================================================
   ALERTS
========================================================= */

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    padding: 18px 22px;
    margin-bottom: 24px;
    border: none;
    border-radius: 16px;
}

.woocommerce-account .woocommerce-message {
    color: #0f5132;
    background: #d1e7dd;
}

.woocommerce-account .woocommerce-info {
    color: #055160;
    background: #cff4fc;
}

.woocommerce-account .woocommerce-error {
    color: #842029;
    background: #f8d7da;
}

/* =========================================================
   LOGIN / REGISTER
========================================================= */

.woocommerce-account .u-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    padding: 32px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2 {
    margin-bottom: 24px;
    font-size: 30px;
    font-weight: 800;
}

/* =========================================================
   ADDRESS BOXES
========================================================= */

.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.woocommerce-account .woocommerce-Address {
    padding: 28px;
    background: #f8f9fa;
    border-radius: 20px;
}

.woocommerce-account address {
    margin-top: 14px;
    color: #555;
    line-height: 1.7;
    font-style: normal;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .my-account-page .woocommerce {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        position: relative;
        top: 0;
    }

    .woocommerce-account .u-columns,
    .woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .my-account-page {
        padding: 30px 0;
    }

    .woocommerce-account .woocommerce-MyAccount-content,
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .u-column1,
    .woocommerce-account .u-column2 {
        padding: 20px;
        border-radius: 18px;
    }

    .woocommerce-account table.shop_table,
    .woocommerce-account table.shop_table tbody,
    .woocommerce-account table.shop_table tr,
    .woocommerce-account table.shop_table td {
        display: block;
        width: 100%;
    }

    .woocommerce-account table.shop_table thead {
        display: none;
    }

    .woocommerce-account table.shop_table tr {
        margin-bottom: 18px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    }

    .woocommerce-account table.shop_table td {
        padding: 12px 16px;
        text-align: left !important;
        border-top: 1px solid #f1f1f1;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* =========================================================
   MY-ACCOUNT
========================================================= */

.custom-register-link{
    text-align: center;
}

/* Center and style the login box */
.woocommerce form.login {
    max-width: 420px;
    margin: 60px auto;
    padding: 35px;
    background: #f3f4f6; /* light gray */
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* Login title */
.woocommerce h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
}

/* Inputs */
.woocommerce form.login input.input-text {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 15px;
}

/* Button */
.woocommerce form.login .button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-weight: 600;
    border: none;
    transition: 0.3s ease;
}

.woocommerce form.login .button:hover {
    background: #000;
}

/* Lost password */
.woocommerce .lost_password {
    text-align: center;
    margin-top: 15px;
}

/* Remember me spacing */
.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

/* Login page background */
body.woocommerce-account .bg-light {
    background: #f3f4f6 !important;
}

/* Login box */
body.woocommerce-account .woocommerce form.login {
    max-width: 420px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* Password field wrapper */
body.woocommerce-account .password-input {
    position: relative;
    display: block;
}

/* Space for eye icon */
body.woocommerce-account .password-input input {
    padding-right: 45px !important;
}

/* WooCommerce eye button */
body.woocommerce-account .show-password-input {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
}

/* Add eye icon if theme is not showing one */
body.woocommerce-account .show-password-input::after {
    content: "👁";
    font-size: 18px;
    line-height: 24px;
}

/* =========================================================
   REGISTER PAGE
========================================================= */

/* Register page background */
main .bg-light {
    background: #f3f4f6 !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

/* Register form card */
.custom-register-form {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* Title */
.custom-register-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

/* Form spacing */
.custom-register-form p {
    margin-bottom: 20px;
}

/* Labels */
.custom-register-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* Inputs */
.custom-register-form input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Input focus */
.custom-register-form input:focus {
    border-color: #111827;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17,24,39,0.08);
}

/* Button */
.custom-register-form button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Button hover */
.custom-register-form button:hover {
    background: #000;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 576px) {
    .custom-register-form {
        padding: 28px;
        border-radius: 16px;
    }

    .custom-register-form h2 {
        font-size: 26px;
    }
}



