/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: Your Name
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Custom CSS here */
/* Product Card */
.products li.product {
    list-style: none;
}

.products li.product > div {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
}

.products li.product > div:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Product Link */
.product-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* Product Image */
.product-image {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.products li.product:hover .product-image img {
    transform: scale(1.05);
}

/* Product Content */
.product-content {
    padding: 18px;
}

/* Category */
.product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 8px;
    line-height: 1.5;
}

.product-category a {
    color: #777;
    text-decoration: none;
}

.product-category a:hover {
    color: #02176a;
}

/* Product Title */
.product-title {
    font-size: 14px !important;
    line-height: 1.5;
    font-weight: 600;
    margin: 0 0 12px;
    min-height: 52px;
    overflow: hidden;
    color: #111;
}

.product-title:hover {
    color: #02176a;
}

/* Price */
.product-price {
    margin-bottom: 18px;
}

.product-price .price {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.product-price del {
    color: #999;
    font-size: 15px;
    margin-right: 6px;
}

.product-price ins {
    text-decoration: none;
    background: transparent !important;
}

/* Add To Cart */
.product-button .button {
    width: 100%;
    background: #02176a !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.product-button .button:hover {
    background: #ff4d00 !important;
    transform: translateY(-2px);
}

/* Sale Badge */
.onsale {
    background: #ff2b2b !important;
    color: #fff !important;
    border-radius: 50px;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600;
    top: 15px !important;
    left: 15px !important;
    min-height: auto !important;
    line-height: normal !important;
}

/* Rating */
.star-rating {
    margin-bottom: 12px;
    color: #ffb400;
}

/* Responsive */
@media (max-width: 768px) {

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

    .product-content {
        padding: 14px;
    }

    .product-title {
        font-size: 14px;
        min-height: auto;
    }

    .product-price .price {
        font-size: 18px;
    }

    .product-button .button {
        padding: 10px 14px;
        font-size: 13px;
    }
}









/* ------------------------------
   TWO-COLUMN LAYOUT (NAV + CONTENT)
--------------------------------- */
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
    vertical-align: top;
}

/* Use grid for modern layout */
.woocommerce {
    display: block;
}


/* ------------------------------
   SIDEBAR NAVIGATION MENU
--------------------------------- */
.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eef2f6;
    height: fit-content;
}

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

.woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-navigation li.is-active {
    background: #f1f5f9;
    border-left-color: #3b82f6;
}

.woocommerce-MyAccount-navigation li:hover:not(.is-active) {
    background: #f9fafb;
    border-left-color: #cbd5e1;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    transition: color 0.2s;
}

.woocommerce-MyAccount-navigation li.is-active a {
    color: #2563eb;
    font-weight: 600;
}

.woocommerce-MyAccount-navigation a:hover {
    color: #0f172a;
}

/* Special logout link style */
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #dc2626;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: #b91c1c;
    background: #fef2f2;
}

/* ------------------------------
   MAIN CONTENT AREA
--------------------------------- */
.woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
}

/* Welcome message and user greeting */
.woocommerce-MyAccount-content p:first-of-type {
    font-size: 1.1rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #e2e8f0;
}

.woocommerce-MyAccount-content strong {
    color: #0f172a;
    font-weight: 600;
}

.woocommerce-MyAccount-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.woocommerce-MyAccount-content a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Info notice (temporary password) */
.woocommerce-info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    color: #1e40af;
    font-size: 0.9rem;
}

.woocommerce-notices-wrapper .woocommerce-info {
    margin-top: 0;
}

/* Dashboard description text */
.woocommerce-MyAccount-content p:last-of-type {
    line-height: 1.6;
    color: #334155;
}

/* ------------------------------
   ORDERS TABLE (Orders page)
--------------------------------- */
.woocommerce-orders-table,
.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.woocommerce-orders-table th,
.shop_table th {
    text-align: left;
    padding: 1rem 1rem;
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-orders-table td,
.shop_table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.woocommerce-orders-table tr:last-child td,
.shop_table tr:last-child td {
    border-bottom: none;
}

/* Order status badges */
.woocommerce-orders-table .order-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.order-status.completed,
.order-status-processing {
    background: #dcfce7;
    color: #166534;
}

.order-status.pending,
.order-status.on-hold {
    background: #fff3e3;
    color: #9a3412;
}

.order-status.cancelled,
.order-status.refunded {
    background: #fee2e2;
    color: #991b1b;
}

/* Buttons inside orders */
.woocommerce-button.button.view {
    background: #f1f5f9;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.2s;
}

.woocommerce-button.button.view:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ------------------------------
   DOWNLOADS PAGE
--------------------------------- */
.woocommerce-MyAccount-downloads .download-product {
    font-weight: 600;
}

.woocommerce-MyAccount-downloads .download-actions a {
    background: #f1f5f9;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
}

/* ------------------------------
   ADDRESSES PAGE (Edit Address)
--------------------------------- */
.woocommerce-Address {
    background: #f9fafb;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #eef2f6;
}

.woocommerce-Address-title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #0f172a;
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 1rem;
}

.woocommerce-Address .edit {
    display: inline-block;
    background: #ffffff;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #cbd5e1;
    color: #1f2937;
    transition: all 0.2s;
    text-decoration: none;
}

.woocommerce-Address .edit:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* ------------------------------
   ACCOUNT DETAILS FORM (Edit Account)
--------------------------------- */
.woocommerce-EditAccountForm .form-row {
    margin-bottom: 1.25rem;
}

.woocommerce-EditAccountForm label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.woocommerce-EditAccountForm input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #fff;
}

.woocommerce-EditAccountForm input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Save changes button */
.woocommerce-EditAccountForm button,
.woocommerce-EditAccountForm .woocommerce-Button {
    background: #0f172a;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.woocommerce-EditAccountForm button:hover {
    background: #1e293b;
}

/* ------------------------------
   LOGIN / REGISTER (if embedded)
--------------------------------- */
.woocommerce form.login,
.woocommerce form.register {
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.woocommerce form .form-row .button {
    background: #0f172a;
    color: white;
    border-radius: 40px;
    padding: 0.7rem 2rem;
}

/* ------------------------------
   RESPONSIVE IMPROVEMENTS
--------------------------------- */
@media (max-width: 767px) {
    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        grid-column: 1 / -1;
    }

    .woocommerce-MyAccount-navigation {
        margin-bottom: 1.5rem;
    }

    .woocommerce-MyAccount-content {
        padding: 1.5rem;
    }

    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* ------------------------------
   EXTRAS: Better spacing & misc
--------------------------------- */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
    border-radius: 12px;
    margin-bottom: 1.5rem;
}


/* subtle hover effects for interactive elements */
.woocommerce-MyAccount-navigation a,
.woocommerce-Address .edit,
.woocommerce-button.button.view {
    transition: all 0.2s ease-in-out;
}

/* Dashboard quick links styling */
.woocommerce-MyAccount-content p a {
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-MyAccount-content p a:hover {
    background: #e2e8f0;
    text-decoration: none;
}

@media (min-width: 1200px) {
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        max-width: 1400px !important;
    }
}















