/* =====================================================================
   Modern UI — Page-specific enhancements (Storefront)
   ---------------------------------------------------------------------
   Additive layer loaded AFTER modern-ui.css. Targets the real markup of
   high-traffic pages: home, product, checkout, search, compare, cart,
   faq, contact, user dashboard, wishlist, favourite.
   Inherits --brand / --ui-* tokens defined in modern-ui.css.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Shared: breadcrumb + page headings (search, faq, contact, compare…)
   --------------------------------------------------------------------- */
.breadcrumb-area {
    background: linear-gradient(180deg, var(--ui-bg-soft, #f7f8fa) 0%, #fff 100%);
    border-bottom: 1px solid var(--ui-line, #eceef2);
    padding: 22px 0;
}
.breadcrumb-area .pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .9rem;
}
.breadcrumb-area .pages li { display: inline-flex; align-items: center; }
.breadcrumb-area .pages a { color: var(--ui-muted, #6b7280); }
.breadcrumb-area .pages a:hover { color: var(--brand, #ff5500); }

.page-center .title,
.faq-section .title,
.contact-area .title {
    font-weight: 700;
    letter-spacing: -.01em;
}

/* ---------------------------------------------------------------------
   Product page
   --------------------------------------------------------------------- */
.view-stor { transition: color var(--ui-t, .22s ease); }

/* Buy-box action button */
.addtocart,
.product-area .submit-btn {
    border-radius: var(--ui-radius-sm, 8px);
    font-weight: 700;
    transition: transform var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease), filter var(--ui-t, .22s ease);
}
.addtocart:hover,
.product-area .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow-md, 0 4px 12px rgba(16,24,40,.08));
    filter: brightness(1.03);
}

/* Quantity / variant inputs */
.input-field input,
.input-field select {
    border-radius: var(--ui-radius-sm, 8px);
}

/* Description / review tabs */
.tab-content-area {
    border: 1px solid var(--ui-line, #eceef2);
    border-radius: var(--ui-radius, 12px);
    box-shadow: var(--ui-shadow-sm);
    overflow: hidden;
}
.tab-content-area .nav-tabs,
.tab-content-area .tab-menu {
    background: var(--ui-bg-soft, #f7f8fa);
    border-bottom: 1px solid var(--ui-line, #eceef2);
}

/* Star ratings — crisper */
.stars .full-stars { color: #f5a623; }

/* Image gallery thumbs */
.xzoom-thumbs img,
.xzoom-gallery5 {
    border-radius: var(--ui-radius-sm, 8px);
    transition: border-color var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
}
.xzoom-thumbs img:hover {
    box-shadow: var(--ui-shadow-md);
}

/* ---------------------------------------------------------------------
   Checkout page
   --------------------------------------------------------------------- */
.checkout-area .tab-pane,
.checkout-wrapper .tab-pane {
    border-radius: var(--ui-radius, 12px);
}

.form-input { margin-bottom: 16px; }
.form-input label,
.checkout-area label {
    font-weight: 600;
    color: var(--ui-ink, #1f2530);
    margin-bottom: 6px;
    display: inline-block;
}
.form-input input,
.form-input textarea,
.form-input select,
.ship_input,
input.ship_input {
    width: 100%;
    border-radius: var(--ui-radius-sm, 8px);
    border: 1px solid var(--ui-line, #eceef2);
    transition: border-color var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
}
.form-input input:focus,
.form-input textarea:focus,
.form-input select:focus,
.ship_input:focus {
    border-color: var(--brand, #ff5500);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #ff5500) 18%, transparent);
    outline: none;
}

/* Payment method options become selectable cards */
.payment .radio,
.payment-method .radio {
    border: 1px solid var(--ui-line, #eceef2);
    border-radius: var(--ui-radius, 12px);
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: border-color var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease), background-color var(--ui-t, .22s ease);
}
.payment .radio:hover,
.payment-method .radio:hover {
    border-color: color-mix(in srgb, var(--brand, #ff5500) 40%, var(--ui-line, #eceef2));
    background: var(--ui-bg-soft, #f7f8fa);
}

/* Primary checkout buttons */
.mybtn1 {
    border-radius: var(--ui-radius-sm, 8px);
    font-weight: 700;
    transition: transform var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
}
.mybtn1:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow-md);
}

/* Order summary figures */
.unit-price,
.total-price {
    font-weight: 700;
}

/* ---------------------------------------------------------------------
   Cart page
   --------------------------------------------------------------------- */
.cart-area table.table,
.cart-wrapper table {
    border-radius: var(--ui-radius, 12px);
    overflow: hidden;
}
.cart-area .total-price { color: var(--brand, #ff5500); }
.cremove,
.pro-remove,
.remove {
    transition: color var(--ui-t, .22s ease), transform var(--ui-t, .22s ease);
}
.cremove:hover,
.pro-remove:hover,
.remove:hover {
    color: #e23b3b;
    transform: scale(1.12);
}

/* ---------------------------------------------------------------------
   Compare page
   --------------------------------------------------------------------- */
.compare-area .table,
.table.table-bordered {
    border-radius: var(--ui-radius, 12px);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}
.first-column,
td.first-column {
    background: var(--ui-bg-soft, #f7f8fa);
    font-weight: 600;
}
.product-image-title { font-weight: 600; }
.pro-price { font-weight: 700; color: var(--brand, #ff5500); }
.btn__bg {
    border-radius: var(--ui-radius-sm, 8px);
    transition: transform var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
}
.btn__bg:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow-md);
}

/* ---------------------------------------------------------------------
   Search results
   --------------------------------------------------------------------- */
.categori-item-area .category,
.sub-categori { transition: transform var(--ui-t, .22s ease); }

/* ---------------------------------------------------------------------
   FAQ accordion (jQuery UI)
   --------------------------------------------------------------------- */
.faq-section #accordion .heading {
    border: 1px solid var(--ui-line, #eceef2);
    border-radius: var(--ui-radius-sm, 8px);
    padding: 16px 18px;
    margin: 10px 0 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    transition: background-color var(--ui-t, .22s ease), border-color var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
}
.faq-section #accordion .heading:hover,
.faq-section #accordion .heading.ui-state-active {
    border-color: color-mix(in srgb, var(--brand, #ff5500) 45%, var(--ui-line, #eceef2));
    box-shadow: var(--ui-shadow-sm);
}
.faq-section #accordion .heading.ui-state-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    color: var(--brand, #ff5500);
}
.faq-section #accordion .content {
    border: 1px solid var(--ui-line, #eceef2);
    border-top: none;
    border-bottom-left-radius: var(--ui-radius-sm, 8px);
    border-bottom-right-radius: var(--ui-radius-sm, 8px);
    padding: 16px 18px;
    color: var(--ui-muted, #6b7280);
    line-height: 1.7;
}

/* ---------------------------------------------------------------------
   Contact page
   --------------------------------------------------------------------- */
.contact-info {
    border: 1px solid var(--ui-line, #eceef2);
    border-radius: var(--ui-radius, 12px);
    padding: 22px;
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
    transition: transform var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
    height: 100%;
}
.contact-info:hover {
    transform: translateY(-3px);
    box-shadow: var(--ui-shadow-md);
}
.contact-info .icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ui-radius-pill, 999px);
    background: color-mix(in srgb, var(--brand, #ff5500) 12%, #fff);
    color: var(--brand, #ff5500);
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--ui-radius-pill, 999px);
    border: 1px solid var(--ui-line, #eceef2);
    margin-inline-end: 8px;
    transition: transform var(--ui-t, .22s ease), color var(--ui-t, .22s ease), border-color var(--ui-t, .22s ease), background-color var(--ui-t, .22s ease);
}
.social-links a:hover {
    transform: translateY(-3px);
    color: #fff;
    background: var(--brand, #ff5500);
    border-color: var(--brand, #ff5500);
}
.contact-area .submit-btn,
.contact-form .submit-btn {
    border-radius: var(--ui-radius-sm, 8px);
    font-weight: 700;
    transition: transform var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
}
.contact-area .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow-md);
}

/* ---------------------------------------------------------------------
   User dashboard
   --------------------------------------------------------------------- */
.account-info,
.user-profile-details,
.main-info,
.edit-info-area {
    border: 1px solid var(--ui-line, #eceef2);
    border-radius: var(--ui-radius, 12px);
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
}
.account-info { padding: 22px; }
.user-title { font-weight: 600; color: var(--ui-muted, #6b7280); }

/* Stat / wallet cards */
.card.c-info-box-area {
    border: 1px solid var(--ui-line, #eceef2);
    border-radius: var(--ui-radius, 12px);
    box-shadow: var(--ui-shadow-sm);
    transition: transform var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
    overflow: hidden;
}
.card.c-info-box-area:hover {
    transform: translateY(-3px);
    box-shadow: var(--ui-shadow-md);
}
.c-info-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.account-info.wallet {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--brand, #ff5500) 10%, #fff),
        #fff);
}

/* ---------------------------------------------------------------------
   Wishlist / Favourite
   --------------------------------------------------------------------- */
.single-wish {
    border: 1px solid var(--ui-line, #eceef2);
    border-radius: var(--ui-radius, 12px);
    padding: 14px;
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
    transition: transform var(--ui-t, .22s ease), box-shadow var(--ui-t, .22s ease);
}
.single-wish:hover {
    transform: translateY(-3px);
    box-shadow: var(--ui-shadow-md);
}
.wishlist-remove,
.single-wish .remove {
    transition: color var(--ui-t, .22s ease), transform var(--ui-t, .22s ease);
}
.wishlist-remove:hover { color: #e23b3b; transform: scale(1.12); }

.mr-table table,
.user-dashbord .table {
    border-radius: var(--ui-radius, 12px);
    overflow: hidden;
}

/* ---------------------------------------------------------------------
   Header search box — modern pill
   --------------------------------------------------------------------- */
.search-box {
    border-radius: var(--ui-radius-pill, 999px);
    box-shadow: var(--ui-shadow-sm);
    border: 1px solid var(--ui-line, #eceef2);
    overflow: hidden;
    background: #fff;
    transition: box-shadow var(--ui-t, .22s ease), border-color var(--ui-t, .22s ease);
}
.search-box:focus-within {
    border-color: var(--brand, #ff5500);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #ff5500) 16%, transparent);
}
.search-box .categori-container,
.search-box .categoris {
    border: none !important;
    background: transparent;
    border-inline-end: 1px solid var(--ui-line, #eceef2) !important;
}
.search-box .search-form input#prod_name {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
}
.search-box .search-form button {
    border-radius: var(--ui-radius-pill, 999px);
    transition: transform var(--ui-t, .22s ease), background-color var(--ui-t, .22s ease), filter var(--ui-t, .22s ease);
}
.search-box .search-form button:hover {
    filter: brightness(1.05);
    transform: scale(1.04);
}
/* Autocomplete suggestions */
.autocomplete-items {
    border-radius: var(--ui-radius-sm, 8px);
    box-shadow: var(--ui-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--ui-line, #eceef2);
}
.autocomplete-items > div {
    transition: background-color var(--ui-t, .22s ease);
}
.autocomplete-items > div:hover {
    background: var(--ui-bg-soft, #f7f8fa);
}

/* ---------------------------------------------------------------------
   Account / avatar dropdown — friendlier & modern
   --------------------------------------------------------------------- */
.profilearea .profile {
    border-radius: var(--ui-radius-pill, 999px);
    padding: 6px 12px;
    transition: background-color var(--ui-t, .22s ease);
}
.profilearea .profile:hover {
    background: color-mix(in srgb, var(--brand, #ff5500) 10%, transparent);
}
.profilearea .profile .fa-chevron-down {
    font-size: .7em;
    transition: transform var(--ui-t, .22s ease);
}
.profilearea.open .profile .fa-chevron-down,
.profilearea:hover .profile .fa-chevron-down {
    transform: rotate(180deg);
}
.my-dropdown-menu.profile-dropdown {
    border-radius: var(--ui-radius, 12px);
    box-shadow: var(--ui-shadow-lg);
    border: 1px solid var(--ui-line, #eceef2);
    overflow: hidden;
    padding: 6px;
    min-width: 230px;
}
/* Greeting header injected at top of the menu */
.profile-dropdown .profile-greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--ui-line, #eceef2);
}
.profile-dropdown .profile-greeting .pg-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: var(--ui-radius-pill, 999px);
    background: color-mix(in srgb, var(--brand, #ff5500) 14%, #fff);
    color: var(--brand, #ff5500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    overflow: hidden;
}
.profile-dropdown .profile-greeting .pg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-dropdown .profile-greeting .pg-name {
    font-weight: 700;
    line-height: 1.2;
    color: var(--ui-ink, #1f2530);
}
.profile-dropdown .profile-greeting .pg-sub {
    font-size: .78rem;
    color: var(--ui-muted, #6b7280);
}
.profile-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--ui-radius-sm, 8px);
    padding: 9px 12px;
    transition: background-color var(--ui-t, .22s ease), color var(--ui-t, .22s ease), padding-inline-start var(--ui-t, .22s ease);
}
.profile-links li a:hover {
    background: var(--ui-bg-soft, #f7f8fa);
    color: var(--brand, #ff5500);
    padding-inline-start: 16px;
}

/* ---------------------------------------------------------------------
   Footer — modern
   --------------------------------------------------------------------- */
.footer .footer-widget .title,
.footer .footer-info-area .title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.footer .footer-widget .title::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand, #ff5500);
}
.footer .link-list li a,
.footer .footer-widget li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: padding-inline-start var(--ui-t, .22s ease), color var(--ui-t, .22s ease), opacity var(--ui-t, .22s ease);
    opacity: .9;
}
.footer .link-list li a:hover,
.footer .footer-widget li a:hover {
    padding-inline-start: 6px;
    opacity: 1;
}
/* Social icons → circular buttons with hover lift */
.fotter-social-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}
.fotter-social-links ul li a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ui-radius-pill, 999px);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    transition: transform var(--ui-t, .22s ease), background-color var(--ui-t, .22s ease), color var(--ui-t, .22s ease);
}
.fotter-social-links ul li a:hover {
    transform: translateY(-3px);
    background: var(--brand, #ff5500);
    color: #fff;
    border-color: var(--brand, #ff5500);
}
/* Recent post thumbnails */
.recent-post-widget .post-img img {
    border-radius: var(--ui-radius-sm, 8px);
    transition: transform var(--ui-t, .22s ease);
}
.recent-post-widget .post:hover .post-img img {
    transform: scale(1.05);
}
.recent-post-widget .post-title { transition: color var(--ui-t, .22s ease); }
/* Copyright bar */
.copy-bg { border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------------------------------------------------------------------
   Empty states (friendlier)
   --------------------------------------------------------------------- */
.empty-area,
.no-data,
.cart-empty {
    text-align: center;
    color: var(--ui-muted, #6b7280);
    padding: 40px 16px;
}
