/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

html {
    font-size: 14px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}


/* *****************************************************

    ** PrimeView: Astra-style look **

    Light, airy, lots of whitespace. Everything below
    overrides Twenty-One; the block above is the stock
    Nexus Cart palette, kept so the cart still works.

***************************************************** */

:root {
    --pv-accent: #0170b9;
    --pv-accent-dark: #015a94;
    --pv-heading: #1e293b;
    --pv-text: #3a3a3a;
    --pv-muted: #64748b;
    --pv-line: #e5e7eb;
    --pv-soft: #f7f9fb;
    --pv-radius: 6px;
    --pv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    font-size: 15px;
}

body,
body.primary-bg-color {
    background: #fff;
    color: var(--pv-text);
    font-family: var(--pv-font);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--pv-heading);
    font-family: var(--pv-font);
    font-weight: 600;
    letter-spacing: -0.01em;
}

a {
    color: var(--pv-accent);
}

a:hover,
a:focus {
    color: var(--pv-accent-dark);
}

/* ---------- Logged-in strip ---------- */

.pv-topbar-wrap .topbar {
    background: var(--pv-soft);
    border-bottom: 1px solid var(--pv-line);
    color: var(--pv-muted);
    font-size: 0.85rem;
    padding: 2px 0;
}

.pv-topbar-wrap .topbar .btn,
.pv-topbar-wrap .topbar .input-group-text {
    background: transparent;
    border: 0;
    color: var(--pv-muted);
    font-size: 0.85rem;
}

.pv-topbar-wrap .topbar .btn:hover {
    color: var(--pv-heading);
}

/* ---------- Sticky header ---------- */

.pv-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--pv-line);
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.04);
}

.pv-header .pv-navbar {
    background: #fff;
    padding: 14px 0;
}

.pv-header .pv-navbar > .container {
    flex-wrap: wrap;
}

.pv-brand {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    padding: 0;
}

.pv-brand .logo-img {
    max-height: 44px;
    width: auto;
}

.pv-brand-text {
    color: var(--pv-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pv-brand:hover .pv-brand-text {
    color: var(--pv-accent);
}

.pv-header .navbar-nav .nav-link {
    color: var(--pv-heading);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    transition: color 0.15s ease;
}

.pv-header .navbar-nav .nav-link:hover,
.pv-header .navbar-nav .nav-link:focus,
.pv-header .navbar-nav .active > .nav-link {
    color: var(--pv-accent);
}

.pv-header .dropdown-menu {
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 0.5rem 0;
}

.pv-header .dropdown-item {
    color: var(--pv-text);
    font-size: 0.92rem;
    padding: 0.45rem 1.25rem;
}

.pv-header .dropdown-item:hover,
.pv-header .dropdown-item:focus {
    background: var(--pv-soft);
    color: var(--pv-accent);
}

.pv-toolbar {
    flex-direction: row;
    align-items: center;
    margin-left: auto;
}

#header .pv-toolbar .nav-link.btn {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--pv-heading);
    padding: 0.5rem 0.6rem;
}

.pv-toolbar .cart-btn .badge {
    background: var(--pv-accent);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
}

@media (min-width: 1200px) {
    .pv-toolbar {
        margin-left: 0.75rem;
    }
    .pv-secondary-nav {
        border-left: 1px solid var(--pv-line);
        margin-left: 0.75rem;
        padding-left: 0.75rem;
    }
}

@media (max-width: 1199.98px) {
    .pv-header #mainNavbar {
        flex-basis: 100%;
        border-top: 1px solid var(--pv-line);
        margin-top: 14px;
        padding-top: 8px;
    }
    .pv-header #mainNavbar .nav-link {
        padding-left: 0;
    }
}

/* ---------- Breadcrumb ---------- */

.master-breadcrumb {
    background: transparent;
    border: 0;
}

.master-breadcrumb .breadcrumb {
    background: transparent;
    color: var(--pv-muted);
    font-size: 0.85rem;
    margin: 0;
    padding: 24px 0 0;
}

.master-breadcrumb .breadcrumb a {
    color: var(--pv-muted);
}

/* ---------- Main body ---------- */

#main-body {
    background: #fff;
    padding: 40px 0 80px;
}

#main-body h2,
.home-domain-search h2,
section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.card,
.panel,
.sidebar .card {
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    box-shadow: none;
}

.card:hover {
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.sidebar .card:hover,
.card.no-hover:hover {
    box-shadow: none;
}

.card-header,
.card-footer {
    background: transparent;
    border-color: var(--pv-line);
}

.card-title {
    color: var(--pv-heading);
    font-weight: 600;
}

/* Home "How can we help" / "Your account" tiles: drop the coloured top bars */
.action-icon-btns a,
.action-icon-btns a[class*="card-accent-"] {
    background: #fff;
    border: 1px solid var(--pv-line) !important;
    border-radius: var(--pv-radius);
    box-shadow: none;
    color: var(--pv-heading);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.action-icon-btns a:hover {
    border-color: var(--pv-accent) !important;
    box-shadow: 0 8px 24px rgba(1, 112, 185, 0.08);
    color: var(--pv-accent);
    transform: translateY(-2px);
}

.action-icon-btns .ico-container {
    color: var(--pv-accent);
}

.list-group-item {
    border-color: var(--pv-line);
}

/* Selected sidebar item (e.g. the current store category): white text on the grey highlight */
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus,
.sidebar .list-group-item.active,
.sidebar .list-group-item.active:hover {
    color: #fff;
    font-weight: 600;
}

/* ---------- Buttons & forms ---------- */

.btn {
    border-radius: var(--pv-radius);
    font-weight: 500;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary,
.btn-success,
.btn-info {
    background: var(--pv-accent);
    border-color: var(--pv-accent);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-info:hover,
.btn-info:focus {
    background: var(--pv-accent-dark);
    border-color: var(--pv-accent-dark);
    color: #fff;
}

.btn-outline-primary {
    border-color: var(--pv-accent);
    color: var(--pv-accent);
}

.btn-outline-primary:hover {
    background: var(--pv-accent);
    border-color: var(--pv-accent);
    color: #fff;
}

.btn-default {
    background: #fff;
    border: 1px solid var(--pv-line);
    color: var(--pv-heading);
}

.btn-default:hover {
    border-color: var(--pv-accent);
    color: var(--pv-accent);
}

.form-control,
.custom-select {
    border-color: var(--pv-line);
    border-radius: var(--pv-radius);
    box-shadow: none;
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--pv-accent);
    box-shadow: 0 0 0 3px rgba(1, 112, 185, 0.12);
}

.table th {
    border-top: 0;
    color: var(--pv-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- Footer ---------- */

#footer.pv-footer {
    background: #fff;
    border-top: 1px solid var(--pv-line);
    color: var(--pv-muted);
    font-size: 0.88rem;
    margin-top: 0;
    padding: 28px 0;
}

.pv-footer .copyright {
    color: var(--pv-muted);
}

.pv-footer-links {
    align-items: center;
    margin-top: 10px;
}

#footer .pv-footer-links .nav-link,
#footer .pv-footer-links .list-inline-item .btn {
    background: transparent;
    border: 0;
    color: var(--pv-muted);
    font-size: 0.88rem;
    padding: 0.25rem 0.75rem;
}

.pv-footer-links .nav-link:hover,
.pv-footer-links .list-inline-item .btn:hover {
    color: var(--pv-accent);
}

.pv-footer-links .list-inline-item {
    margin: 0;
}

@media (min-width: 768px) {
    .pv-footer-links {
        margin-top: 0;
    }
    .pv-footer-links .nav-item:last-child .nav-link {
        padding-right: 0;
    }
}
