/* css/default.css */
:root {
    --nav-bg: rgba(20, 20, 20, 0.95); /* Dark semi-transparent background */
    --nav-height: 70px;
    --accent-color: #ffc038; /* Logo Blue */
    --text-color: #e0e0e0;
    --hover-bg: rgba(255, 255, 255, 0.1);
    --gold-accent: #ffcc00;
    --bs-body-color: #ffffff !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-top: 80px; /* INCREASED padding to clear the fixed navbar */
    background-color: #121212 !important;
    --bs-body-bg: #121212 !important;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

/* The Fixed Container */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px); /* The Glass Effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Logo */
.nav-logo img {
    height: 45px;
    width: auto;
    transition: opacity 0.3s;
}

.nav-logo:hover img {
    opacity: 0.8;
}

/* Navigation Links (Desktop) */
.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

/* Animated Underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

/* Login Button (Guest State) */
.btn-login {
    padding: 8px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* User Avatar (Logged In State) */
.user-dropdown-container {
    position: relative;
}

.user-avatar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.avatar-circle {
    width: 35px;
    height: 35px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid #444;
    transition: border-color 0.3s, background-color 0.3s;
}

.user-avatar-btn:hover .avatar-circle {
    border-color: var(--accent-color);
    background-color: #444;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    right: 0;
    top: 50px;
    width: 200px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    overflow: hidden;
    flex-direction: column;
    z-index: 1002;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-header {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    font-size: 13px;
    color: #888;
    background-color: #151515;
}

.dropdown-item {
    padding: 12px 15px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: var(--hover-bg);
    color: #fff;
}

.dropdown-item.text-danger {
    color: #ff6b6b;
}

.dropdown-item.text-danger:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* Hamburger Animation when Active */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Responsive Styles */
@media (max-width: 600px) {
    /* 1. Force Full Width for Main Containers */
    #page-wrap, .container, .responsive-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important; /* Remove side padding that squishes content */
        margin: 0 !important;
        overflow-x: hidden; /* Prevent horizontal scroll bar */
    }

    /* 2. Fix the Carousel Container */
    .carousel-container {
        width: 100vw !important; /* Force Viewport Width */
        padding: 10px 0 !important;
        margin-left: calc(-50vw + 50%); /* Hack to break out of centered container */
        margin-right: calc(-50vw + 50%);
    }

    /* 3. Fix the Carousel Track */
    .carousel {
        display: flex !important;
        flex-wrap: nowrap !important; /* Force single row */
        overflow-x: auto !important; /* Enable scroll */
        -webkit-overflow-scrolling: touch;
        gap: 10px !important;
        padding: 0 15px !important; /* Add edge padding so first item isn't flush */
        justify-content: flex-start !important; /* Align left */
    }

    /* 4. Fix Carousel Card Sizing */
    .carousel-card {
        flex: 0 0 85vw !important; /* Card takes 85% of screen width */
        max-width: 85vw !important;
        margin-right: 10px !important;
    }

    /* 5. Fix Slider Images */
    #slider, #slider img {
        width: 100% !important;
        height: auto !important;
        border-radius: 0 !important; /* Remove corners for full bleed */
    }
}
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-height); /* Sticks right below the header */
        flex-direction: column;
        background-color: var(--nav-bg);
        width: 100%;
        height: calc(100vh - var(--nav-height)); /* Full height */
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        justify-content: flex-start;
        padding-top: 40px;
        overflow-y: auto; /* Allows scrolling if menu is long */
    }

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

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 18px;
        display: block;
        padding: 10px;
    }
}


.login-modal, .signup-modal {
    display: none;
    position: fixed;
    z-index: 2000; /* Increased Z-Index to be above navbar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.signup-modal {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto !important;
}

.login-modal.active, .signup-modal.active {
    display: block;
    opacity: 1;
}

/* Modal Content Box */
.login-modal-content, .signup-modal-content {
    background-color: #1f1f1f;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 450px; /* Standardized width */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    color: #e0e0e0;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.login-modal.active .login-modal-content,
.signup-modal.active .signup-modal-content {
    transform: translateY(0);
}

/* Close Buttons */
.login-close-btn, .signup-close-btn {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.login-close-btn:hover, .signup-close-btn:hover {
    color: #fff;
}

/* Form Styles */
.login-header h1, .signup-header h1 {
    color: var(--gold-accent);
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Monaco', monospace;
}

.login-input-group, .signup-input-group {
    margin-bottom: 15px;
    width: 100%;
}

.signup-input-group select {
    position: relative;
    z-index: 2001 !important; /* Higher than the modal (2000) */
    display: block !important;
    opacity: 1 !important;
    -webkit-appearance: menulist !important; /* Force native mobile look */
}

.login-input-group input, 
.signup-input-group input,
.signup-input-group select {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.3s;
}

.login-input-group input:focus, 
.signup-input-group input:focus {
    border-color: var(--gold-accent);
    outline: none;
}

/* Buttons */
.login-btn, .signup-btn {
    width: 100%;
    padding: 12px;
    background-color: #d4a017;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.login-btn:hover, .signup-btn:hover {
    background-color: var(--gold-accent);
}

/* Links */
.login-forgot-password, .login-signup-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #888;
    text-decoration: none;
    font-size: 13px;
}

.login-forgot-password:hover, .login-signup-link:hover {
    color: var(--gold-accent);
    text-decoration: underline;
}

/* Phone Group specific */
.phone-group {
    display: flex;
    gap: 10px;
    border: none;
    background: transparent;
}

.phone-group select {
    width: 35%;
}

.phone-group input {
    width: 65%;
}

.content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #ccc;
    line-height: 1.6;
}

h1, h2 {
    color: #fff;
    margin-bottom: 15px;
}

footer {
    background-color: #0a0a0a;
    color: #666;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: auto;
}

/* Recaptcha Centering */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.about-container, 
.home_desc, 
article, 
#banner {
    background-color: #1f1f1f !important; /* Dark Grey Box */
    color: #fff !important;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px !important;
    margin: 30px auto !important; /* Center it */
    max-width: 1000px;
}

/* 3. Fix Text inside those containers */
.about-container h1, .about-container p,
article h1, article p,
.home_desc p {
    color: #fff !important;
    text-align: left;
}

/* 4. Fix Forms (Contact Us) */
/* Inputs were dark on dark. Let's make them stand out. */
input[type="text"], 
input[type="email"], 
input[type="number"], 
input[type="password"], 
textarea,
select {
    background-color: #2a2a2a !important; /* Dark Grey Background */
    color: #fff !important;               /* White Text */
    border: 1px solid #444 !important;    /* Subtle Border */
    padding: 10px;
    border-radius: 4px;
}

/* 5. Fix Links in Content */
/* Links were dark blue, making them invisible on black. Change to Light Blue. */
a, a:visited {
    color: #ffcc00;
}
.nav-link { 
    color: #e0e0e0 !important; /* Keep navbar links gray/white */
}

/* Strip default decorations from crawlable anchor card containers */
a.product-item, 
a.product-item:hover, 
a.product-item:focus, 
a.product-item:active {
    text-decoration: none !important; /* Strips default browser typography underlines */
    color: inherit !important;          /* Preserves nested dark theme colors */
}

/* 6. Fix "Contact Us" Form Centering */
/* The form looked squashed in your screenshot */
form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}
textarea {
    resize: vertical;
    min-height: 150px;
}

/* 7. Button Visibility */
button[type="submit"] {
    background-color: #ffcc00 !important; /* Gold Background */
    color: #000 !important;               /* Black Text */
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%; /* Full width on mobile */
    margin-top: 10px;
}

.office-locations-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    color: #ffcc00; /* Gold accent */
    margin-bottom: 30px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.office-grid {
    display: grid;
    /* Automatically fit columns: min 280px wide, max 1 fraction of space */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.office-card {
    background-color: #1f1f1f; /* Dark card background */
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center; /* Center the text inside the card */
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.office-card:hover {
    transform: translateY(-5px); /* Subtle lift effect */
    border-color: #ffcc00; /* Gold border on hover */
}

.flag-icon {
    font-size: 30px;
    margin-bottom: 15px;
}

.office-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    display: inline-block;
}

.office-card p {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Make sure strong text stands out */
.office-card strong {
    color: #ffcc00;
}

/* 1. Make the whole box Dark Grey */
.dropdown-menu {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    padding: 0; /* Remove default padding gaps */
}

/* 2. Fix the Header "My Account" */
.dropdown-header {
    background-color: #111 !important; /* Almost black */
    color: #888 !important;
    border-bottom: 1px solid #333 !important;
    padding: 12px 15px;
}

/* 3. Fix the Links (My Orders, Logout) */
.dropdown-item {
    background-color: transparent !important;
    color: #e0e0e0 !important; /* Light Grey Text */
    border-bottom: 1px solid #252525; /* Subtle separator line */
} 

/* 4. Fix Hover Effect */
.dropdown-item:hover {
    background-color: #333 !important; /* Lighter Grey on Hover */
    color: #fff !important;
    text-decoration: none;
}

/* 5. Fix the Logout Text Color */
.dropdown-item.text-danger {
    color: #ff6b6b !important; /* Red for Logout */
}

/* 6. Fix Icons (SVG) colors */
.dropdown-item svg {
    stroke: #aaa; /* Make icons light grey */
}
.dropdown-item:hover svg {
    stroke: #fff; /* White on hover */
}

/* Style for Disabled/Locked Inputs */
input:disabled, 
.locked-input {
    background-color: #1a1a1a !important; /* Very dark background */
    color: #666 !important; /* Dimmed text */
    border: 1px solid #333 !important;
    cursor: not-allowed; /* Shows 'no' symbol on hover */
    opacity: 0.7;
}

/* Success Message Box */
.success-box {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.error-box {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

/* Main Container spacing */
.profile-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Text */
.profile-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}
.profile-header h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}
.profile-header p {
    color: #a0a0a0;
    font-size: 16px;
    margin: 0;
}

/* THE GRID: Forces Side-by-Side Layout */
.profile-grid {
    display: flex; /* Using Flexbox for better control */
    gap: 30px;
    align-items: flex-start;
}

/* Mobile: Stack them */
@media (max-width: 850px) {
    .profile-grid {
        flex-direction: column;
    }
    .profile-card {
        width: 100%;
    }
}

/* Card Styling (The Boxes) */
.profile-card {
    background-color: #1e1e1e; /* Distinct dark grey */
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    overflow: hidden;
}

/* Specific Widths */
.locked-card { flex: 1; } /* Takes 1 part width */
.editable-card { flex: 2; } /* Takes 2 parts width */

/* Card Header */
.card-header {
    background-color: #252525;
    padding: 15px 25px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-header h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.card-header i {
    font-size: 20px;
    color: #ffcc00; /* Gold Icon */
}

/* Card Body */
.card-body {
    padding: 25px;
}

/* Labels */
label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
}

/* Inputs & Icons Wrapper */
.input-group-icon {
    position: relative;
    margin-bottom: 20px;
}

/* The Icon inside the input */
.input-group-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 18px;
    z-index: 2;
}

/* The Input Fields themselves */
.profile-card input[type="text"],
.profile-card select {
    width: 100%;
    padding: 12px 15px 12px 45px !important; /* Left padding for icon */
    background-color: #2b2b2b !important;
    border: 1px solid #444 !important;
    border-radius: 6px;
    color: #fff !important;
    font-size: 15px;
    transition: border-color 0.3s, background 0.3s;
    display: block;
    box-sizing: border-box;
}

/* Focus State */
.profile-card input:focus,
.profile-card select:focus {
    border-color: #ffcc00 !important;
    outline: none;
    background-color: #333 !important;
}

/* Disabled Inputs (Security Card) */
.profile-card input:disabled {
    background-color: #151515 !important;
    border-color: #222 !important;
    color: #666 !important;
    cursor: not-allowed;
}

/* Row for City/State */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
}
.form-row .col {
    flex: 1;
}

/* Save Button */
.save-profile-btn {
    width: 100%;
    background-color: #ffcc00;
    color: #000; /* Black Text */
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s, transform 0.1s;
}

.save-profile-btn:hover {
    background-color: #ffdb4d;
}
.save-profile-btn:active {
    transform: scale(0.98);
}
.save-profile-btn i {
    font-size: 20px;
}

/* Verified Badge */
.badge-verified {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #28a745;
    text-transform: uppercase;
}

/* Contact Support Text */
.locked-notice {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #333;
    padding-top: 15px;
}
.locked-notice a {
    color: #ffcc00;
    text-decoration: none;
}
.locked-notice a:hover {
    text-decoration: underline;
}

/* Announcement Bar Styles */
.announcement-bar {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    z-index: 9999; /* Ensure it stays above the header */
}

.announcement-bar a {
    text-decoration: underline;
    font-weight: bold;
}

/* Info Level (Blue - similar to Bank Info) */
.announcement-info {
    background-color: #e8f4fd;
    color: #0c5460;
    border-bottom: 1px solid #bee5eb;
}
.announcement-info a { color: #0c5460; }

/* Warning Level (Red/Orange - Critical) */
.announcement-warning {
    background-color: #fff3cd; /* Light Yellow/Orange */
    color: #856404;
    border-bottom: 1px solid #ffeeba;
}
.announcement-warning a { color: #856404; }

/* Fix for fixed header */
body.has-announcement header.navbar-fixed {
    top: auto; /* Let JS or CSS adjust if needed, or simply let it stack */
    position: relative; /* Change from fixed to relative so it sits under the banner */
}
/* OR if you want the header to stay fixed and the banner to scroll away: */
.announcement-container {
    display: block;
}

.carousel-card a {
    display: inline-block;
    background-color: #ffcc00 !important; /* Solid Gold Background */
    color: #000000 !important; /* Solid Black Text for High Contrast */
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.carousel-card a:hover {
    background-color: #d4a017 !important; /* Darker Gold on Hover */
    text-decoration: none;
}

/* =========================================
   PDPA Shield Icon & Tooltip (Dark Theme)
   ========================================= */
.pdpa-icon-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    color: #ffcc00; /* LogikHaus Gold Shield */
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pdpa-icon-wrapper:hover {
    color: #ffdb4d;
    transform: scale(1.1);
}

.pdpa-tooltip {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #333; /* Dark tooltip */
    color: #fff;
    border: 1px solid #555;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
}

.pdpa-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.pdpa-icon-wrapper:hover .pdpa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* =========================================
   PDPA Modal Styling (Matches Login Modal)
   ========================================= */
.pdpa-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark overlay */
    backdrop-filter: blur(5px);
}

.pdpa-modal-content {
    background-color: #1f1f1f; /* Dark grey card */
    color: #e0e0e0; /* Light text */
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    line-height: 1.6;
}

.pdpa-modal-content h2 {
    color: #ffcc00; /* Gold Header */
    margin: 0;
    font-size: 1.5rem;
}

.pdpa-modal-content h4 {
    color: #fff;
    margin-top: 20px;
}

.pdpa-modal-content ul {
    margin-left: 20px;
    color: #ccc;
}

.pdpa-modal-content a {
    color: #4da3ff !important; /* Bright blue for readability on dark */
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: color 0.2s;
}

.pdpa-modal-content a:hover {
    color: #80bfff !important;
    text-decoration: underline;
}

.pdpa-close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.pdpa-close-btn:hover {
    color: #fff;
}

/* -- Reset scope -- */
.plp-content { font-family: 'Segoe UI', 'Helvetica Neue', sans-serif; }
 
/* -- Breadcrumb -- */
.plp-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px 0;
}
.plp-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0; padding: 0;
    font-size: 0.82rem;
    color: #888;
}
.plp-breadcrumb a { color: #aaa; text-decoration: none; }
.plp-breadcrumb a:hover { color: #ffcc00; }
.plp-breadcrumb .sep { color: #555; }
.plp-breadcrumb .current { color: #ffcc00; font-weight: 500; }
 
/* -- Article layout -- */
.plp-product-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 28px auto 60px;
    padding: 0 24px;
    align-items: start;
}
 
/* -- Image column -- */
.plp-image-frame {
    position: relative;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    aspect-ratio: 4/3;
}
.plp-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.plp-image-frame:hover .plp-product-img { transform: scale(1.03); }
 
.plp-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: #dc3545;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}
 
/* -- Trust row -- */
.plp-trust-row {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    gap: 8px;
}
.plp-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: #888;
    flex: 1;
    justify-content: center;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 9px 8px;
    background: #0d0d0d;
}
.plp-trust-item svg { flex-shrink: 0; color: #ffcc00; }
 
/* -- Info column -- */
.plp-category-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.08);
    border: 1px solid rgba(255, 204, 0, 0.25);
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 12px;
}
 
.plp-product-name {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #f0f0f0;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}
 
.plp-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 20px;
    align-items: center;
}
.plp-sku, .plp-brand { color: #666; }
.plp-sku span, .plp-brand span { color: #999; font-weight: 500; }
 
.plp-avail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.plp-avail-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
}
.plp-avail--in { color: #28a745; }
.plp-avail--in .plp-avail-dot { background: #28a745; box-shadow: 0 0 5px #28a745; }
.plp-avail--out { color: #dc3545; }
.plp-avail--out .plp-avail-dot { background: #dc3545; }
 
.plp-divider {
    border: none;
    border-top: 1px solid #1e1e1e;
    margin: 20px 0;
}
 
/* -- Promo banner -- */
.plp-promo-banner {
    background: rgba(220, 53, 69, 0.08);
    border-left: 3px solid #dc3545;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.plp-promo-header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #ff6b6b;
    margin-bottom: 6px;
}
.plp-promo-banner p {
    color: #ccc;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}
 
/* -- Price block -- */
.plp-price-block { margin-bottom: 24px; }
 
.plp-price-original {
    display: inline-block;
    color: #555;
    font-size: 1rem;
    text-decoration: line-through;
    margin-right: 10px;
}
.plp-price-save {
    display: inline-block;
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
}
.plp-price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 6px;
}
.plp-currency {
    font-size: 1.1rem;
    color: #ffcc00;
    font-weight: 600;
    align-self: flex-start;
    padding-top: 4px;
}
.plp-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffcc00;
    letter-spacing: -0.03em;
    line-height: 1;
}
.plp-promo-expiry {
    font-size: 0.8rem;
    color: #888;
    margin: 6px 0 0;
}
 
/* -- CTA buttons -- */
.plp-cta-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.plp-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    min-width: 160px;
}
.plp-btn--primary {
    background: #ffcc00;
    color: #111 !important;
}
.plp-btn--primary:hover {
    background: #ffe033;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}
.plp-btn--secondary {
    background: transparent;
    color: #ccc;
    border: 1px solid #333;
}
.plp-btn--secondary:hover {
    border-color: #ffcc00;
    color: #ffcc00;
    transform: translateY(-2px);
}
 
/* -- Description -- */
.plp-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    margin: 0 0 14px;
}
.plp-description-body {
    color: #bbb;
    font-size: 0.93rem;
    line-height: 1.75;
}
.plp-description-body p { margin: 0 0 12px; }
.plp-description-body ul { padding-left: 20px; }
.plp-description-body li { margin-bottom: 6px; }
 
/* -- Specs grid -- */
.plp-specs { margin-top: 24px; }
.plp-specs-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 20px;
    font-size: 0.88rem;
}
.plp-specs-grid dt { color: #666; font-weight: 500; }
.plp-specs-grid dd { color: #ccc; margin: 0; }
 
/* -- Responsive -- */
@media (max-width: 860px) {
    .plp-product-article {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .plp-cta-group { flex-direction: column; }
    .plp-btn { flex: auto; }
}
@media (max-width: 480px) {
    .plp-product-article { padding: 0 16px; }
    .plp-trust-row { flex-direction: column; }
    .plp-amount { font-size: 2rem; }
}