/* BLACK BACKGROUND */
body {
    background: #000 !important;
    color: #fff;
    font-family: Arial, sans-serif;
}

/* =====================================
   TOP BAR
===================================== */

.pc-topbar {
    position:fixed;
    top:40px;
    left:0;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
}

.pc-brand {
    text-align:center;
    line-height:1.4;
}

/* CHARLES & KEITH */
.brand-main {
    font-size:24px;
    font-weight:600;
    letter-spacing:2px;
    white-space:nowrap;
}

/* PEDRO */
.brand-sub {
    font-size:17px;
    color:#aaa;
}

/* =====================================
   REGION BUTTONS
===================================== */

.pc-region {
    display:flex;
    gap:12px;
}

.region-btn {
    background:#222;
    border:1px solid #444;
    color:#fff;
    padding:6px 16px;
    border-radius:6px;
    cursor:pointer;
}

.region-btn.active {
    background:#fff;
    color:#000;
}

/* =====================================
   TITLE
===================================== */

.pc-title {
    text-align:center;
    font-size:34px;
    font-weight:500;
    margin:10px 0 25px 0;
}

/* =====================================
   CARD
===================================== */

.pc-card {
    width:650px;
    margin:0 auto 80px auto;
    background:#111;
    padding:40px;
    border-radius:16px;
}

/* =====================================
   INPUT ROW
===================================== */

.pc-row{
    display:flex;
    gap:10px;
    width:100%;
    margin-bottom:20px;
}

/* INPUT FIELDS */

.pc-row input,
.pc-row select{
    flex:1;
    min-width:0;
    padding:14px;
    background:#222;
    border:1px solid #444;
    color:#fff;
    border-radius:6px;
}

/* =====================================
   BUTTON STANDARD SIZE
===================================== */

.pc-btn{
    width:140px;
    padding:14px;
    background:#fff;
    color:#000;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-weight:500;
}

/* =====================================
   RESULT BOX
===================================== */

.pc-result {
    margin-top:25px;
    padding:20px;
    background:#1a1a1a;
    border-radius:8px;
    min-height:120px;
}

/* =====================================
   BUTTON ROW
===================================== */

.pc-clear-row{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:25px;
}

/* =====================================
   FIX CLICK ISSUE
===================================== */

#price-checker-wrapper {
    position:relative;
    z-index:9999;
    padding-top:40px;
}

.pc-card {
    position:relative;
    z-index:9999;
}

.pc-section button {
    position:relative;
    z-index:9999;
}

/* =====================================
   HIDE WORDPRESS LAYOUT
===================================== */

header,
footer,
.site-header,
.site-footer,
#colophon {
    display:none !important;
}

.entry-title,
.page-title,
h1.wp-block-post-title {
    display:none !important;
}


/* Price result grid */

.price-result-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    column-gap:40px;
    row-gap:10px;
}

.price-result-grid .full{
    grid-column:1 / span 2;
}

.price-result-grid hr{
    grid-column:1 / span 2;
    border:none;
    border-top:1px solid #555;
    margin:10px 0;
}


/* Hide WordPress admin bar and search icon */

body{
    margin-top:0 !important;
}

/* Hide theme search icon */

.search-toggle,
.site-search,
.header-search,
.search-icon{
    display:none !important;
}


/* ============================= */
/* HEADER / BRAND / TITLE LAYOUT */
/* ============================= */

/* Charles & Keith + Pedro same size */

.pc-brand{
    position:fixed;
    top:40px;
    left:30px;
    display:flex;
    flex-direction:column;
    line-height:1.1;
    z-index:1000;
}

.pc-brand div{
    font-size:16px;
    font-weight:600;
}

/* Logout button top-right */

.pc-logout{
    position:fixed;
    top:40px;
    right:30px;
    z-index:1000;
    padding:4px 10px;
    font-size:14px;
}


/* Region buttons centred */

.pc-region{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:10px;
    margin-bottom:20px;
}

.pc-region button{
    margin:0 6px;
}

/* Display panel spacing */

.pc-display{
    margin-top:20px;
}


/* Keep only the user greeting in admin bar */

#wpadminbar .ab-top-menu > li:not(#wp-admin-bar-my-account){
    display:none !important;
}

#wpadminbar .ab-sub-wrapper{
    display:none !important;
}

/* Position greeting */

#wp-admin-bar-my-account{
    position:fixed;
    top:15px;
    right:110px;
    background:none;
}