/*
Theme Name:   Paloyan MultiVendor Theme
Theme URI:    https://paloyan.com
Author:       Paloyan Dev
Description:  WooCommerce-compatible theme for the Paloyan multi-vendor marketplace.
Version:      1.0.0
License:      GPL-2.0-or-later
Text Domain:  paloyan-theme
Tags:         woocommerce, e-commerce, multi-vendor, responsive
*/

/* ===== CSS Custom Properties ===== */
:root {
    --color-primary: #1a3a8a;
    --color-secondary: #1558c0;
    --color-accent: #f97316;
    --color-text: #333;
    --color-muted: #666;
    --color-border: #e1e1e1;
    --color-bg: #f8f9fa;
    --color-white: #ffffff;
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0, 0, 0, .08);
    --container: 1200px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    margin: 0 0 .75em;
}

/* ===== Layout ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    padding: 40px 0;
}

/* ===== Header ===== */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 99999;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: var(--container);
    margin: 0 auto;
    gap: 20px;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 480px;
}

.header-search form {
    display: flex;
    border: 2px solid var(--color-border);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color .2s;
}

.header-search form:focus-within {
    border-color: var(--color-primary);
}

.header-search input[type="search"] {
    flex: 1;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: .9rem;
}

.header-search button {
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: .9rem;
}

/* Nav & Cart */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions>a {
    color: var(--color-text);
    font-size: .9rem;
    white-space: nowrap;
}

/* User Profile Dropdown */
.user-profile-dropdown {
    position: relative;
}

.user-avatar-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 50px;
    transition: background 0.3s;
}

.user-avatar-trigger:hover {
    background: rgba(0, 0, 0, 0.04);
}

.user-avatar-trigger img {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border: 2px solid var(--color-border);
}

.user-avatar-trigger .user-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}

.user-avatar-trigger .dropdown-icon {
    font-size: 0.7rem;
    color: var(--color-muted);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 200px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    padding: 8px 0;
    border: 1px solid var(--color-border);
}

.user-profile-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.dropdown-menu a.logout-link {
    border-top: 1px solid var(--color-border);
    color: #e74c3c;
}

.dropdown-menu a.logout-link:hover {
    background: #fdf2f1;
    color: #c0392b;
}

.pmv-login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(26, 58, 138, 0.1);
    color: var(--color-primary) !important;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.pmv-login-btn:hover {
    background: rgba(26, 58, 138, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 50px;
}

.cart-count {
    background: #f97316;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    position: absolute;
    top: -6px;
    right: -6px;
}

.wishlist-header-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 115, 22, 0.1);
    color: #f97316 !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.wishlist-header-link:hover {
    background: rgba(249, 115, 22, 0.2);
    transform: translateY(-1px);
}

.pmv-wishlist-count {
    background: #1a3a8a;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    position: absolute;
    top: -6px;
    right: -6px;
}

/* ===== Navigation ===== */
.main-nav {
    background: var(--color-primary);
    position: relative;
    z-index: 90;
}

/* Container wrapper inside nav */
.nav-scroll-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: stretch;
}

/* Scrollable nav wrapper — desktop only */
.nav-scroll-wrap {
    flex: 1;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    position: static;
}

.nav-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.main-nav>div>ul,
.main-nav>ul,
.nav-scroll-wrap>div>ul,
.nav-scroll-wrap>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    position: relative;
    white-space: nowrap;
}

/* Nav scroll arrow buttons */
.nav-scroll-btn {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 0;
    min-width: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.18);
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    transition: width 0.2s, background 0.2s, opacity 0.2s;
    overflow: hidden;
    opacity: 0;
}

.nav-scroll-btn.visible {
    display: flex;
    width: 36px;
    opacity: 1;
}

.nav-scroll-btn:hover {
    background: rgb(254 111 3);
    color: #fff;
}

.nav-scroll-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 16px 20px;
    color: rgba(255, 255, 255, .9);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
}

.main-nav a:hover,
.main-nav .current-menu-item>a {
    background: rgb(254 111 3);
    color: #fff;
}

/* Dropdown Sub-menu */
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    list-style: none;
    margin: 0;
}

.main-nav li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu li {
    position: relative;
}

.main-nav .sub-menu a {
    color: #4a5568;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 400;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item>a {
    background: #f8fafc;
    color: var(--color-primary);
    padding-left: 28px;
}

/* Nested Sub-menus */
.main-nav .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    border-radius: 12px;
}

/* Mega Menu */
.main-nav .mega-menu {
    position: static;
}

.main-nav .mega-menu>.sub-menu {
    width: 100%;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    border-radius: 0 0 16px 16px;
    background: #ffffff;
}

.main-nav .mega-menu>.sub-menu>li {
    flex: 1;
    min-width: 200px;
    padding: 0 20px;
}

.main-nav .mega-menu>.sub-menu>li>a {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1rem;
    border-bottom: 2px solid #edf2f7;
    margin-bottom: 12px;
    padding: 8px 0;
    background: transparent !important;
}

.main-nav .mega-menu>.sub-menu>li>.sub-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    width: 100%;
    display: block;
}

.main-nav .mega-menu>.sub-menu>li>.sub-menu a {
    padding: 8px 0;
    color: #64748b;
}

.main-nav .mega-menu>.sub-menu>li>.sub-menu a:hover {
    padding-left: 6px;
    background: transparent;
    color: var(--color-primary);
}

/* Submenu Toggle Icon for Desktop */
.main-nav .menu-item-has-children>a::after {
    content: "▼";
    font-size: 0.6em;
    margin-left: 6px;
    vertical-align: middle;
}

.main-nav .mega-menu>.sub-menu>li>a::after {
    display: none;
}

.submenu-toggle {
    display: none;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
}

.mobile-menu-toggle .icon-close {
    display: none;
}

.mobile-menu-toggle.active .icon-menu {
    display: none;
}

.mobile-menu-toggle.active .icon-close {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    /* ===== Mobile Header Layout =====
       Row 1: Logo  |  Hamburger
       Row 2: User / WishList / Cart
       Row 3: Search
    */

    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        align-items: center;
        padding: 12px 16px;
        gap: 10px 0;
    }

    /* Row 1, Col 1 – Logo */
    .site-logo {
        grid-column: 1;
        grid-row: 1;
    }

    /* Row 1, Col 2 – Hamburger */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 2;
        grid-row: 1;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: #f8fafc;
        border: 1.5px solid #e2e8f0;
        color: #1e293b;
        cursor: pointer;
        margin-left: 0;
        transition: background 0.2s, border-color 0.2s;
    }

    .mobile-menu-toggle:hover {
        background: var(--color-primary);
        border-color: var(--color-primary);
        color: #fff;
    }

    .mobile-menu-toggle svg {
        width: 22px;
        height: 22px;
    }

    /* Row 2 – Actions (spans full width) */
    .header-actions {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-left: 0;
    }

    /* Row 3 – Search (spans full width) */
    .header-search {
        grid-column: 1 / -1;
        grid-row: 3;
        max-width: 100%;
        margin-top: 0;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        background: #fff;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        overflow-y: auto;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding-top: 30px;
    }

    .main-nav.active {
        left: 0;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        z-index: 9998;
    }

    /* Mobile: disable desktop scrollable nav */
    .nav-scroll-container {
        max-width: none;
        padding: 0;
        display: block;
    }

    .nav-scroll-wrap {
        overflow: visible;
        scroll-behavior: auto;
        width: 100%;
    }

    .nav-scroll-btn {
        display: none !important;
    }

    .main-nav>div>ul,
    .main-nav>ul,
    .nav-scroll-wrap>div>ul,
    .nav-scroll-wrap>ul {
        flex-direction: column;
        white-space: normal;
    }

    .main-nav a {
        color: #1e293b;
        border-bottom: 1px solid #f1f5f9;
        padding: 16px 24px;
        font-weight: 600;
    }

    .main-nav a:hover,
    .main-nav .current-menu-item>a {
        background: #f8fafc;
        color: var(--color-primary);
    }

    /* Accordion Dropdown Mobile */
    .main-nav .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
        border-radius: 0;
        background: #f8fafc;
    }

    .main-nav li.submenu-active>.sub-menu {
        display: block;
    }

    .main-nav .sub-menu a {
        padding-left: 40px;
        font-weight: 500;
    }

    .main-nav .sub-menu .sub-menu a {
        padding-left: 60px;
    }

    .main-nav .menu-item-has-children {
        position: relative;
    }

    .main-nav .menu-item-has-children>a {
        padding-right: 60px;
    }

    .main-nav .menu-item-has-children>a::after {
        display: none;
    }

    .submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
        height: 54px;
        border-left: 1px solid #f1f5f9;
        cursor: pointer;
        color: #64748b;
        transition: all 0.3s;
    }

    .submenu-active>.submenu-toggle {
        background: var(--color-primary);
        color: #fff;
    }

    .submenu-active>.submenu-toggle svg {
        transform: rotate(180deg);
    }

    /* Mega Menu Mobile Reset */
    .main-nav .mega-menu>.sub-menu {
        display: none;
        flex-direction: column;
        padding: 0;
    }

    .main-nav .mega-menu.submenu-active>.sub-menu {
        display: flex;
    }

    .main-nav .mega-menu>.sub-menu>li {
        padding: 0;
        width: 100%;
    }

    .main-nav .mega-menu>.sub-menu>li>a {
        border-bottom: 1px solid #e2e8f0;
        margin: 0;
        padding: 16px 40px;
        color: #1e293b;
        background: #e2e8f0 !important;
    }
}

/* ── Small phone header (≤480px) ── */
@media (max-width: 480px) {
    .header-inner {
        padding: 10px 12px;
        gap: 8px 0;
    }

    .site-logo a {
        font-size: 1.25rem;
    }

    .header-actions {
        gap: 6px;
    }

    /* Make cart & wishlist buttons more compact */
    .cart-icon,
    .wishlist-header-link {
        padding: 7px 12px;
        font-size: .82rem;
    }

    .pmv-login-btn {
        padding: 7px 12px;
        font-size: .82rem;
    }

    .header-search input[type="search"] {
        padding: 8px 14px;
        font-size: .85rem;
    }

    .header-search button {
        padding: 8px 14px;
        font-size: .85rem;
    }
}

/* ===== Shop Header & Sorting ===== */
.woocommerce-products-header__title.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 16px;
}

.woocommerce-result-count {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 30px;
    display: inline-block;
}

.woocommerce-ordering {
    margin-bottom: 30px;
    float: right;
}

.woocommerce-ordering select {
    padding: 10px 32px 10px 16px;
    border: 2px solid #edf2f7;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #4a5568;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.woocommerce-ordering select:focus {
    border-color: #1a3a8a;
}

.woo-main::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== Product Grid ===== */
.woo-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 0;
}

.woo-main {
    flex: 1;
}

.woocommerce-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* When the sidebar has no widgets — hide it and let products fill full width */
.woo-layout--no-sidebar {
    display: block; /* collapse the flex/grid so woo-main takes 100% */
}

.woo-layout--no-sidebar .woo-main {
    width: 100%;
    max-width: 100%;
}

/* No-sidebar: allow more columns in the product grid */
.woo-layout--no-sidebar ul.products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.woocommerce-sidebar .widget {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.woocommerce-sidebar .widget-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: var(--color-primary);
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    padding-bottom: 8px;
}

.woocommerce-sidebar input[type="search"],
.woocommerce-sidebar input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #edf2f7;
    border-radius: 8px;
    margin-bottom: 12px;
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.woocommerce-sidebar input[type="search"]:focus,
.woocommerce-sidebar input[type="text"]:focus {
    border-color: #1a3a8a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.woocommerce-sidebar button,
.woocommerce-sidebar input[type="submit"] {
    width: 100%;
    background: #1a3a8a;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-sidebar button:hover,
.woocommerce-sidebar input[type="submit"]:hover {
    background: #5a67d8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.2);
}

.woocommerce-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce-sidebar ul li:last-child {
    border-bottom: none;
}

.woocommerce-sidebar ul li a {
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 2px 0;
}

.woocommerce-sidebar ul li a:hover {
    color: #1a3a8a;
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .woo-layout {
        flex-direction: column;
        gap: 24px;
        padding: 20px;
    }

    .woocommerce-sidebar {
        width: 100%;
    }

    /* Shop header row: stack result-count and ordering */
    .woocommerce-products-header__title.page-title {
        font-size: 1.8rem;
    }

    .woocommerce-result-count,
    .woocommerce-ordering {
        display: block;
        float: none;
        width: 100%;
        margin-bottom: 12px;
    }

    .woocommerce-ordering select {
        width: 100%;
    }

    /* 2-column product grid on mobile */
    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding-top: 12px;
    }

    ul.products li.product img {
        height: 160px;
    }

    /* Tighten card padding/font on small screens */
    ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.9rem;
        padding: 12px 12px 0;
    }

    ul.products li.product .price {
        padding: 4px 12px 0;
        font-size: 0.95rem;
    }

    ul.products li.product .button {
        margin: 10px 12px 12px;
        width: calc(100% - 24px);
        font-size: 0.85rem;
        padding: 10px 8px;
    }

    /* Single column on very small phones */
    @media (max-width: 400px) {
        ul.products {
            grid-template-columns: 1fr;
        }

        ul.products li.product img {
            height: 200px;
        }
    }

    /* Fix container overflow */
    .container,
    .woo-layout,
    .site-main {
        overflow-x: hidden;
    }
}

/* ===== Product Grid ===== */
ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    clear: both;
    padding-top: 20px;
    width: 100%;
}

ul.products li.product {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    display: flex;
    flex-direction: column;
}

ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

ul.products li.product img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    transition: transform 0.5s ease;
}

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

ul.products li.product>a.woocommerce-LoopProduct-link {
    text-decoration: none;
    display: block;
    overflow: hidden;
    /* For image scale effect */
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

ul.products li.product .onsale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff4757;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 9;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.pmv-wishlist-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    color: #718096;
}

.pmv-wishlist-btn svg {
    width: 20px;
    height: 20px;
}

.pmv-wishlist-btn:hover {
    transform: scale(1.15);
    color: #ff4757;
    background: #fff;
}

.pmv-wishlist-btn.active {
    background: #ff4757;
    color: #fff;
}

.pmv-wishlist-btn.loading {
    opacity: 0.6;
}

.pmv-quick-view-btn {
    position: absolute;
    top: 62px;
    left: 12px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    color: #718096;
}

.pmv-quick-view-btn svg {
    width: 20px;
    height: 20px;
}

.pmv-quick-view-btn:hover {
    transform: scale(1.15);
    color: #1a3a8a;
    background: #fff;
}

/* Product Status Labels */
.product-badges {
    position: absolute;
    top: 112px;
    left: 12px;
    z-index: 9;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-new {
    background: #48bb78;
}

.badge-out-of-stock {
    background: #a0aec0;
}

/* ===== Modal Styles ===== */
.pmv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.pmv-modal.active {
    display: flex;
}

.pmv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.pmv-modal-container {
    position: relative;
    background: #fff;
    width: 900px;
    max-width: 95%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 1;
}

.pmv-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f7fafc;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #a0aec0;
    transition: all 0.2s;
    z-index: 10;
}

.pmv-modal-close:hover {
    background: #edf2f7;
    color: #2d3748;
}

.pmv-modal-content {
    padding: 0;
    height: 100%;
    overflow-y: auto;
}

.pmv-qv-product-wrapper {
    display: flex;
    gap: 0;
}

.pmv-qv-image {
    width: 50%;
    background: #f8fafc;
}

.pmv-qv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pmv-qv-summary {
    width: 50%;
    padding: 40px;
}

.pmv-qv-summary .product_title {
    margin-top: 0;
    font-size: 2rem;
    margin-bottom: 10px;
}

.pmv-qv-summary .price {
    font-size: 1.5rem;
    color: #1a3a8a;
    font-weight: 800;
    margin-bottom: 20px;
}

.pmv-qv-summary .woocommerce-product-details__short-description {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 30px;
}

.pmv-qv-summary .cart {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #edf2f7;
}

.pmv-qv-summary .qty {
    width: 70px;
    padding: 10px;
    border: 2px solid #edf2f7;
    border-radius: 8px;
    text-align: center;
}

.pmv-qv-summary .single_add_to_cart_button {
    background: #1a3a8a;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.pmv-qv-summary .product_meta {
    font-size: 0.85rem;
    color: #a0aec0;
}

.pmv-qv-summary .product_meta>span {
    display: block;
    margin-bottom: 5px;
}

/* Spinner */
.pmv-qv-loader {
    padding: 100px;
    display: flex;
    justify-content: center;
}

.pmv-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #edf2f7;
    border-top: 3px solid #1a3a8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .pmv-qv-product-wrapper {
        flex-direction: column;
    }

    .pmv-qv-image,
    .pmv-qv-summary {
        width: 100%;
    }

    .pmv-qv-summary {
        padding: 24px;
    }

    .pmv-qv-summary .product_title {
        font-size: 1.5rem;
    }
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price,
ul.products li.product .product-short-description,
ul.products li.product .button {
    margin-left: 16px;
    margin-right: 16px;
}

ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #2d3748;
    line-height: 1.3;
}

.product-short-description {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 12px;
    line-height: 1.5;
    display: block;
}

ul.products .price {
    color: #1a3a8a;
    font-weight: 800;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 16px;
}

ul.products .price del {
    color: var(--color-muted);
    font-size: .9rem;
    margin-right: 6px;
    font-weight: 400;
}

ul.products .button {
    display: block;
    width: calc(100% - 32px);
    padding: 12px;
    background: #1a3a8a;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 16px;
    transition: all .3s ease;
}

ul.products .button:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

ul.products .button.added {
    display: none !important;
}

ul.products .added_to_cart.wc-forward {
    display: block;
    width: calc(100% - 32px);
    padding: 12px;
    background: #48bb78;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 16px;
    margin-left: 16px;
    margin-right: 16px;
    transition: all .3s ease;
    text-decoration: none;
}

ul.products .added_to_cart.wc-forward:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.25);
    text-decoration: none;
    color: #fff;
}

/* ===== Single Product ===== */
.woocommerce div.product {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.woocommerce div.product .product_title {
    font-size: 1.8rem;
}

.woocommerce div.product p.price {
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 700;
    margin: 16px 0;
}

/* ===== Buttons ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.button.alt {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background .2s, transform .1s;
    display: inline-block;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--color-secondary);
    transform: translateY(-1px);
}

/* ===== Cart & Checkout ===== */
.woocommerce-cart table.shop_table,
.woocommerce-checkout .shop_table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-cart table.shop_table th {
    background: var(--color-bg);
    font-weight: 700;
}

/* ───── Premium Cart Page ───── */
.pmv-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.pmv-cart-page {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.woocommerce-cart .site-main {
    background: linear-gradient(180deg, #eef2ff 0%, var(--color-bg) 300px);
}

.pmv-cart-page .entry-content>.woocommerce-notices-wrapper:first-child,
.woocommerce-cart .entry-content>h1 {
    display: none;
}

.pmv-cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 36px;
    align-items: flex-start;
}

/* Cart Header */
.pmv-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.pmv-cart-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
    letter-spacing: -0.02em;
}

.pmv-cart-title svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
    background: rgba(102, 126, 234, 0.1);
    padding: 6px;
    border-radius: 10px;
    width: 42px;
    height: 42px;
}

.pmv-cart-item-count {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    color: var(--color-primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Cart Items */
.pmv-cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pmv-cart-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: pmv-slide-in 0.4s ease-out;
    position: relative;
    border-left: 4px solid transparent;
}

.pmv-cart-item:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.12);
    transform: translateY(-3px);
    border-left-color: var(--color-primary);
}

@keyframes pmv-slide-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pmv-cart-item-image {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pmv-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pmv-cart-item:hover .pmv-cart-item-image img {
    transform: scale(1.06);
}

.pmv-cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.pmv-cart-item-details {
    margin-bottom: 12px;
}

.pmv-cart-item-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.pmv-cart-item-name a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s;
}

.pmv-cart-item-name a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.pmv-cart-item-desc {
    font-size: 0.85rem;
    color: #a0aec0;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.pmv-cart-item-price-single {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pmv-cart-item-price-single .woocommerce-Price-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.pmv-cart-item-price-single del {
    color: #cbd5e0;
    font-weight: 400;
    font-size: 0.85rem;
}

.pmv-cart-item-price-single del .woocommerce-Price-amount {
    color: #cbd5e0;
    font-weight: 400;
    font-size: 0.85rem;
}

.pmv-cart-save-badge {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    animation: pmv-pulse-badge 2s ease-in-out infinite;
}

.pmv-cart-save-badge .woocommerce-Price-amount {
    color: #fff;
    font-size: 0.72rem;
}

@keyframes pmv-pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

/* Cart Item Actions Row */
.pmv-cart-item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Quantity Wrapper */
.pmv-qty-wrapper {
    display: flex;
    align-items: center;
}

.pmv-qty-wrapper .quantity {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.25s;
    gap: 0;
}

.pmv-qty-wrapper .quantity:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Custom +/- buttons injected via JS */
.pmv-qty-btn {
    width: 36px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4a5568;
    transition: all 0.2s;
    user-select: none;
    line-height: 1;
    padding: 0;
}

.pmv-qty-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.pmv-qty-btn:active {
    transform: scale(0.92);
}

.pmv-qty-btn-minus {
    border-right: 1px solid #e2e8f0;
}

.pmv-qty-btn-plus {
    border-left: 1px solid #e2e8f0;
}

.pmv-qty-wrapper .quantity input.qty {
    width: 42px;
    height: 38px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    outline: none;
    -moz-appearance: textfield;
}

.pmv-qty-wrapper .quantity input.qty::-webkit-outer-spin-button,
.pmv-qty-wrapper .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Subtotal in item row */
.pmv-cart-item-subtotal {
    margin-left: auto;
    text-align: right;
}

.pmv-cart-item-subtotal .woocommerce-Price-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #2d3748;
}

/* Remove Button */
.pmv-remove-btn,
.pmv-cart-item-remove .remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 71, 87, 0.08);
    color: #ff4757 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none !important;
    font-size: 0;
}

.pmv-remove-btn svg {
    width: 18px;
    height: 18px;
}

.pmv-remove-btn:hover,
.pmv-cart-item-remove .remove:hover {
    background: #ff4757;
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

/* Cart Actions */
.pmv-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #edf2f7;
    gap: 16px;
    flex-wrap: wrap;
}

/* Coupon Form */
.pmv-coupon-form {
    flex: 1;
    min-width: 280px;
}

.pmv-coupon-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    overflow: hidden;
    background: #f7fafc;
    transition: all 0.3s;
}

.pmv-coupon-input-group:focus-within {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pmv-coupon-icon {
    width: 20px;
    height: 20px;
    margin-left: 14px;
    color: #a0aec0;
    flex-shrink: 0;
}

.pmv-coupon-input-group input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    background: transparent;
    color: #2d3748;
}

.pmv-coupon-input-group input::placeholder {
    color: #a0aec0;
}

.pmv-coupon-btn {
    padding: 12px 20px;
    background: var(--color-primary) !important;
    color: #fff !important;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.pmv-coupon-btn:hover {
    background: #5a67d8 !important;
}

/* Cart Update Actions */
.pmv-cart-update-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pmv-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--color-muted) !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none !important;
    white-space: nowrap;
}

.pmv-continue-shopping svg {
    width: 18px;
    height: 18px;
}

.pmv-continue-shopping:hover {
    color: var(--color-primary) !important;
    background: rgba(102, 126, 234, 0.08);
}

.pmv-update-cart-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 20px !important;
    background: #edf2f7 !important;
    color: #4a5568 !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    cursor: pointer;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.pmv-update-cart-btn svg {
    width: 16px;
    height: 16px;
}

.pmv-update-cart-btn:hover {
    background: #e2e8f0 !important;
    color: #2d3748 !important;
    transform: translateY(-1px) !important;
}

/* ───── Free Shipping Progress ───── */
.pmv-shipping-progress {
    margin-top: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.06), rgba(56, 161, 105, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(72, 187, 120, 0.15);
}

.pmv-shipping-progress-label {
    font-size: 0.82rem;
    color: #38a169;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pmv-shipping-progress-label svg {
    width: 16px;
    height: 16px;
}

.pmv-shipping-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(72, 187, 120, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.pmv-shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #48bb78, #38a169);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ───── Cart Summary / Totals Sidebar ───── */
.pmv-cart-summary-col {
    position: sticky;
    top: 100px;
}

.pmv-cart-totals {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.pmv-totals-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.pmv-totals-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.pmv-totals-header::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.pmv-totals-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.pmv-totals-header h2 svg {
    width: 22px;
    height: 22px;
}

.pmv-totals-body {
    padding: 24px;
}

.pmv-totals-body table {
    width: 100%;
    border-collapse: collapse;
}

.pmv-totals-body table tr {
    border-bottom: 1px solid #edf2f7;
}

.pmv-totals-body table tr:last-child {
    border-bottom: none;
}

.pmv-totals-body table th,
.pmv-totals-body table td {
    padding: 14px 0;
    font-size: 0.95rem;
    border: none;
    background: transparent;
}

.pmv-totals-body table th {
    color: #718096;
    font-weight: 500;
    text-align: left;
}

.pmv-totals-body table td {
    text-align: right;
    font-weight: 600;
    color: #2d3748;
}

.pmv-totals-body table .order-total {
    border-bottom: none;
    border-top: 2px solid var(--color-primary);
}

.pmv-totals-body table .order-total th {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    padding-top: 18px;
}

.pmv-totals-body table .order-total td {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    padding-top: 18px;
}

.pmv-totals-body table .cart-discount td {
    color: #48bb78;
    font-weight: 700;
}

/* Checkout Button */
.pmv-totals-checkout {
    padding: 0 24px 24px;
}

.pmv-totals-checkout .checkout-button,
.pmv-totals-checkout .wc-proceed-to-checkout .checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-decoration: none !important;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.pmv-totals-checkout .checkout-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.pmv-totals-checkout .checkout-button:hover::before {
    left: 100%;
}

.pmv-totals-checkout .checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

/* Security Badges */
.pmv-security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 18px 24px 24px;
    border-top: 1px dashed #e2e8f0;
}

.pmv-security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #a0aec0;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
}

.pmv-security-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #48bb78;
    background: rgba(72, 187, 120, 0.1);
    padding: 4px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

/* ───── Empty Cart Styles ───── */
.pmv-empty-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 60px 20px;
}

.pmv-empty-cart-inner {
    text-align: center;
    max-width: 480px;
    background: var(--color-white);
    padding: 60px 48px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: pmv-fade-up 0.6s ease-out;
}

@keyframes pmv-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pmv-empty-cart-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.pmv-empty-cart-icon svg {
    width: 80px;
    height: 80px;
    color: #cbd5e0;
    animation: pmv-cart-bounce 3s ease-in-out infinite;
}

@keyframes pmv-cart-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.pmv-empty-cart-sparkle {
    position: absolute;
    color: var(--color-primary);
    font-size: 14px;
    animation: pmv-sparkle 2s ease-in-out infinite;
    opacity: 0;
}

.pmv-sparkle-1 {
    top: -8px;
    right: -4px;
    animation-delay: 0s;
}

.pmv-sparkle-2 {
    top: 8px;
    right: -16px;
    animation-delay: 0.7s;
}

.pmv-sparkle-3 {
    top: -4px;
    left: -10px;
    animation-delay: 1.4s;
}

@keyframes pmv-sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.pmv-empty-cart-inner h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 12px;
}

.pmv-empty-cart-inner p {
    color: #a0aec0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.pmv-shop-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pmv-shop-now-btn svg {
    width: 20px;
    height: 20px;
}

.pmv-shop-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ───── Cart Page - Hide default WC title ───── */
.woocommerce-cart .entry-content>h1,
.woocommerce-cart .woocommerce>h1 {
    display: none;
}

/* ───── Cart Responsive ───── */
@media (max-width: 992px) {
    .pmv-cart-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pmv-cart-summary-col {
        position: static;
    }
}

@media (max-width: 768px) {
    .pmv-cart-item {
        flex-direction: column;
        gap: 16px;
    }

    .pmv-cart-item-image {
        width: 100%;
        height: 200px;
        border-radius: 10px;
    }

    .pmv-cart-item-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .pmv-cart-item-subtotal {
        margin-left: 0;
    }

    .pmv-cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pmv-cart-title {
        font-size: 1.4rem;
    }

    .pmv-cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pmv-coupon-form {
        min-width: auto;
    }

    .pmv-cart-update-actions {
        justify-content: space-between;
    }

    .pmv-empty-cart-inner {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .pmv-cart-item-actions {
        flex-wrap: wrap;
        gap: 12px;
    }

    .pmv-cart-item-subtotal {
        order: -1;
        width: 100%;
    }

    .pmv-security-badges {
        gap: 6px;
    }
}

/* ===== Sidebar & Filters ===== */
.woocommerce-sidebar {
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: var(--color-border);
}

.widget_price_filter .price_slider_wrapper .ui-slider-range {
    background: var(--color-primary);
}

/* ===== My Account Page ===== */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 0;
    overflow: hidden;
}

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

.woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 16px 24px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.woocommerce-MyAccount-navigation li a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    text-decoration: none;
    padding-left: 28px;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: rgba(102, 126, 234, 0.08);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

.woocommerce-MyAccount-content {
    flex: 1;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
}

.woocommerce-MyAccount-content p {
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.woocommerce-MyAccount-content a {
    font-weight: 600;
}

/* My Account Forms */
.woocommerce-MyAccount-content form {
    margin-top: 24px;
}

.woocommerce-MyAccount-content .form-row {
    margin-bottom: 24px;
}

.woocommerce-MyAccount-content .form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.woocommerce-MyAccount-content .form-row input[type="text"],
.woocommerce-MyAccount-content .form-row input[type="email"],
.woocommerce-MyAccount-content .form-row input[type="password"],
.woocommerce-MyAccount-content .form-row input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--color-bg);
}

.woocommerce-MyAccount-content .form-row input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    background: var(--color-white);
}

.woocommerce-MyAccount-content fieldset {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fafafa;
}

.woocommerce-MyAccount-content legend {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    padding: 0 16px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    margin-bottom: 0;
    display: inline-block;
}

.woocommerce-MyAccount-content em {
    display: block;
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-top: 6px;
    font-style: normal;
}

.woocommerce-MyAccount-content button[type="submit"] {
    margin-top: 16px;
}

.woocommerce-MyAccount-content .clear {
    clear: both;
}

/* Fix Password Input Wrapper & Eye Icon */
.woocommerce-account .password-input,
.woocommerce-MyAccount-content .password-input {
    position: relative;
    display: block;
    width: 100%;
}

.woocommerce-account .show-password-input,
.woocommerce-MyAccount-content .show-password-input {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
    z-index: 10;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    text-indent: -9999px;
    /* Hide default text if any */
    overflow: hidden;
    color: transparent;
    border: none;
    outline: none;
}

.woocommerce-account .show-password-input::after,
.woocommerce-account .show-password-input::before,
.woocommerce-MyAccount-content .show-password-input::after,
.woocommerce-MyAccount-content .show-password-input::before {
    display: none !important;
}

.woocommerce-account .show-password-input.display-password,
.woocommerce-MyAccount-content .show-password-input.display-password {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>');
}

/* Make it responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* ===== Vendor Store Page ===== */
.pmv-store-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 48px 32px;
    text-align: center;
    color: #fff;
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.pmv-store-header .store-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .5);
    margin: 0 auto 16px;
    object-fit: cover;
}

.pmv-store-header h1 {
    font-size: 2rem;
    margin: 0 0 8px;
    text-transform: capitalize;
}

.pmv-store-header p {
    opacity: .9;
    margin: 0;
}

/* ===== Checkout / Order Received Page ===== */
.woocommerce-order {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    margin: 20px auto 40px;
}

.woocommerce-order>p.woocommerce-notice--success {
    background: #d1e7dd;
    color: #0f5132;
    padding: 20px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.1rem;
    border-left: 5px solid #0f5132;
    margin-bottom: 40px;
}

ul.order_details {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

ul.order_details li {
    background: var(--color-bg);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-muted);
}

ul.order_details li strong {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 700;
}

.woocommerce-order h2.woocommerce-order-details__title,
.woocommerce-order h2.woocommerce-column__title {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    padding-bottom: 12px;
    display: block;
}

table.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

table.woocommerce-table--order-details th,
table.woocommerce-table--order-details td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

table.woocommerce-table--order-details th {
    background: var(--color-bg);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--color-muted);
}

table.woocommerce-table--order-details tfoot th {
    text-align: right;
    background: transparent;
    color: var(--color-text);
    font-weight: 700;
    text-transform: none;
    font-size: 1rem;
    letter-spacing: normal;
}

table.woocommerce-table--order-details tfoot td {
    font-weight: 600;
    color: var(--color-primary);
}

.woocommerce-customer-details address {
    background: var(--color-bg);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    font-style: normal;
    line-height: 1.8;
    color: var(--color-text);
}

/* ===== Footer ===== */
.site-footer {
    background: #1d2327;
    color: rgba(255, 255, 255, .8);
    padding: 48px 0 0px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 32px;
}

.footer-widget h4 {
    color: #fff;
    margin-bottom: 16px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-bottom {
    position: relative;
    background: #111518;
    margin-top: 24px;
}

.footer-bottom::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, #1a3a8a, #f97316, #1a3a8a);
}

.footer-bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 30px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: .84rem;
    color: rgba(255, 255, 255, .45);
}

.footer-brand-link {
    color: #f97316;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s;
}

.footer-brand-link:hover {
    color: #fb923c;
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: .82rem;
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}

.footer-bottom-links a:hover {
    color: #f97316;
    text-decoration: none;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav-list li { margin: 0; }

.footer-nav-list li a {
    font-size: .82rem;
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}

.footer-nav-list li a:hover {
    color: #f97316;
    text-decoration: none;
}

@media (max-width: 600px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
}

/* ===== Breadcrumb ===== */

.woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    background: linear-gradient(135deg, #eef2ff 0%, #fff7ed 100%);
    border: 1px solid rgba(26,58,138,.1);
    border-radius: 12px;
    padding: 11px 18px;
    margin-bottom: 24px;
    font-size: .82rem;
    font-weight: 500;
    color: #718096;
    line-height: 1;
}

/* All links inside breadcrumb */
.woocommerce-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
    white-space: nowrap;
}

.woocommerce-breadcrumb a:hover {
    color: #f97316;
    text-decoration: none;
}

/* First link = Home: add house icon */
.woocommerce-breadcrumb a:first-child::before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-color: currentColor;
    margin-right: 4px;
    vertical-align: -2px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Separator — WooCommerce uses › by default; style it */
.woocommerce-breadcrumb .delimiter,
.woocommerce-breadcrumb > span.delimiter {
    color: rgba(26,58,138,.3);
    font-weight: 400;
    font-size: .75rem;
    padding: 0 2px;
}

/* Last item = current page (plain text, not a link) */
.woocommerce-breadcrumb > span:not(.delimiter):last-child,
.woocommerce-breadcrumb > a:last-child {
    color: #2d3748;
    font-weight: 700;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .woocommerce-breadcrumb {
        padding: 9px 14px;
        font-size: .78rem;
    }
    .woocommerce-breadcrumb > span:not(.delimiter):last-child {
        max-width: 150px;
    }
}

/* ===== Pagination ===== */

/* WooCommerce pagination + WordPress core pagination */
.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination,
.navigation.pagination,
.wp-pagenavi {
    display: flex;
    justify-content: center;
    margin: 40px 0 24px;
    width: 100%;
}

.woocommerce-pagination ul,
.navigation.pagination .nav-links,
.wp-pagenavi {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.woocommerce-pagination ul li {
    margin: 0;
}

/* All page number links and spans */
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span,
.wp-pagenavi a,
.wp-pagenavi span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #4a5568;
    transition: all .2s;
    line-height: 1;
}

/* Hover */
.woocommerce-pagination ul li a:hover,
.navigation.pagination .nav-links a:hover,
.wp-pagenavi a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(26,58,138,.05);
    text-decoration: none;
}

/* Current / active page */
.woocommerce-pagination ul li span.current,
.navigation.pagination .nav-links span.current,
.wp-pagenavi span.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    cursor: default;
}

/* Dots / ellipsis */
.woocommerce-pagination ul li span.dots,
.navigation.pagination .nav-links span.dots,
.wp-pagenavi span.extend {
    border-color: transparent;
    background: transparent;
    color: #a0aec0;
    cursor: default;
}

/* Prev / Next arrows */
.woocommerce-pagination ul li a[rel="prev"],
.woocommerce-pagination ul li a[rel="next"],
.navigation.pagination .nav-links .prev,
.navigation.pagination .nav-links .next {
    background: rgba(26,58,138,.06);
    border-color: rgba(26,58,138,.15);
    color: var(--color-primary);
    font-size: .82rem;
}

.woocommerce-pagination ul li a[rel="prev"]:hover,
.woocommerce-pagination ul li a[rel="next"]:hover,
.navigation.pagination .nav-links .prev:hover,
.navigation.pagination .nav-links .next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ===== Messages ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.woocommerce-message {
    background: #d1e7dd;
    color: #0a3622;
    border-left: 4px solid #0f5132;
}

.woocommerce-error {
    background: #f8d7da;
    color: #58151c;
    border-left: 4px solid #dc3545;
}

.woocommerce-info {
    background: #cfe2ff;
    color: #084298;
    border-left: 4px solid #0d6efd;
}

/* ===== Wishlist Page ===== */
.pmv-empty-wishlist {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 40px auto;
}

.pmv-empty-wishlist a {
    color: #1a3a8a;
    font-weight: 700;
    text-decoration: none;
}

.pmv-empty-wishlist a:hover {
    text-decoration: underline;
}

.pmv-wishlist-grid .products {
    margin-top: 30px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }

    ul.products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    ul.products {
        grid-template-columns: 1fr 1fr;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Premium Checkout Page
   ========================================================================== */

.pmv-checkout-container {
    max-width: var(--container);
    margin: 40px auto;
    padding: 0 20px;
}

/* Hide the default entry title and notices if they disrupt flow */
.woocommerce-checkout .entry-content>h1,
.woocommerce-checkout .woocommerce>h1,
.woocommerce-checkout .woocommerce-notices-wrapper:first-of-type {
    display: none;
}

/* 2-Column Grid Layout */
.pmv-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: flex-start;
    clear: both;
}

/* ----- Left Column: Billing & Shipping Forms ----- */
.pmv-checkout-left-col {
    background: var(--color-white);
    padding: 32px 36px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pmv-customer-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #edf2f7;
}

/* Form Fields Styling */
.pmv-checkout-left-col .form-row {
    margin-bottom: 20px;
}

.pmv-checkout-left-col .form-row label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.pmv-checkout-left-col .form-row input.input-text,
.pmv-checkout-left-col .form-row select,
.pmv-checkout-left-col .form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f7fafc;
    font-size: 0.95rem;
    color: #2d3748;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: none;
}

.pmv-checkout-left-col .form-row input.input-text:focus,
.pmv-checkout-left-col .form-row select:focus,
.pmv-checkout-left-col .form-row textarea:focus {
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Select2 Customization (if WC uses it) */
.pmv-checkout-left-col .select2-container .select2-selection--single {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f7fafc;
    display: flex;
    align-items: center;
}

.pmv-checkout-left-col .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #2d3748;
    line-height: normal;
    padding-left: 16px;
}

.pmv-checkout-left-col .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px;
}

.pmv-checkout-left-col .select2-container--focus .select2-selection--single {
    border-color: var(--color-primary) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Coupon Form */
.checkout_coupon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border: 1px dashed rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
}

/* Clearfix for floats inside coupon form */
.checkout_coupon::after {
    content: "";
    display: table;
    clear: both;
}

.checkout_coupon p {
    margin-bottom: 12px;
    color: #4a5568;
    width: 100%;
}

.checkout_coupon .form-row-first {
    width: 65%;
    float: left;
    margin-bottom: 0;
}

.checkout_coupon .form-row-last {
    width: 32%;
    float: right;
    margin-bottom: 0;
}

.checkout_coupon input.input-text {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    font-size: 0.95rem;
    color: #2d3748;
    transition: all 0.3s;
    outline: none;
    box-shadow: none;
}

.checkout_coupon input.input-text:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkout_coupon button.button {
    width: 100%;
    padding: 12px 24px;
    background: var(--color-primary) !important;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.checkout_coupon button.button:hover {
    background: #5a67d8 !important;
    transform: translateY(-1px);
}

/* ----- Right Column: Sticky Order Summary ----- */
.pmv-checkout-right-col {
    position: sticky;
    top: 100px;
}

.pmv-order-review-card {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.pmv-order-review-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.pmv-order-review-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.pmv-order-review-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.pmv-order-review-header h3 svg {
    width: 22px;
    height: 22px;
}

.woocommerce-checkout-review-order {
    padding: 0;
    /* Remove default padding, handled by inner elements */
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #edf2f7;
    background: transparent;
}

.woocommerce-checkout-review-order-table thead th {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
}

.woocommerce-checkout-review-order-table tbody td.product-name {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.95rem;
}

.woocommerce-checkout-review-order-table tbody td.product-total,
.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    font-weight: 700;
    color: #1a202c;
}

.woocommerce-checkout-review-order-table tfoot th {
    color: #4a5568;
    font-weight: 600;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 1.25rem;
    color: var(--color-primary);
    border-bottom: none;
    padding-top: 24px;
    padding-bottom: 24px;
}

/* Payment Section */
#payment {
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    padding: 24px;
}

#payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    border-bottom: 1px solid #edf2f7;
}

#payment ul.payment_methods li {
    margin-bottom: 12px;
}

#payment ul.payment_methods li input[type="radio"] {
    display: none;
    /* Hide standard radio */
}

#payment ul.payment_methods li label {
    display: block;
    padding: 16px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s;
    position: relative;
    padding-left: 48px;
}

/* Custom Radio Indicator */
#payment ul.payment_methods li label::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s;
}

#payment ul.payment_methods li input[type="radio"]:checked+label {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    color: #1a202c;
}

#payment ul.payment_methods li input[type="radio"]:checked+label::before {
    border-color: var(--color-primary);
    border-width: 6px;
}

/* Payment Box Details */
#payment div.payment_box {
    background: #fff;
    padding: 16px;
    margin-top: 8px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #718096;
    border: 1px solid #edf2f7;
    position: relative;
}

#payment div.payment_box::before {
    content: "";
    display: block;
    border: 8px solid transparent;
    border-bottom-color: #edf2f7;
    position: absolute;
    top: -16px;
    left: 20px;
}

#payment div.payment_box::after {
    content: "";
    display: block;
    border: 7px solid transparent;
    border-bottom-color: #fff;
    position: absolute;
    top: -14px;
    left: 21px;
}

/* Terms and Conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 24px;
    padding: 0 24px;
}

.woocommerce-terms-and-conditions-wrapper label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

/* Place Order Button */
#place_order {
    display: block;
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

#place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.45) !important;
}

/* Checkout Security Badges (Re-used from Cart style but adjusted) */
.pmv-checkout-security {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 20px 24px;
    background: #fff;
    border-top: 1px dashed #e2e8f0;
}

.pmv-checkout-security .pmv-security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #a0aec0;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive Checkout */
@media (max-width: 992px) {
    .pmv-checkout-layout {
        grid-template-columns: 1fr;
    }

    .pmv-checkout-right-col {
        position: static;
    }
}

@media (max-width: 768px) {
    .pmv-checkout-left-col {
        padding: 24px 20px;
    }

    .pmv-order-review-header {
        padding: 20px;
    }

    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: 12px 16px;
    }

    #place_order {
        width: calc(100% - 32px);
        margin: 0 16px 24px;
    }
}

/* ==========================================================================
   Rich Shipping Options Customization
   ========================================================================== */
#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

#shipping_method li {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0px;
    background: #fff;
    position: relative;
    margin: 0 !important;
    transition: all 0.2s ease;
}

#shipping_method li:hover {
    border-color: #cbd5e1;
}

#shipping_method input[type="radio"]:checked+label {
    opacity: 1;
}

/* Highlight checked option with a soft blue background like modern checkouts */
#shipping_method li:has(input[type="radio"]:checked) {
    /* border-color: var(--color-primary);
    background: #eff6ff; */
}

#shipping_method input[type="radio"] {
    margin-top: 4px;
    /* Align visually with the badge */
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
}

#shipping_method label {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Ensure everything starts from top */
    width: 100%;
    margin-left: 12px;
    cursor: pointer;
}

/* PMV Custom Shipping Label Wrapper */
.pmv-shipping-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    align-items: flex-start;
    text-align: left;
}

.pmv-so-header {
    display: flex;
    align-items: center;
}

.pmv-so-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.pmv-so-badge svg {
    width: 14px;
    height: 14px;
}

.pmv-so-badge-regular {
    background-color: #0d9488;
    /* Slightly softer teal */
}

.pmv-so-badge-express {
    background-color: #1e293b;
    /* Slate 900 */
    color: #f59e0b;
    /* Amber */
}

.pmv-so-desc {
    font-size: 0.8rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.4;
    text-align: left !important;
    margin-top: 2px;
}

.pmv-so-price {
    font-weight: 600;
    font-size: 1.05rem;
    /* Balanced size */
    color: #0f172a;
    margin-left: 15px;
    white-space: nowrap;
    padding-top: 2px;
}

/* ==========================================================================
   My Account - Orders Table Customization
   ========================================================================== */
.woocommerce-MyAccount-content table.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.woocommerce-MyAccount-content table.woocommerce-orders-table thead {
    background: #f8fafc;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table thead th {
    padding: 16px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #475569;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table tbody td {
    padding: 16px 20px;
    font-size: 0.95rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:hover {
    background: #f8fafc;
}

/* Order Number Link */
.woocommerce-orders-table__cell-order-number a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

/* Order Status */
.woocommerce-orders-table__cell-order-status {
    font-weight: 600;
}

/* Fix the Actions Button */
.woocommerce-orders-table__cell-order-actions {
    text-align: right;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table .button.view {
    display: inline-block;
    padding: 8px 16px;
    background: #eff6ff !important;
    color: var(--color-primary) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    text-decoration: none;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    border: 1px solid #bfdbfe !important;
    line-height: 1 !important;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table .button.view:hover {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-1px) !important;
}

/* Responsive Table */
@media (max-width: 768px) {
    .woocommerce-MyAccount-content table.woocommerce-orders-table thead {
        display: none;
    }

    .woocommerce-MyAccount-content table.woocommerce-orders-table,
    .woocommerce-MyAccount-content table.woocommerce-orders-table tbody,
    .woocommerce-MyAccount-content table.woocommerce-orders-table tr,
    .woocommerce-MyAccount-content table.woocommerce-orders-table td {
        display: block;
        width: 100%;
    }

    .woocommerce-MyAccount-content table.woocommerce-orders-table tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #e2e8f0;
    }

    .woocommerce-MyAccount-content table.woocommerce-orders-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 12px 16px;
        border-bottom: 1px solid #f1f5f9;
    }

    .woocommerce-MyAccount-content table.woocommerce-orders-table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: #475569;
        text-transform: uppercase;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Order Tracking Timeline
   ========================================================================== */
.pmv-order-timeline-container {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pmv-timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
    margin-top: 0;
}

.pmv-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

.pmv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 140px;
}

.pmv-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #f8fafc;
}

.pmv-step-icon svg {
    width: 22px;
    height: 22px;
}

.pmv-step.active .pmv-step-icon {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 0 3px #eff6ff;
}

.pmv-step-text strong {
    display: block;
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.pmv-step-text span {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
}

.pmv-step.active .pmv-step-text strong {
    color: #0f172a;
}

.pmv-step.active .pmv-step-text span {
    color: var(--color-primary);
}

.pmv-step-divider {
    flex-grow: 1;
    height: 4px;
    background: #f1f5f9;
    margin-top: 24px;
    /* Center of the icon (52/2 + borders) roughly */
    z-index: 1;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.pmv-step-divider.active {
    background: var(--color-primary);
}

/* Failed State */
.pmv-order-tracking-failed {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.pmv-order-tracking-failed .icon {
    color: #ef4444;
}

.pmv-order-tracking-failed .icon svg {
    width: 32px;
    height: 32px;
}

.pmv-order-tracking-failed .text strong {
    display: block;
    color: #991b1b;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.pmv-order-tracking-failed .text p {
    margin: 0;
    color: #b91c1c;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .pmv-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .pmv-step {
        flex-direction: row;
        gap: 16px;
        text-align: left;
        width: 100%;
        margin-bottom: 30px;
    }

    .pmv-step:last-child {
        margin-bottom: 0;
    }

    .pmv-step-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .pmv-step-divider {
        position: absolute;
        width: 4px;
        height: calc(100% - 52px);
        /* Span the gap */
        left: 24px;
        /* Center of the icon */
        top: 52px;
        margin: 0;
        z-index: 1;
    }
}

/* ==========================================================================
   Ultra-Premium Single Product Page (V2 — High-End)
   ========================================================================== */
.single-product {
    background: #fdfdfe;
    /* Extremely subtle tint */
}

.single-product div.product {
    display: block;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

.single-product .pmv-product-top {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    margin-top: 50px;
    /* align-items: start; removed so grid cells stretch, enabling sticky child */
}

@media (max-width: 1024px) {
    .single-product .pmv-product-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .single-product .woocommerce-product-gallery {
        position: relative !important;
        top: 0 !important;
    }
}

/* Gallery & Sale Badge Wrapper */
.single-product .pmv-gallery-wrapper {
    position: relative;
}

.single-product span.onsale {
    position: absolute;
    top: 30px;
    left: -15px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 12px 12px 12px 0;
    z-index: 99;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4);
}

.single-product span.onsale::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 0;
    border-top: 15px solid #9f1239;
    border-left: 15px solid transparent;
}

/* Luxury Gallery */
.single-product .woocommerce-product-gallery {
    position: sticky;
    top: 120px;
    background: #ffffff;
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.single-product .woocommerce-product-gallery__image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: zoom-in;
}

.single-product .woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
    width: 100%;
}

.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.single-product .woocommerce-product-gallery__image:hover {
    transform: scale(1.02);
}

/* Gallery Zoom Trigger Icon */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 99;
    background: #ffffff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%234f46e5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') no-repeat center center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    font-size: 0;
    /* Hide default emoji text */
    transition: all 0.3s;
}

.woocommerce-product-gallery__trigger:hover {
    background-color: var(--color-primary);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
    transform: scale(1.1);
}

.single-product .flex-control-thumbs {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.single-product .flex-control-thumbs li {
    width: 85px;
    cursor: pointer;
}

.single-product .flex-control-thumbs img {
    border-radius: 12px;
    border: 3px solid transparent;
    transition: all 0.4s ease;
    opacity: 0.6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.single-product .flex-control-thumbs img.flex-active,
.single-product .flex-control-thumbs img:hover {
    border-color: var(--color-primary);
    opacity: 1;
    transform: translateY(-3px);
}

/* Luxury Summary Container */
.single-product .summary {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.04);
}

.single-product .product_title {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.single-product .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-product .price del {
    font-size: 1.3rem;
    color: #94a3b8;
    font-weight: 500;
    text-decoration: line-through;
}

.single-product .price ins {
    text-decoration: none;
}

.pmv-single-product-vendor {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.pmv-single-product-vendor::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #10b981;
    color: #fff;
    font-size: 13px;
    border-radius: 50%;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.pmv-single-product-vendor .label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pmv-single-product-vendor .vendor-name {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.pmv-single-product-vendor .vendor-name:hover {
    color: var(--color-primary);
}

/* High-End Purchase Actions */
.single-product form.cart {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid #f1f5f9;
}

.single-product .quantity {
    position: relative;
}

.single-product .quantity input {
    height: 60px;
    width: 90px;
    border-radius: 16px !important;
    border: 2px solid #f1f5f9 !important;
    background: #fff !important;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #0f172a;
    transition: all 0.3s;
    box-sizing: border-box;
}

.single-product .quantity input:focus {
    border-color: var(--color-primary) !important;
    outline: none;
}

.single-product .quantity .qty {
    padding: 0;
}

.single-product .single_add_to_cart_button {
    height: 60px;
    padding: 0 50px !important;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%) !important;
    color: #fff !important;
    border-radius: 18px !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    border: none !important;
    flex: 1;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.single-product .single_add_to_cart_button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
}

/* Modern Tabs Overlay */
.woocommerce-tabs,
.related.products,
.upsells.products {
    grid-column: 1 / span 2;
    clear: both;
}

.woocommerce-tabs {
    margin-top: 80px;
    background: #fff;
    padding: 80px 40px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.02);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce-tabs ul.tabs li {
    padding-bottom: 25px;
    position: relative;
}

.woocommerce-tabs ul.tabs li a {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.woocommerce-tabs ul.tabs li.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #0f172a;
}

.related.products h2,
.upsells.products h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
    margin-bottom: 60px;
}

.related.products ul.products,
.upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
    .single-product div.product {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }

    .single-product .woocommerce-product-gallery {
        position: static;
    }

    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .single-product .product_title {
        font-size: 2.2rem;
    }

    .single-product .summary {
        padding: 30px 20px;
        border-radius: 24px;
    }

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

    .single-product .quantity input {
        width: 100%;
    }

    .woocommerce-tabs {
        padding: 40px 20px;
    }

    .woocommerce-tabs ul.tabs {
        gap: 20px;
    }

    .woocommerce-tabs ul.tabs li a {
        font-size: 1rem;
    }

    .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* Hide Bottom Sidebar on Single Product */
.single-product .widget-area,
.single-product aside.sidebar,
.single-product .woocommerce-sidebar,
.single-product .container>h1:first-child {
    display: none !important;
}

/* Vendor Card and Trust Badges moved to plugin */

/* ==========================================================================
   Product Meta (Categories, Tags, SKU)
   ========================================================================== */
.product_meta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product_meta>span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product_meta a {
    background: #f1f5f9;
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.product_meta a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ==========================================================================
   Product Reviews & Star Ratings
   ========================================================================== */
.woocommerce .star-rating {
    float: none;
    overflow: hidden;
    position: relative;
    height: 1.2em;
    line-height: 1;
    font-size: 1.1rem;
    width: 6em;
    color: #f59e0b;
    /* Golden Yellow */
    letter-spacing: 2px;
}

.woocommerce .star-rating::before {
    content: '\2605\2605\2605\2605\2605';
    color: #e2e8f0;
    /* Light gray for empty stars */
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.woocommerce .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.woocommerce .star-rating span::before {
    content: '\2605\2605\2605\2605\2605';
    top: 0;
    position: absolute;
    left: 0;
    color: #f59e0b;
}

#reviews #comments h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
}

.woocommerce-Reviews .commentlist {
    padding: 0;
    margin: 0;
    list-style: none;
}

.woocommerce-Reviews .commentlist li {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.woocommerce-Reviews .comment_container {
    display: flex;
    gap: 20px;
}

.woocommerce-Reviews .comment_container img.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #f8fafc;
}

.woocommerce-Reviews .comment-text {
    flex: 1;
}

.woocommerce-Reviews .meta {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 12px;
}

.woocommerce-Reviews .meta strong {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.1rem;
}

.woocommerce-Reviews .description {
    color: #475569;
    line-height: 1.6;
}

/* Fix tabs spanning issue now that grid is on top only */
.woocommerce-tabs,
.related.products,
.upsells.products {
    grid-column: auto;
}

/* ==========================================================================
   Review Form & Star Rating Selector
   ========================================================================== */
#review_form_wrapper {
    margin-top: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

#review_form_wrapper .comment-reply-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    display: block;
}

/* Star Rating Selector (Leave a Review) */
.woocommerce p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    margin-right: 4px;
    font-weight: normal;
}

.woocommerce p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    content: '\2605';
    /* Unicode solid star */
    color: #e2e8f0;
    text-indent: 0;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.woocommerce p.stars a:hover~a::before {
    content: '\2605';
    color: #e2e8f0;
}

.woocommerce p.stars:hover a::before {
    content: '\2605';
    color: #f59e0b;
    /* Golden when hovered */
}

.woocommerce p.stars.selected a.active~a::before {
    content: '\2605';
    color: #e2e8f0;
}

.woocommerce p.stars.selected a:not(.active):before {
    content: '\2605';
    color: #f59e0b;
}

.woocommerce p.stars.selected a.active::before {
    content: '\2605';
    color: #f59e0b;
}

/* Inputs & Textarea */
#review_form .comment-form-rating {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

#review_form .comment-form-rating label {
    font-weight: 600;
    color: #475569;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 1rem;
    font-family: var(--font-base);
    color: #0f172a;
    transition: all 0.3s;
    box-sizing: border-box;
}

#review_form input[type="text"]:focus,
#review_form input[type="email"]:focus,
#review_form textarea:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

#review_form label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

#review_form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

#review_form .comment-form-cookies-consent input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

#review_form .comment-form-cookies-consent label {
    margin: 0;
    font-weight: normal;
    color: #64748b;
}

#review_form .form-submit .submit {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

#review_form .form-submit .submit:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(102, 126, 234, 0.3);
}

/* ==========================================================================
   Fix for Rating Stars Alignment in Product Loop
   ========================================================================== */
.products .star-rating {
    float: none !important;
    margin-left: 15px !important;
    margin-right: auto !important;
    display: inline-block !important;
    vertical-align: middle;
}

.products .price {
    margin-left: 15px !important;
    display: block !important;
    margin-top: 5px !important;
}

.products .product .star-rating {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

/* ==========================================================================
   Single Product Page Rating Alignment & Design
   ========================================================================== */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.woocommerce-product-rating .star-rating {
    float: none !important;
    margin: 0 !important;
    color: #f59e0b !important;
    /* Premium amber color for stars */
}

.woocommerce-product-rating .woocommerce-review-link {
    font-size: 0.9rem;
    color: #64748b !important;
    /* Soft slate color instead of default blue */
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s;
}

.woocommerce-product-rating .woocommerce-review-link:hover {
    color: #4f46e5 !important;
    /* Primary color on hover */
    text-decoration: underline !important;
}

/* ===== Custom Additions: Scroll to Top & Sticky Header ===== */
.pmv-scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-progress-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.scroll-progress-bg {
    fill: none;
    stroke: #edf2f7;
    stroke-width: 8;
}

.scroll-progress-path {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 8;
    stroke-dasharray: 289;
    stroke-dashoffset: 289;
    transition: stroke-dashoffset 0.1s linear;
}

.pmv-scroll-top .scroll-icon {
    width: 20px;
    height: 20px;
    z-index: 1;
    transition: transform 0.3s ease;
}

.pmv-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.pmv-scroll-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: var(--color-secondary);
}

.pmv-scroll-top:hover .scroll-icon {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .site-header {
        position: relative !important;
    }

    .site-header.header-sticky-up {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        animation: slideDown 0.3s ease forwards;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* ===== Hide page titles on plugin pages ===== */
body.pmv-hide-page-title .entry-title,
body.pmv-hide-page-title h1.page-title,
body.pmv-hide-page-title .page-header,
/* Fallback: CSS :has() for modern browsers */
body:has(.pmv-reg-page) .entry-title,
body:has(.pmv-reg-page) h1.page-title,
body:has(.pmv-store-listing) .entry-title,
body:has(.pmv-store-listing) h1.page-title {
    display: none !important;
}

/* ===== Arogga Style Home Page ===== */
.arogga-home {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Hero Section */
.arogga-hero {
    background: linear-gradient(135deg, #107B5C 0%, #1c9b78 100%);
    border-radius: 20px;
    padding: 60px 50px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(16, 123, 92, 0.15);
    margin-bottom: 40px;
}

.arogga-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.arogga-hero-left {
    flex: 1.2;
}

.arogga-hero-left h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #fff;
    line-height: 1.2;
}

.arogga-hero-left p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin: 0 0 30px 0;
}

.arogga-search-box {
    background: #fff;
    border-radius: 100px;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 600px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
}

.search-icon {
    font-size: 1.2rem;
    margin: 0 15px;
    color: #64748b;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: #334155;
    padding: 10px 0;
    background: transparent;
}

.search-input-wrapper button {
    background: #107B5C;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.search-input-wrapper button:hover {
    background: #0d644b;
}

.arogga-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.arogga-badges span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.arogga-hero-right {
    flex: 0.8;
}

.prescription-upload-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    color: #1e293b;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.prescription-upload-box h3 {
    margin: 0 0 10px 0;
    color: #107B5C;
    font-weight: 800;
    font-size: 1.4rem;
}

.prescription-upload-box p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #334155;
}

.input-group input[type="text"],
.input-group input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.file-upload-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8fafc;
}

.file-upload-dropzone:hover {
    border-color: #107B5C;
    background: #f0fdf4;
}

.file-icon {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.file-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.prescription-submit-btn {
    width: 100%;
    background: #107B5C;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.prescription-submit-btn:hover {
    background: #0d644b;
}

#prescription-upload-status {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

#prescription-upload-status.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

#prescription-upload-status.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Promos Section */
.arogga-promos {
    margin-bottom: 40px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.promo-card {
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-card.bg-teal { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.promo-card.bg-indigo { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.promo-card.bg-rose { background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%); }

.promo-content {
    flex: 1;
}

.promo-tag {
    background: rgba(255,255,255,0.25);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.promo-card h3 {
    margin: 0 0 6px 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.promo-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.promo-icon {
    font-size: 3rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #107B5C;
    border-radius: 10px;
}

/* Category Grid */
.arogga-categories {
    margin-bottom: 50px;
}

.category-grid-home {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cat-card-home {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.cat-card-home:hover {
    border-color: #107B5C;
    box-shadow: 0 10px 20px rgba(16, 123, 92, 0.08);
    transform: translateY(-4px);
}

.cat-icon-home {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cat-name-home {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    display: block;
}

.cat-card-home:hover .cat-name-home {
    color: #107B5C;
}

/* Medicine / Product Cards Grid */
.arogga-products {
    margin-bottom: 50px;
}

.arogga-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.arogga-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.arogga-product-card:hover {
    border-color: #107B5C;
    box-shadow: 0 12px 25px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.product-image-wrapper {
    position: relative;
    background: #f8fafc;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.product-image-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f43f5e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
}

.placeholder-img {
    font-size: 3.5rem;
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.generic-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: block;
}

.product-title {
    margin: 0 0 15px 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
}

.product-title a {
    color: #1e293b;
    text-decoration: none;
}

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

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.prices {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-weight: 800;
    font-size: 1.15rem;
    color: #1e293b;
}

.original-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: 2px;
}

.arogga-add-btn {
    background: #f0fdf4;
    color: #107B5C;
    border: 1px solid #10b981;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-block;
}

.arogga-add-btn:hover {
    background: #107B5C;
    color: #fff;
    border-color: #107B5C;
}

.arogga-add-btn.view-btn {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

.arogga-add-btn.view-btn:hover {
    background: #475569;
    color: #fff;
    border-color: #475569;
}

/* How It Works Section */
.arogga-how-it-works {
    background: #f8fafc;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #107B5C;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(16, 123, 92, 0.3);
}

.step-card h3 {
    margin: 0 0 10px 0;
    color: #1e293b;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Responsive Adaptations ===== */
@media (max-width: 992px) {
    .arogga-hero-inner {
        flex-direction: column;
        gap: 30px;
    }
    
    .arogga-hero {
        padding: 40px 30px;
    }
    
    .arogga-hero-left h1 {
        font-size: 2.2rem;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .category-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .arogga-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .arogga-hero-left h1 {
        font-size: 1.8rem;
    }
    
    .category-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .arogga-products-grid {
        grid-template-columns: 1fr;
    }
    
    .arogga-how-it-works {
        padding: 30px 15px;
    }
}

/* ════════════════════════════════════════════════
   MARKETPLACE HOME  (.mp-home)
   General multi-vendor — books, fashion, toys, groceries…
   ════════════════════════════════════════════════ */
:root {
    --mp-primary: #1a3a8a;
    --mp-primary-h: #1558c0;
    --mp-accent:  #f97316;
    --mp-text:    #0f1f4a;
    --mp-muted:   #64748b;
    --mp-border:  #e2e8f0;
    --mp-surface: #ffffff;
    --mp-bg:      #eef2ff;
    --mp-r-lg:    20px;
    --mp-r-md:    14px;
    --mp-r-sm:    8px;
    --mp-shadow:  0 4px 24px rgba(26,58,138,.08);
    --mp-shadow-lg: 0 20px 50px rgba(26,58,138,.15);
}

.mp-home {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--mp-text);
}

/* ── HERO ── */
.mp-hero {
    background: linear-gradient(135deg, var(--mp-primary) 0%, #f97316 100%);
    border-radius: var(--mp-r-lg);
    padding: 60px 50px;
    color: #fff;
    box-shadow: var(--mp-shadow-lg);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.mp-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -80px;
    width: 350px; height: 350px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    pointer-events: none;
}
.mp-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 30px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    pointer-events: none;
}

.mp-hero-inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.mp-hero-left  { flex: 1.3; }
.mp-hero-right { flex: 0.8; }

.mp-hero-tagline {
    display: inline-block;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
    padding: 5px 16px;
    border-radius: 30px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.mp-hero-headline {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 18px;
    color: #fff;
}
.mp-hero-highlight {
    background: linear-gradient(90deg, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mp-hero-sub {
    font-size: 1.1rem;
    opacity: .88;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* Search bar */
.mp-searchbar { max-width: 580px; }
.mp-search-inner {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 100px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.mp-search-icon {
    padding: 0 14px;
    color: #94a3b8;
    flex-shrink: 0;
}
.mp-search-inner input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--mp-text);
    padding: 10px 0;
    background: transparent;
    min-width: 0;
}
.mp-search-btn {
    background: var(--mp-primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.mp-search-btn:hover { background: var(--mp-primary-h); }

.mp-quick-links {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    font-size: .88rem;
}
.mp-quick-links span { opacity: .75; }
.mp-quick-links a {
    color: #fff;
    opacity: .85;
    text-decoration: none;
    background: rgba(255,255,255,.15);
    padding: 3px 12px;
    border-radius: 30px;
    transition: opacity .2s, background .2s;
}
.mp-quick-links a:hover { opacity: 1; background: rgba(255,255,255,.25); }

/* Benefit cards (right side) */
.mp-benefit-cards {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--mp-r-md);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.mp-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.mp-benefit-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}
.mp-benefit strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.mp-benefit span {
    font-size: .78rem;
    opacity: .8;
}

/* Vendor CTA */
.mp-vendor-cta {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(255,255,255,.35);
    border-radius: var(--mp-r-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.mp-vendor-icon { font-size: 2rem; flex-shrink: 0; }
.mp-vendor-cta strong {
    display: block;
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
}
.mp-vendor-cta p {
    margin: 2px 0 0;
    font-size: .8rem;
    opacity: .8;
}
.mp-vendor-btn {
    margin-left: auto;
    background: #fff;
    color: var(--mp-primary);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: .85rem;
    white-space: nowrap;
    transition: all .2s;
}
.mp-vendor-btn:hover {
    background: #fde68a;
}

/* ── PROMO BANNERS ── */
.mp-promos { margin-bottom: 48px; }
.mp-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.mp-promo {
    border-radius: var(--mp-r-md);
    padding: 28px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform .3s;
    box-shadow: var(--mp-shadow);
}
.mp-promo:hover { transform: translateY(-4px); }
.mp-promo.bg-violet { background: linear-gradient(135deg, #1a3a8a, #f97316); }
.mp-promo.bg-amber  { background: linear-gradient(135deg, #f97316, #dc8500); }
.mp-promo.bg-rose   { background: linear-gradient(135deg, #e11d48, #be123c); }
.mp-promo-tag {
    display: inline-block;
    background: rgba(255,255,255,.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}
.mp-promo-text h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}
.mp-promo-text p { margin: 0 0 14px; font-size: .88rem; opacity: .9; }
.mp-promo-link {
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    background: rgba(255,255,255,.2);
    padding: 5px 14px;
    border-radius: 20px;
    transition: background .2s;
}
.mp-promo-link:hover { background: rgba(255,255,255,.35); }
.mp-promo-emoji { font-size: 3.2rem; flex-shrink: 0; opacity: .9; }

/* ── SECTION HEADERS ── */
.mp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.mp-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--mp-text);
    margin: 0;
    position: relative;
    padding-bottom: 10px;
}
.mp-section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px; height: 4px;
    background: var(--mp-primary);
    border-radius: 10px;
}
.mp-view-all {
    color: var(--mp-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: opacity .2s;
}
.mp-view-all:hover { opacity: .75; }

/* ── CATEGORIES ── */
.mp-categories { margin-bottom: 56px; }
.mp-cat-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}
.mp-cat-card {
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-r-md);
    padding: 20px 12px 16px;
    text-align: center;
    text-decoration: none;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--mp-shadow);
}
.mp-cat-card:hover {
    border-color: var(--mp-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(26,58,138,.12);
}
.mp-cat-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--mp-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mp-cat-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.mp-cat-emoji { font-size: 1.8rem; }
.mp-cat-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--mp-text);
    display: block;
}
.mp-cat-card:hover .mp-cat-label { color: var(--mp-primary); }
.mp-cat-count {
    font-size: .72rem;
    color: var(--mp-muted);
    display: block;
}

/* ── PRODUCT GRID ── */
.mp-products { margin-bottom: 56px; }
.mp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.mp-product-card {
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .3s;
    box-shadow: var(--mp-shadow);
}
.mp-product-card:hover {
    border-color: var(--mp-primary);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(26,58,138,.12);
}

.mp-product-img {
    position: relative;
    background: var(--mp-bg);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mp-product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.mp-product-card:hover .mp-product-img img { transform: scale(1.06); }
.mp-product-placeholder { font-size: 3.5rem; }
.mp-badge-sale {
    position: absolute;
    top: 10px; left: 10px;
    background: rgb(254 111 3);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
}
.mp-quick-add {
    position: absolute;
    bottom: 12px; right: 12px;
    background: var(--mp-primary);
    color: #fff;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: .8rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(6px);
    transition: all .25s;
    z-index: 2;
}
.mp-quick-add:hover {
    background: rgb(254 111 3);
}
.mp-product-card:hover .mp-quick-add {
    opacity: 1;
    transform: translateY(0);
}
.mp-product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.mp-product-vendor {
    font-size: .73rem;
    font-weight: 600;
    color: var(--mp-muted);
    margin-bottom: 6px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-product-title {
    margin: 0 0 12px;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    flex: 1;
}
.mp-product-title a { color: var(--mp-text); text-decoration: none; }
.mp-product-title a:hover { color: var(--mp-primary); }
.mp-product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 8px;
}
.mp-price-now {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--mp-primary);
}
.mp-price-was {
    font-size: .82rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}
.mp-view-btn {
    background: var(--mp-bg);
    color: var(--mp-primary);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 700;
    border: 1px solid rgba(26,58,138,.3);
    transition: all .2s;
    white-space: nowrap;
}
.mp-view-btn:hover {
    background: var(--mp-primary);
    color: #fff;
}

/* ── FLASH DEALS ── */
.mp-sale-strip { margin-bottom: 56px; }
.mp-sale-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.mp-sale-card {
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .3s;
    box-shadow: var(--mp-shadow);
}
.mp-sale-card:hover {
    border-color: #f97316;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(249,115,22,.15);
}
.mp-sale-img {
    position: relative;
    height: 150px;
    background: var(--mp-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mp-sale-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-sale-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: rgb(254 111 3);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 16px;
}
.mp-sale-info { padding: 14px; }
.mp-sale-info h4 {
    margin: 0 0 8px;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.3;
}
.mp-sale-info h4 a { color: var(--mp-text); text-decoration: none; }
.mp-sale-info h4 a:hover { color: var(--mp-primary); }
.mp-sale-prices { display: flex; align-items: center; gap: 8px; }

/* ── HOW IT WORKS ── */
.mp-how-it-works {
    background: var(--mp-bg);
    border-radius: var(--mp-r-lg);
    padding: 60px 50px;
    margin-bottom: 48px;
}
.mp-steps {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.mp-step {
    flex: 1;
    text-align: center;
    padding: 24px 16px;
    background: var(--mp-surface);
    border-radius: var(--mp-r-md);
    box-shadow: var(--mp-shadow);
    transition: transform .3s;
}
.mp-step:hover { transform: translateY(-4px); }
.mp-step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}
.mp-step h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--mp-text);
}
.mp-step p {
    margin: 0;
    font-size: .88rem;
    color: var(--mp-muted);
    line-height: 1.6;
}
.mp-step-arrow {
    flex-shrink: 0;
    font-size: 2rem;
    color: var(--mp-primary);
    opacity: .4;
    margin-top: 40px;
    font-weight: 300;
}

/* ── SELLER BANNER ── */
.mp-seller-banner {
    background: linear-gradient(135deg, #0f1f4a 0%, var(--mp-primary) 100%);
    border-radius: var(--mp-r-lg);
    padding: 60px 50px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 48px;
    box-shadow: var(--mp-shadow-lg);
}
.mp-seller-content { flex: 1; }
.mp-seller-content h2 {
    margin: 0 0 14px;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
}
.mp-seller-content p {
    margin: 0 0 28px;
    font-size: 1rem;
    opacity: .85;
    line-height: 1.6;
}
.mp-seller-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.mp-seller-btn-primary {
    background: rgb(254 111 3);
    color: #fff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1rem;
    transition: all .25s;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.mp-seller-btn-primary:hover { transform: translateY(-2px); }
.mp-seller-btn-outline {
    color: #fff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 100px;
    border: 2px solid rgba(255,255,255,.4);
    font-weight: 700;
    font-size: 1rem;
    transition: all .25s;
}
.mp-seller-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.mp-seller-stats {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}
.mp-stat-pill {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--mp-r-md);
    padding: 20px 28px;
    text-align: center;
    min-width: 100px;
    backdrop-filter: blur(10px);
}
.mp-stat-n {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.mp-stat-lbl {
    font-size: .8rem;
    opacity: .8;
    font-weight: 600;
}

/* ══ RESPONSIVE ══ */

/* Prevent any horizontal overflow on the homepage */
.mp-home { overflow-x: hidden; }

@media (max-width: 1100px) {
    .mp-cat-grid { grid-template-columns: repeat(4, 1fr); }
    .mp-product-grid, .mp-sale-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablet (≤992px) ── */
@media (max-width: 992px) {
    .mp-home { padding: 16px 16px 48px; }
    .mp-hero { padding: 40px 28px; margin-bottom: 28px; }
    .mp-hero-inner { flex-direction: column; gap: 24px; }
    .mp-hero-left, .mp-hero-right { flex: none; width: 100%; }
    .mp-hero-headline { font-size: 2.2rem; }
    .mp-benefit-cards { grid-template-columns: repeat(2, 1fr); }
    /* 2-col promos on tablet — not single column */
    .mp-promo-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mp-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .mp-product-grid, .mp-sale-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mp-steps { flex-direction: column; gap: 16px; }
    .mp-step-arrow { display: none; }
    .mp-seller-banner { flex-direction: column; gap: 28px; padding: 40px 28px; }
    .mp-seller-stats { width: 100%; justify-content: space-around; }
    .mp-how-it-works { padding: 40px 24px; }
    .mp-section-title { font-size: 1.6rem; }
}

/* ── Large phone (≤768px) ── */
@media (max-width: 768px) {
    .mp-home { padding: 12px 12px 40px; }
    .mp-hero { padding: 28px 18px; }
    .mp-hero-headline { font-size: 2rem; }
    .mp-hero-sub { font-size: .95rem; margin-bottom: 24px; }
    .mp-search-btn { padding: 10px 20px; font-size: .88rem; }
    .mp-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .mp-cat-icon-wrap { width: 46px; height: 46px; }
    .mp-promo-grid { grid-template-columns: 1fr; gap: 12px; }
    .mp-product-grid, .mp-sale-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mp-product-img { height: 170px; }
    .mp-sale-img { height: 140px; }
    .mp-step { padding: 20px 14px; }
    .mp-section-title { font-size: 1.45rem; }
    .mp-seller-content h2 { font-size: 1.8rem; }
    .mp-seller-stats { flex-wrap: wrap; gap: 12px; }
    .mp-stat-pill { min-width: 90px; padding: 16px 18px; }
    .mp-stat-n { font-size: 1.7rem; }
    .mp-seller-banner { padding: 32px 20px; }
    .mp-how-it-works { padding: 32px 18px; margin-bottom: 32px; }
    .mp-seller-btn-primary, .mp-seller-btn-outline { padding: 12px 22px; font-size: .92rem; }
}

/* ── Medium phone (≤640px) ── */
@media (max-width: 640px) {
    .mp-home { padding: 10px 10px 32px; }
    .mp-hero { padding: 22px 14px; margin-bottom: 20px; }
    .mp-hero-tagline { font-size: .72rem; padding: 4px 12px; }
    .mp-hero-headline { font-size: 1.7rem; }
    .mp-hero-sub { font-size: .88rem; margin-bottom: 20px; }
    .mp-searchbar { max-width: 100%; }
    .mp-search-inner { padding: 4px; }
    .mp-search-icon { padding: 0 10px; }
    .mp-search-inner input[type="search"] { font-size: .85rem; padding: 8px 0; }
    .mp-search-btn { padding: 9px 14px; font-size: .8rem; }
    .mp-quick-links { font-size: .76rem; gap: 6px; margin-top: 10px; }
    .mp-benefit-cards { grid-template-columns: 1fr; gap: 10px; }
    .mp-vendor-cta { flex-direction: column; text-align: center; gap: 10px; }
    .mp-vendor-btn { margin: 0 auto; }
    .mp-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .mp-cat-card { padding: 12px 6px 10px; }
    .mp-cat-icon-wrap { width: 40px; height: 40px; }
    .mp-cat-emoji { font-size: 1.4rem; }
    .mp-cat-label { font-size: .72rem; }
    .mp-cat-count { display: none; }
    .mp-product-grid, .mp-sale-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mp-product-img { height: 150px; }
    .mp-product-info { padding: 10px; }
    .mp-product-title { font-size: .85rem; }
    .mp-price-now { font-size: .95rem; }
    .mp-view-btn { padding: 5px 10px; font-size: .75rem; }
    .mp-sale-img { height: 120px; }
    .mp-section-header { flex-direction: column; align-items: flex-start; gap: 4px; }
    .mp-section-title { font-size: 1.3rem; }
    .mp-seller-content h2 { font-size: 1.5rem; }
    .mp-seller-stats { gap: 8px; }
    .mp-stat-pill { flex: 1; min-width: 80px; padding: 14px 10px; }
    .mp-stat-n { font-size: 1.5rem; }
    .mp-how-it-works { padding: 24px 12px; margin-bottom: 24px; }
    .mp-seller-banner { padding: 24px 14px; gap: 20px; }
    .mp-seller-btn-primary, .mp-seller-btn-outline { padding: 11px 18px; font-size: .85rem; }
    .mp-promo { padding: 22px 18px; }
    .mp-promo-emoji { font-size: 2.6rem; }
    .mp-promo-text h3 { font-size: 1.1rem; }
    .mp-promos { margin-bottom: 28px; }
    .mp-categories, .mp-products, .mp-sale-strip { margin-bottom: 32px; }
}

/* ── Small phone (≤420px) ── */
@media (max-width: 420px) {
    .mp-home { padding: 8px 8px 24px; }
    .mp-hero { padding: 18px 12px; }
    .mp-hero-headline { font-size: 1.45rem; }
    .mp-hero-sub { font-size: .82rem; }
    .mp-search-btn { padding: 8px 10px; font-size: .76rem; }
    .mp-quick-links { gap: 5px; }
    .mp-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .mp-product-grid, .mp-sale-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .mp-product-img { height: 130px; }
    .mp-sale-img { height: 110px; }
    .mp-product-info { padding: 8px; }
    .mp-product-title { font-size: .8rem; }
    .mp-price-now { font-size: .88rem; }
    .mp-view-btn { padding: 4px 8px; font-size: .72rem; }
    .mp-promo { padding: 18px 14px; }
    .mp-promo-emoji { font-size: 2rem; }
    .mp-seller-stats { justify-content: space-between; }
    .mp-stat-pill { min-width: 0; padding: 12px 8px; }
    .mp-stat-n { font-size: 1.3rem; }
    .mp-stat-lbl { font-size: .72rem; }
    .mp-seller-btn-primary, .mp-seller-btn-outline { width: 100%; text-align: center; justify-content: center; }
    .mp-seller-actions { flex-direction: column; }
    .mp-step { padding: 16px 12px; }
    .mp-step-icon { font-size: 2rem; margin-bottom: 12px; }
    .mp-step h3 { font-size: .95rem; }
    .mp-step p { font-size: .8rem; }
}

/* ================================================================
   Lost Password Page — pmv-lp-*
   ================================================================ */

.pmv-lp-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(135deg, #eef2ff 0%, #fff7ed 50%, #eef2ff 100%);
}

.pmv-lp-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.12), 0 4px 20px rgba(0,0,0,.06);
    padding: 48px 44px 40px;
    width: 100%;
    max-width: 460px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Top accent line */
.pmv-lp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #f97316);
    border-radius: 20px 20px 0 0;
}

/* Lock icon */
.pmv-lp-icon-wrap {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(26,58,138,.10), rgba(249,115,22,.10));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid rgba(26,58,138,.15);
}

.pmv-lp-icon-wrap svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.pmv-lp-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 10px;
    letter-spacing: -.02em;
}

.pmv-lp-subtitle {
    font-size: .95rem;
    color: #718096;
    line-height: 1.6;
    margin: 0 0 32px;
}

/* WooCommerce notices inside card */
.pmv-lp-card .woocommerce-error,
.pmv-lp-card .woocommerce-message,
.pmv-lp-card .woocommerce-info {
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: .9rem;
}

/* Form field */
.pmv-lp-field {
    margin-bottom: 24px;
    text-align: left;
}

.pmv-lp-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 8px;
}

.pmv-lp-field label svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.pmv-required {
    color: #e53e3e;
    font-size: .75rem;
    margin-left: 2px;
}

.pmv-lp-input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: .95rem;
    color: #2d3748;
    background: #f8fafc;
    outline: none;
    transition: border-color .25s, box-shadow .25s, background .25s;
    box-sizing: border-box;
}

.pmv-lp-input:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26,58,138,.1);
}

.pmv-lp-input::placeholder {
    color: #a0aec0;
}

/* Submit button */
.pmv-lp-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #f97316 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(26,58,138,.35);
    letter-spacing: .01em;
    margin-bottom: 0;
}

.pmv-lp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,58,138,.45);
}

.pmv-lp-btn:active {
    transform: translateY(0);
}

/* Footer */
.pmv-lp-footer {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #edf2f7;
}

.pmv-lp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}

.pmv-lp-back-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 480px) {
    .pmv-lp-card {
        padding: 36px 24px 30px;
    }
    .pmv-lp-title { font-size: 1.5rem; }
}

/* Hide default WC page title & site-main padding on lost-password page */
.lost-password .site-main {
    padding: 0;
}

.lost-password .woocommerce-MyAccount-content > h2:first-child,
.lost-password .woocommerce > h2:first-child {
    display: none;
}

/* ================================================================
   Live Search Dropdown (pmv-search-dropdown / pmv-sd-*)
   ================================================================ */

.pmv-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,.13);
    z-index: 9999;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
}

.pmv-search-dropdown.open {
    display: block;
    animation: pmvFadeDown .18s ease;
}

@keyframes pmvFadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pmv-sd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #2d3748;
    border-bottom: 1px solid #f1f5f9;
    transition: background .15s;
}

.pmv-sd-item:last-of-type {
    border-bottom: none;
}

.pmv-sd-item:hover,
.pmv-sd-item.active {
    background: #eef2ff;
    text-decoration: none;
    color: #2d3748;
}

.pmv-sd-img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f7f9fc;
    border: 1px solid #e8edf3;
}

.pmv-sd-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pmv-sd-no-img {
    width: 100%;
    height: 100%;
    display: block;
}

.pmv-sd-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.pmv-sd-title {
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pmv-sd-price {
    font-size: .82rem;
    font-weight: 800;
    color: var(--color-primary);
}

.pmv-sd-price del {
    color: #a0aec0;
    font-weight: 400;
    font-size: .78rem;
    margin-left: 4px;
    text-decoration: line-through;
}

.pmv-sd-all {
    display: block;
    text-align: center;
    padding: 10px 14px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--color-primary);
    background: #f8faff;
    border-top: 1px solid #e2e8f0;
    text-decoration: none;
    transition: background .15s;
}

.pmv-sd-all:hover {
    background: #eef2ff;
    text-decoration: none;
}

/* ================================================================
   No Search Results — Suggestions Section (pmv-nrs-*)
   ================================================================ */

.pmv-no-results-suggestions {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px dashed #e2e8f0;
}

.pmv-nrs-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pmv-nrs-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, var(--color-primary), #f97316);
    border-radius: 4px;
    flex-shrink: 0;
}

.pmv-nrs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pmv-nrs-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.pmv-nrs-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,58,138,.13);
    border-color: var(--color-primary);
    text-decoration: none;
    color: inherit;
}

.pmv-nrs-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f9fc;
}

.pmv-nrs-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.pmv-nrs-item:hover .pmv-nrs-img img {
    transform: scale(1.06);
}

.pmv-nrs-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
}

.pmv-nrs-info {
    padding: 12px 14px 14px;
}

.pmv-nrs-name {
    font-size: .88rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.pmv-nrs-price {
    margin: 0;
    font-size: .9rem;
    font-weight: 800;
    color: var(--color-primary);
}

.pmv-nrs-price del {
    color: #a0aec0;
    font-weight: 400;
    font-size: .8rem;
    margin-right: 4px;
}

@media (max-width: 900px) {
    .pmv-nrs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .pmv-nrs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pmv-nrs-heading { font-size: 1.1rem; }
}

/* ================================================================
   All Categories Page (pmv-allcats-*)
   ================================================================ */

.pmv-allcats-wrap {
    background: #f8fafc;
    min-height: 60vh;
    padding: 48px 16px 60px;
}

.pmv-allcats-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pmv-allcats-header {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pmv-allcats-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0;
    position: relative;
    padding-bottom: 14px;
}

.pmv-allcats-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #f97316);
    border-radius: 4px;
}

.pmv-allcats-subtitle {
    color: #718096;
    font-size: 1rem;
    margin: 0;
}

.pmv-allcats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.pmv-allcats-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 22px 12px 18px;
    text-decoration: none;
    color: inherit;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.pmv-allcats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(26,58,138,.12);
    border-color: var(--color-primary);
    text-decoration: none;
    color: inherit;
}

.pmv-allcats-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26,58,138,.08), rgba(249,115,22,.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
    border: 2px solid rgba(26,58,138,.1);
    transition: border-color .25s;
}

.pmv-allcats-card:hover .pmv-allcats-img {
    border-color: var(--color-primary);
}

.pmv-allcats-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pmv-allcats-emoji {
    font-size: 2rem;
    line-height: 1;
}

.pmv-allcats-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pmv-allcats-name {
    font-size: .9rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
}

.pmv-allcats-count {
    font-size: .78rem;
    color: #a0aec0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1100px) {
    .pmv-allcats-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 860px) {
    .pmv-allcats-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
    .pmv-allcats-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .pmv-allcats-title { font-size: 1.5rem; }
}

@media (max-width: 400px) {
    .pmv-allcats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   PMV Product Widgets (pmv-pw-*)
   ================================================================ */

.pmv-product-widget .pmv-pw-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pmv-pw-item {
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.pmv-pw-item:last-child {
    border-bottom: none;
}

.pmv-pw-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
    transition: opacity .2s;
}

.pmv-pw-link:hover {
    opacity: .8;
    text-decoration: none;
    color: inherit;
}

.pmv-pw-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmv-pw-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pmv-pw-no-img {
    color: rgba(255,255,255,.25);
    display: flex;
}

.pmv-pw-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.pmv-pw-name {
    font-size: .84rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.pmv-pw-price {
    font-size: .82rem;
    font-weight: 700;
    color: #f97316;
}

.pmv-pw-price del {
    color: rgba(255,255,255,.3);
    font-weight: 400;
    font-size: .76rem;
    margin-left: 3px;
    text-decoration: line-through;
}

/* ================================================================
   PMV About Widget (pmv-aw-*)
   ================================================================ */

.pmv-aw-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Logo */
.pmv-aw-logo img {
    max-height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .9;
}

.pmv-aw-sitename {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -.01em;
}

.pmv-aw-sitename:hover { color: #f97316; text-decoration: none; }

/* Heading */
.pmv-aw-title {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(249,115,22,.35);
}

/* Description */
.pmv-aw-desc {
    font-size: .84rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin: 0;
}

/* Contact list */
.pmv-aw-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pmv-aw-contact li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .83rem;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
}

.pmv-aw-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(249,115,22,.12);
    border-radius: 6px;
    flex-shrink: 0;
    color: #f97316;
    margin-top: 1px;
}

.pmv-aw-contact a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
}

.pmv-aw-contact a:hover { color: #f97316; }

/* Social icons */
.pmv-aw-socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.pmv-aw-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
    border: 1px solid rgba(255,255,255,.08);
}

.pmv-aw-social:hover {
    background: var(--social-color, #f97316);
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
    text-decoration: none;
}