/* ==========================================================================
   1. GLOBAL RESETS & DESIGN SYSTEM VARIABLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gold-primary: #b18e4b;
    --gold-glow: rgba(212, 175, 55, 0.2);
    --black-bg: #000000;
    --dropdown-bg: #0d0d0d;
    --text-primary: #efe0be;
    --pale-gold: #c5b288;
    --red-live: #ff3b30;
    --blue-alert: #3a5f7d;
}

body {
    background-color: var(--black-bg);
    background-image:
        linear-gradient(
            to right,
            transparent 0%,
            transparent calc(50% - 800px),
            rgba(0, 0, 0, 0.90) calc(50% - 664px),
            rgba(0, 0, 0, 0.90) calc(50% + 664px),
            transparent calc(50% + 800px),
            transparent 100%
        ),
        url('../image/seamless.jpg');
    background-repeat: no-repeat, repeat;
    background-position: center center, top left;
    background-attachment: fixed, fixed;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Times New Roman', serif;
    letter-spacing: 0.05em;
    font-weight: 600;
}

a {
    color: var(--pale-gold);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 8px var(--gold-glow);
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    border-bottom: 1px solid var(--gold-glow);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: var(--gold-primary);
}

/* ==========================================================================
   2. SITE MAIN HEADER & NAVIGATION LAYOUT
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-image: linear-gradient(to right, transparent 0%, transparent calc(50% - 800px), rgba(0, 0, 0, 0.90) calc(50% - 664px), rgba(0, 0, 0, 0.90) calc(50% + 664px), transparent calc(50% + 800px), transparent 100%);
    padding: 30px 40px 0 40px;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
    padding: 10px 40px 0 40px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    text-align: center;
    flex-shrink: 0;
    padding: 0 30px;
}

.logo-img {
    height: 250px;
    width: auto;
    display: block;
    transition: height 0.4s ease;
}

.site-header.scrolled .logo-img {
    height: 100px;
}

.nav-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-left .nav-list {
    justify-content: flex-end;
    gap: 45px;
    border-image-source: url(../image/menu-left.svg);
    border-image-repeat: stretch;
    border-image-slice: 14 14 14 15 fill;
    border-image-width: 35px;
    padding: 25px 40px;
}

.nav-right .nav-list {
    justify-content: flex-start;
    gap: 45px;
    border-image-source: url(../image/menu-right.svg);
    border-image-repeat: stretch;
    border-image-slice: 14 14 14 15 fill;
    border-image-width: 35px;
    padding: 25px 40px;
text-transform: uppercase;
    
}

.nav-item {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    transition: color 0.3s ease;
}

.nav-link.active, .nav-item:hover .nav-link {
    color: var(--gold-primary);
    text-shadow: 0 0 8px var(--gold-glow);
}

.nav-icon-svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* ==========================================================================
   3. SHARED CONTEXT SUB-NAVIGATION SYSTEM
   ========================================================================== */
#sub-navigation-context-area {
    width: 100%;
    max-width: 860px;
    margin: 5px auto 0 auto;
    position: relative;
    overflow: hidden;
    max-height: 120px;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

#sub-navigation-context-area.hide-panel {
    max-height: 0px;
    opacity: 0;
}

.context-container {
    width: 100%;
    padding-bottom: 12px;
}

.context-panel {
    display: none;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    width: 100%;
}

.context-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.context-links-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 14px 0;
    position: relative;
}

.context-links-list::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, var(--gold-glow), var(--pale-gold), var(--gold-glow));
}

.context-links-list li a {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--pale-gold);
    text-transform: uppercase;
}

.context-links-list li a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--gold-glow);
}

.custom-search-form { width: 100%; }
.custom-search-wrapper { display: flex; align-items: center; position: relative; background-color: transparent; }

.custom-search-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, var(--gold-glow), var(--pale-gold), var(--gold-glow));
    pointer-events: none;
}

.custom-search-input {
    width: 100%;
    padding: 12px 0;
    margin-left: 16px;
    font-size: 16px;
    font-family: inherit;
    color: #ffffff;
    background-color: transparent;
    border: none;
    outline: none;
}

.custom-search-input::placeholder { color: #777777; }
.custom-search-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; background-color: transparent; color: var(--pale-gold); border: none; }
.custom-search-button:hover { color: #ffffff; }

/* ==========================================================================
   4. HOMEPAGE MASTER GRID SYSTEM & GLOBAL SPACING
   ========================================================================== */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 350px 20px 20px 20px;
}

.grid-container {
    display: grid;
    gap: 40px;
    position: relative;
}

.grid-two-columns { grid-template-columns: repeat(2, 1fr); }
.grid-three-columns { grid-template-columns: repeat(3, 1fr); }

.section-title-accent {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--pale-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--gold-glow);
    padding-bottom: 10px;
    margin-top: 100px !important;
    margin-bottom: 40px !important;
}

/* ==========================================================================
   4. Product and Category Page Definitions
   ========================================================================== */
   
  .category-header {text-align: center; margin: 10px;}
  .category-description {text-align: center; padding: 10px; margin-bottom: 20px;}

/* Master Structural Breadcrumb Container - Premium Gold Gradient Edition */
.vault-breadcrumb-wrapper {
    /* Rich metallic gold gradient blending from deep burnished gold to brilliant accents */
    background: linear-gradient(90deg, #9a7a35 0%, #dfba6b 50%, #bd9b41 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;   /* Subtle highlight top cap */
    border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;        /* Grounding anchor line */
    padding: 6px 16px !important;                                   /* Significantly slimmed down padding */
    border-radius: 2px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;           /* Drops depth onto the background */
    margin: 0px 20px 20px 20px;
}

/* Align and clean layout constraints */
.vault-breadcrumb-list {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Formatting individual text fragments */
.vault-breadcrumb-item {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.75rem !important;        /* Crisper, slightly smaller tracking size */
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

/* Darkened History Link Typography to pop cleanly against the dynamic gold */
.vault-breadcrumb-item a {
    color: #1a150b !important;            /* Deep obsidian-charcoal color tone */
    text-decoration: none !important;
    font-weight: 600 !important;          /* Semi-bold weighting for strict clarity */
    transition: color 0.2s ease, text-shadow 0.2s ease !important;
}

/* History Link Hover State - Illuminates to pure white with a dark backing drop shadow */
.vault-breadcrumb-item a:hover {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* High-Contrast Divider Pipeline Symbol */
.vault-breadcrumb-item + .vault-breadcrumb-item::before {
    content: "|" !important;
    color: rgba(26, 21, 11, 0.4) !important; /* Semi-translucent dark separator line */
    padding: 0 12px !important;
    font-weight: 700 !important;
}

/* Terminal Node (The exact page node you are resting on) */
.vault-breadcrumb-item.active-node span {
    color: #000000 !important;            /* Pure black typography anchors the final spot */
    font-weight: 800 !important;          /* Heavy weighting to highlight location at a glance */
}

.vault-catalog-grid {
    display: grid;
    /* 5 Columns on large screens */
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ==========================================================================
   11. UNIQUE SCOPED PRODUCT DETAIL PAGE (VAULT-PDP) - Clean Variant
   ========================================================================== */
.vault-pdp-card {
    position: relative;
    width: 100%;
    background-color: #000000;
    padding: 35px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

/* Header Section Style */
.vault-pdp-header {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 35px;
}

.vault-pdp-title {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Structural Split Grid Definition */
.vault-pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 90px; /* Safety buffer zone to keep text clear of the absolute footer */
}

/* Left Panel Layout */
.vault-pdp-image-pane {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.vault-pdp-image-frame {
    width: 100%;
    max-width: 100%;
}

.vault-pdp-image-frame img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Right Panel Layout */
.vault-pdp-meta-pane {
    display: flex;
    flex-direction: column;
}

.vault-pdp-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.vault-pdp-price {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--gold-primary, #c5b288);
    margin-bottom: 20px;
}

.vault-pdp-desc {
    color: #dddddd;
    line-height: 1.6;
    font-size: 1rem;
}

/* Absolute Docked Bottom Area */
.vault-pdp-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 35px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
}

.vault-pdp-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vault-pdp-qty-label {
    color: #888888;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Keeping the explicit border definition here as requested */
.vault-pdp-qty-input {
    width: 55px;
    height: 45px;
    background-color: #000000;
    border: 1px solid rgba(197, 178, 136, 0.4);
    color: #ffffff;
    text-align: center;
    font-size: 1.1rem;
}

/* High Contrast Highlight Action Buttons */
.vault-pdp-submit-btn {
    height: 45px;
    padding: 0 40px;
    background: linear-gradient(180deg, #d4af37 0%, #aa7c11 100%);
    color: #000000;
    border: none;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0px 4px 20px rgba(212, 175, 55, 0.25);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.vault-pdp-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.15);
}


/* ==========================================================================
   5. INTRO VAULT ACTION CARDS & REFACTORED ANIMATIONS
   ========================================================================== */
.intro-vault-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 100px auto;
    text-align: center;
}

.intro-title { font-size: 2.5rem; margin-bottom: 1rem; margin-top: 2rem; color: var(--text-primary); }
.intro-lead-text { max-width: 800px; margin: 0 auto 5rem auto; font-size: 1.1rem; color: #cccccc; }
.intro-action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.action-card {
    background-color: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(197, 178, 136, 0.15);
    border-radius: 6px;
    padding: 35px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.action-card::after {
    content: '';
    position: absolute;
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    border: 1px solid rgba(212, 175, 55, 0.04);
    pointer-events: none;
    transition: all 0.4s ease;
}

.action-card.primary-card {
    border-color: rgba(212, 175, 55, 0.4);
    background-color: rgba(20, 17, 12, 0.5);
}

.action-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(197, 178, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--pale-gold);
    transition: transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s ease;
}

.action-card.primary-card .action-icon-wrapper {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(177, 142, 75, 0.2);
}

.action-svg { width: 26px; height: 26px; }
.action-card h3 { font-size: 1.15rem; color: var(--text-primary); margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px; }
.action-card p { font-size: 0.88rem; color: #aaaaaa; line-height: 1.5; margin-bottom: 24px; flex-grow: 1; }
.card-btn { font-family: 'Cinzel', serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pale-gold); transition: all 0.3s ease; }

.action-card:hover { transform: translateY(-5px); border-color: var(--gold-primary); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--gold-glow); }
.action-card:hover::after { border-color: rgba(212, 175, 55, 0.15); }
.action-card:hover h3 { color: var(--gold-primary); }

.action-card:hover .action-icon-wrapper {
    background-color: var(--gold-primary);
    color: #000000;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
    border-radius: 0;
    transform: rotate(45deg);
}
.action-card:hover .action-svg { transform: rotate(-45deg); transition: transform 0.4s ease; }
.action-card:hover .card-btn { color: #ffffff; text-shadow: 0 0 8px var(--gold-glow); }

/* --- Micro-animations --- */
.action-card.primary-card .action-icon-wrapper { position: relative; overflow: hidden; }
.action-card.primary-card .action-icon-wrapper::after {
    content: ""; position: absolute; top: -50%; left: -150%; width: 50%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(25deg); animation: luxuryShimmerSweep 4s infinite ease-in-out;
}

@keyframes luxuryShimmerSweep {
    0% { left: -150%; }
    30%, 100% { left: 150%; }
}

.action-card.live-card .action-icon-wrapper {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 2px solid var(--red-live) !important;
    box-shadow: 0 0 12px rgba(255, 59, 48, 0.25);
    animation: premiumGlobalIconPulse 2s infinite ease-in-out;
}
.action-card.live-card .action-icon-wrapper svg { stroke: var(--red-live) !important; }

@keyframes premiumGlobalIconPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.action-card.alert-card .action-icon-wrapper {
    background-color: rgba(58, 95, 125, 0.12) !important;
    border: 2px solid var(--blue-alert) !important;
    box-shadow: 0 0 8px rgba(58, 95, 125, 0.2);
    animation: luxuryBreathingGlow 3s infinite ease-in-out;
}

@keyframes luxuryBreathingGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(58, 95, 125, 0.2); }
    50% { transform: scale(1.04); box-shadow: 0 0 18px rgba(58, 95, 125, 0.5); }
}

/* ==========================================================================
   12. PRIVATE ACCOUNT DASHBOARD (VAULT-ACCOUNT)
   ========================================================================== */
.vault-account-header {
    text-align: left;
    margin-bottom: 45px;
}

.vault-account-main-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* 3-Column Responsive Grid */
.vault-account-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.vault-account-section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: var(--gold-primary, #c5b288);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    /* Using a very soft underline to separate the section header */
    border-bottom: 1px solid rgba(197, 178, 136, 0.15); 
}

.vault-account-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vault-account-links-list li {
    margin-bottom: 12px;
}

.vault-account-links-list li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left: 0.2s ease;
    display: inline-block;
}

/* Interactive feedback on hover */
.vault-account-links-list li a:hover {
    color: var(--gold-primary, #c5b288);
    padding-left: 4px;
}

/* Custom adjustment for the error or success alert box */
.border-gold {
    border: 1px solid rgba(197, 178, 136, 0.4) !important;
}
/* ==========================================================================
   13. CUSTOM VAULT REGISTER SYSTEM (VAULT-REG)
   ========================================================================== */
.vault-reg-container {
    max-width: 650px;
    margin: 40px auto 80px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Centered Header Title elements */
.vault-reg-header {
    text-align: center;
    margin-bottom: 45px;
}

.vault-reg-main-title {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Layout Form Configurations */
.vault-reg-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.vault-reg-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vault-reg-legend {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-primary, #c5b288);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding: 0;
    width: 100%;
}

/* Two-column layout rows for fields like First/Last Name */
.vault-reg-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vault-reg-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

/* Input & Typography Styling */
.vault-reg-label {
    color: #888888;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.vault-reg-input {
    width: 100%;
    height: 48px;
    background-color: #000000;
    border: 1px solid rgba(197, 178, 136, 0.35);
    color: #ffffff;
    padding: 0 15px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vault-reg-input:focus {
    outline: none;
    border-color: var(--gold-primary, #c5b288);
    box-shadow: 0 0 8px rgba(197, 178, 136, 0.15);
}

/* Error Message Formatting */
.vault-reg-error-msg {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Footer Disclosure & Premium Submit Actions */
.vault-reg-footer-zone {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vault-reg-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.vault-reg-checkbox {
    margin-top: 4px;
    accent-color: var(--gold-primary, #c5b288);
}

.vault-reg-disclosure-text {
    color: #aaaaaa;
    font-size: 0.9rem;
    line-height: 1.5;
}

.vault-reg-disclosure-text a {
    color: var(--gold-primary, #c5b288);
    text-decoration: none;
}

.vault-reg-disclosure-text a:hover {
    text-decoration: underline;
}

.vault-reg-action-wrap {
    display: flex;
    justify-content: center;
}

.vault-reg-submit-btn {
    width: 100%;
    max-width: 300px;
    height: 50px;
    background: linear-gradient(180deg, #d4af37 0%, #aa7c11 100%);
    color: #000000;
    border: none;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0px 4px 20px rgba(212, 175, 55, 0.2);
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* Ensure select dropdowns match the luxury input look */
select.vault-reg-input {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c5b288' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

.vault-reg-error-ledger {
    background-color: #0a0505;
    border: 1px solid rgba(255, 77, 77, 0.4);
    padding: 20px 25px;
    margin-bottom: 35px;
    box-sizing: border-box;
}

.error-ledger-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: #ff4d4d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
}

.error-ledger-list {
    list-style: square;
    margin: 0;
    padding-left: 20px;
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.error-ledger-list li strong {
    color: var(--gold-primary, #c5b288);
}

/* Real-time OpenCart 4 Error Outlines */
.vault-input-error {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.2) !important;
}

/* ==========================================================================
   VAULT CUSTOM SUCCESS PANEL LAYOUT (VANILLA CSS CENTERING)
   ========================================================================== */
.vault-success-content-panel {
    width: 100%;
    max-width: 800px;
    margin: 40px auto; /* Pure horizontal axis container centering */
    padding: 0 20px;
    box-sizing: border-box;
}

.vault-success-card {
    text-align: center; /* Natively anchors titles, text, and elements to absolute horizontal center */
    padding: 60px 40px;
    background: #000000;
}

.vault-success-card .vault-reg-main-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.vault-success-message {
    color: #a0a0a0;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 45px;
}

/* Ensure OpenCart standard output paragraph injection maps cleanly to your rules */
.vault-success-message p {
    margin: 0 0 15px 0;
}

.vault-success-message p:last-child {
    margin-bottom: 0;
}

.vault-success-actions-zone {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Dynamic Modifier for Success State Ledger boxes */
.vault-ledger-success {
    border-color: rgba(197, 178, 136, 0.4) !important; /* Matches your premium border accent layout */
}
.vault-ledger-success .error-ledger-title {
    color: var(--pale-gold) !important; /* Switches title from crimson to gold */
}

/* ==========================================================================
   6. POPULAR CATEGORIES GRID (#popcats)
   ========================================================================== */
#popcats { 
    margin-bottom: 100px; 
}

.popcats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 20px 0;
    width: 100%;
}

.popcats-card {
    position: relative;
    background-color: #050505;
    /* Reintroduced the clean default gold border overlay from your design layout */
    border: 1px solid rgba(197, 178, 136, 0.1); 
    border-radius: 4px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    overflow: hidden;
    text-decoration: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.popcats-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--gold-glow);
}

/* Restored background image execution layer with clean radial linear masking */
.popcats-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-color: #050505;
    background-size: cover; /* Ensures the graphic elements scale beautifully without clipping */
    background-position: right;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    /* Soft gradient overlay that blends the image into the card's black background */
    background-image: linear-gradient(to left, rgba(5, 5, 5, 0) 0%, #050505 100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.popcats-card:hover .popcats-bg {
    transform: scale(1.08);
}

.popcats-info {
    position: relative;
    z-index: 2;
    max-width: 65%;
}

.popcats-title {
    font-family: 'Cinzel', serif;
    color: var(--text-primary);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.popcats-desc {
    color: #aaaaaa;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.popcats-btn-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.popcats-btn {
font-family: 'Montserrat', sans-serif;
font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pale-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 14px 6px 18px;
    background: #0d0d0d;
    transition: all 0.3s ease;
}

.popcats-card:hover .popcats-btn {
    background-color: var(--gold-primary);
    color: #000000;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* ==========================================================================
   7. NEW ARRIVALS GRID SYSTEM (#newadds)
   ========================================================================== */
#newadds { margin-bottom: 120px; }
.product-vault-card {
    background-color: rgba(13, 13, 13, 0.7); border: 1px solid rgba(197, 178, 136, 0.15);
    border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.product-image-frame { width: 100%; height: 240px; overflow: hidden; position: relative; background-color: #050505; border-bottom: 1px solid rgba(212, 175, 55, 0.15); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.product-image-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(circle at center, #0d0d0d 0%, #000000 100%); color: var(--pale-gold); font-family: 'Cinzel', serif; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.placeholder-icon { width: 36px; height: 36px; color: var(--gold-primary); opacity: 0.6; transition: transform 0.4s ease; }
.product-badge-tag { position: absolute; top: 15px; left: 15px; background-color: rgba(0, 0, 0, 0.8); border: 1px solid var(--gold-primary); color: var(--text-primary); font-family: 'Cinzel', serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 3px; text-transform: uppercase; z-index: 2; }

.product-meta-details { padding: 24px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.product-meta-details h3 { font-size: 1.2rem; color: var(--text-primary); margin-bottom: 0.5rem; transition: color 0.3s ease; }
.product-desc { font-size: 0.85rem; color: #aaaaaa; line-height: 1.6; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-price-row { margin-top: auto; font-family: 'Cinzel', serif; font-weight: 600; display: flex; align-items: baseline; gap: 2px; }
.currency-tag { font-size: 1rem; color: var(--pale-gold); }
.price-value { font-size: 1.4rem; color: var(--gold-primary); letter-spacing: 0.05em; }

.product-action-footer { display: flex; border-top: 1px solid rgba(197, 178, 136, 0.15); background-color: #050505; }
.vault-btn { background: none; border: none; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s ease; }
.vault-btn svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.btn-buy-now { flex-grow: 1; color: var(--pale-gold); padding: 16px; border-right: 1px solid rgba(197, 178, 136, 0.15); }
.btn-buy-now:hover { background-color: var(--gold-primary); color: #000000; }
.btn-buy-now:hover svg { transform: translateX(4px); }
.btn-wishlist { width: 60px; color: #aaaaaa; }
.btn-wishlist:hover { color: #ff3b30; background-color: rgba(255, 59, 48, 0.05); }
.btn-wishlist:hover svg { transform: scale(1.15); fill: #ff3b30; }

.product-vault-card:hover { transform: translateY(-6px); border-color: var(--gold-primary); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow); }
.product-vault-card:hover .product-img { transform: scale(1.06); }
.product-vault-card:hover h3 { color: var(--gold-primary); text-shadow: 0 0 8px var(--gold-glow); }

/* ==========================================================================
   VAULT CUSTOM LEDGER TABLES & ARCHIVES
   ========================================================================== */
.vault-ledger-table-wrap {
    width: 100%;
    overflow-x: auto; /* Gracefully handles ultra-wide columns on screen collapses */
    background: #000000;
    border: 1px solid rgba(197, 178, 136, 0.15); /* Soft burnished border casing */
    box-sizing: border-box;
    margin-bottom: 25px;
}

.vault-ledger-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    color: #dddddd;
}

.vault-ledger-table th {
    background-color: #050505;
    font-family: 'Cinzel', serif;
    color: var(--pale-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 20px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(197, 178, 136, 0.25);
}

.vault-ledger-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.vault-ledger-table tr:last-child td {
    border-bottom: none; /* Strips bottom trail indicator line on the last cell array row */
}

.vault-ledger-table tr:hover td {
    background-color: rgba(197, 178, 136, 0.02); /* Ghost gold row sweep effect */
}

/* Specific cell typography overrides */
.gold-text-id {
    font-weight: 700;
    color: var(--pale-gold);
    letter-spacing: 0.5px;
}

.vault-profile-name {
    color: #ffffff;
    font-weight: 500;
}

.gold-text-price {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-weight: 700;
}

.vault-status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    background: #0d0d0d;
    border: 1px solid rgba(197, 178, 136, 0.2);
    color: #efe0be;
}

.vault-ledger-action-link {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pale-gold) !important;
    text-shadow: none !important;
    transition: color 0.2s ease, padding-right 0.2s ease;
}

.vault-ledger-action-link:hover {
    color: #ffffff !important;
    padding-right: 4px;
}

/* ==========================================================================
   OPENCART DEFAULT PAGINATION OVERRIDES
   ========================================================================== */
.vault-pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 5px;
    color: #777777;
    font-size: 0.85rem;
}

/* Clean mapping targeted right at OpenCart's generated link lists */
.vault-pagination-container ul.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(197, 178, 136, 0.15);
}

.vault-pagination-container ul.pagination li a,
.vault-pagination-container ul.pagination li span {
    display: block;
    padding: 8px 14px;
    color: #aaaaaa;
    text-decoration: none;
    background: #000000;
    border-right: 1px solid rgba(197, 178, 136, 0.15);
    transition: all 0.2s ease;
}

.vault-pagination-container ul.pagination li:last-child a,
.vault-pagination-container ul.pagination li:last-child span {
    border-right: none;
}

.vault-pagination-container ul.pagination li.active span,
.vault-pagination-container ul.pagination li a:hover {
    background: var(--gold-primary);
    color: #000000 !important;
}

/* ==========================================================================
   VAULT LUXURY SECONDARY OUTLINE BUTTON
   ========================================================================== */
.vault-reg-secondary-btn {
    width: 100%;
    max-width: 240px;
    height: 50px;
    
    /* Forces anchor elements to respect structural layout bounds precisely */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    
    /* Matte obsidian interior with a delicate burnished gold frame */
    background-color: #0d0d0d !important;
    background-image: none !important; /* Exterminate inherited linear gradients */
    color: var(--pale-gold) !important;
    border: 1px solid rgba(197, 178, 136, 0.35) !important;
    
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase; /* Balances typography alignment with submission buttons */
    transition: all 0.2s ease;
}

.vault-reg-secondary-btn:hover {
    background-color: #141414 !important;
    border-color: var(--gold-primary) !important;
    color: #ffffff !important;
    box-shadow: 0px 4px 15px rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
}

/* ==========================================================================
   VAULT CUSTOM WISHLIST LEDGER EXTRA STYLE AMENDMENTS
   ========================================================================== */
.vault-wishlist-thumb {
    max-width: 60px;
    height: auto;
    border: 1px solid rgba(197, 178, 136, 0.15);
    background-color: #050505;
    padding: 3px;
    display: block;
    margin: 0 auto;
}

.vault-wishlist-cart-trigger {
    background: transparent;
    border: 1px solid rgba(197, 178, 136, 0.3);
    color: var(--pale-gold);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vault-wishlist-cart-trigger:hover {
    background: var(--gold-primary);
    color: #000000;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   8. GLOBAL SITE FOOTER SYSTEM
   ========================================================================== */
.site-footer { width: 100%; border-top: 1px solid var(--gold-glow); background-color: rgba(0, 0, 0, 0.8); padding: 60px 20px; }
.grid-five-columns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.footer-column summary { list-style: none; }
.footer-column summary::-webkit-details-marker { display: none; }
.site-footer h3 { font-size: 0.9rem; text-transform: uppercase; color: var(--gold-primary); margin-bottom: 12px; letter-spacing: 0.1em; }
.site-footer ul li { margin-bottom: 6px; }
.site-footer ul li a { color: #bbbbbb; font-size: 0.85rem; }
.site-footer ul li a:hover { color: var(--pale-gold); }
.footer-credits-text { font-size: 0.8rem; color: #777777; line-height: 1.6; }
.footer-credits-text a { color: #999999; }

/* ==========================================================================
   9. RESPONSIVE LAYOUT MEDIA QUERIES (800px Premium Edition Remastered)
   ========================================================================== */
@media (max-width: 1100px) {
    .site-header { padding: 15px 20px 0 20px; }
    .logo-img { height: 110px; }
    .nav-list { gap: 15px; }
    .nav-left .nav-list, .nav-right .nav-list { border-image-width: 20px; padding: 10px; }
    .page-content { padding-top: 200px; }
}

@media (max-width: 800px) {
    .site-header, .site-header.scrolled {
        position: static !important;
        width: 100% !important;
        padding: 10px 15px 25px 15px !important;
    }

    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .header-container > .nav-container:first-of-type {
        display: flex !important;
        width: 100% !important;
        margin-bottom: 10px;
    }

    .nav-left, .nav-right {
        display: flex;
        width: 100% !important;
        flex: none !important;
    }

    .nav-left .nav-list {
        display: flex;
        justify-content: space-between !important;
        border-image: none !important;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .logo-container {
        width: 100%;
        margin: 0 0 15px 0;
        order: 2;
    }

    .logo-img, .site-header.scrolled .logo-img {
        height: 200px !important;
        margin: -25px auto 0 auto;
    }

    .header-container > .nav-container:last-child {
        display: flex !important;
        width: 100% !important;
        margin-top: 5px;
        order: 3;
    }

    .nav-right .nav-list {
        display: flex;
        justify-content: center;
        background: rgba(13, 13, 13, 0.6);
        border: 1px solid rgba(197, 178, 136, 0.2);
        border-radius: 4px;
        padding: 12px 15px;
        width: 100%;
        gap: 25px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .nav-left .nav-list::-webkit-scrollbar,
    .nav-right .nav-list::-webkit-scrollbar,
    .context-links-list::-webkit-scrollbar {
        display: none;
    }

    .nav-item { flex: 0 0 auto; }
    .nav-link { font-size: 0.8rem; letter-spacing: 0.1em; }
    .page-content { padding-top: 0px !important; }

    .context-links-list {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 14px 15px;
    }

    .context-links-list li { flex: 0 0 auto; }
    .section-title-accent { margin-top: 40px !important; margin-bottom: 25px !important; }
    .intro-vault-section { margin-top: 25px !important; margin-bottom: 60px; }
    #popcats, #newadds { margin-bottom: 60px; }

    .intro-action-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 0 40px;
    }

    .intro-action-grid .action-card:first-child { grid-column: 1 / span 2; }

    /* Updated popcats responsive view mapping safely */
    .popcats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grid-two-columns, .grid-three-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grid-two-columns::after, .grid-three-columns::after {
        content: ""; position: absolute; bottom: -25px; left: 10%; width: 80%; height: 1px;
        background-image: linear-gradient(to right, var(--gold-glow), var(--pale-gold), var(--gold-glow));
    }

    .grid-five-columns { grid-template-columns: 1fr; gap: 0; }
    .footer-column { border-bottom: 1px solid rgba(212, 175, 55, 0.15); width: 100%; }
    .footer-heading { padding: 20px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; background-color: rgba(13, 13, 13, 0.4); user-select: none; }
    .site-footer h3 { margin-bottom: 0; }
    .footer-heading::after { content: "[ + ]"; font-family: 'Cinzel', serif; color: var(--pale-gold); font-size: 0.9rem; }
    .footer-column[open] .footer-heading::after { content: "[ − ]"; color: var(--gold-primary); }
    .footer-column ul, .footer-column .footer-credits-text { padding: 15px 25px 25px 25px !important; background-color: #050505; }
    
    .vault-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .product-vault-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-meta-pane {
        border-left: none;
        padding-left: 0;
    }
        .vault-pdp-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .vault-account-grid {
        grid-template-columns: repeat(2, 1fr); /* Drop to 2 columns on tablets */
    }
}

@media (max-width: 500px) {
    .page-content { padding-top: 0px !important; }
    .vault-catalog-grid {
        grid-template-columns: 1fr;
    }
    .product-vault-card {
        padding: 20px;
    }
    .product-vault-grid {
        padding-bottom: 110px; /* Extends bottom space to ensure clean stacking layout elements */
    }
    .product-vault-footer {
        justify-content: center;
        padding: 15px 20px;
    }
    .vault-action-inputs {
        width: 100%;
        justify-content: space-between;
    }
    .vault-it-btn {
        flex-grow: 1;
    }
        .vault-pdp-card {
        padding: 20px;
    }
    .vault-pdp-grid {
        padding-bottom: 110px; /* Extends bottom space to ensure clean stacking layout elements */
    }
    .vault-pdp-footer {
        justify-content: center;
        padding: 15px 20px;
    }
    .vault-pdp-actions {
        width: 100%;
        justify-content: space-between;
    }
    .vault-pdp-submit-btn {
        flex-grow: 1;
    }
    .vault-account-grid {
        grid-template-columns: 1fr; /* Stack into 1 clean column on mobile */
        gap: 30px;
    }
    .vault-account-header {
        text-align: center;
    }
    
.vault-reg-field-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .vault-reg-main-title {
        font-size: 2rem;
    }
    .vault-reg-submit-btn {
        max-width: 100%;
    }
}