* {
    touch-action: manipulation;
}

/* Hide Astra header menu for logged-out users */
body:not(.logged-in) .main-header-bar {
    display: none !important;
}

.wpum-login-form {
    padding-top: 100px;
}

.entry-title {
    display: none;
}

.site-footer {
    display: none;
}

.site-header {
    z-index: 99;
    position: relative;
    position: sticky;
    top: 0;
    left: 0;
}

.ps-qty-btn {
    width: 30px;
    height: 30px;
    padding: 0;
}

.ps-card-price {
    flex: 1;
    text-align: right;
    min-width: 70px;
}

.ps-qty-input {
    width: 48px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ps-product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 575px;
    min-height: 80px;
    border-radius: 8px;
    background-color: white;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0px 0.6px 4px 0px rgba(0, 0, 0, 0.2);
    margin: 6px;
    padding: 8px;
}

.ps-product-card-container {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
}

.ps-order-container {
    padding-bottom: 65px;
}

.ast-scroll-to-top-right {
    right: 30px;
    bottom: 85px;
}

.summary-row {
    display: flex;
    width: 100%;
    margin-bottom: 8px;
}

.summary-row-qty {
    flex: auto;
}

.summary-row-desc {
    flex: 5;
}

.summary-row-desc-1 {
    margin-right: 18px;
}

.summary-row-desc-2 {
    font-size: 12px;
    color: #999;
    margin-right: 18px;
}

.summary-row-price {
    flex: 1;
    text-align: right;
}

.ps-product-list {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    margin-left: 26px;
}

.ps-no-results {
    margin-left: 10px;
}

.ps-bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #f8f8f8;
    padding: 12px;
    box-shadow: 0 -2px 6px #ccc;
    display: flex;
    align-items: center;
    left: 0;
    flex-direction: unset !important;
}

.ps-bottom-bar-container {
    width: 100%;
    display: flex;
    flex-direction: unset !important;
    padding: 0;
}

.ps-bottom-bar-btn-container {
    width: 100%;
    text-align: right;
    flex: 1;
}

.ps-summary-container {
    padding: 0;
}


.ps-bottom-bar-price {
    font-size: 18px;
    font-weight: bold;
}

button[disabled] {
    opacity: 0.6;
}

@media (max-width: 600px) {
    .ps-product-card {
        width: 100%;
    }
}

nav.left-menu-nav {
    float: left;
    margin-left: -16px;
    position: fixed;
}

nav.left-menu-nav ul {
    padding: 0;
    margin-top: 6px;
}

nav.left-menu-nav li {
    display: block;
    margin: 0px 0px 0px 0px;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    padding: 0 0px 12px 0px;
}

nav.left-menu-nav li a {
    border-color: var(--ast-global-color-0);
    background-color: var(--ast-global-color-0);
    text-decoration: none !important;
    padding: 20px 8px 20px 8px;
}

.ast-mobile-header-wrap .ast-primary-header-bar,
.ast-primary-header-bar .site-primary-header-wrap {
    min-height: 40px;
}

.ast-plain-container.ast-no-sidebar {
    margin-top: 0;
}

.wpum-action-links {
    padding: 0 !important;
}

.field-hide {
    display: none;
}

body {
    background-color: #f8f9fa;
    padding-top: 20px;
    padding-bottom: 40px;
}

.header {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.json-container {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #6c5ce7;
}

.form-preview {
    border: 2px dashed #6c5ce7;
    border-radius: 10px;
    padding: 2rem;
    min-height: 400px;
}

.field-required::after {
    content: " *";
    color: #dc3545;
}

.btn-primary {
    background-color: #6c5ce7;
    border-color: #6c5ce7;
}

.btn-primary:hover {
    background-color: #5649c0;
    border-color: #5649c0;
}

.btn-success {
    background-color: #00b894;
    border-color: #00b894;
}

.btn-danger {
    background-color: #d63031;
    border-color: #d63031;
}

pre {
    border-radius: 5px;
    padding: 15px;
    background-color: #2d3436;
    color: #dfe6e9;
}

.example-json {
    cursor: pointer;
    color: #6c5ce7;
    text-decoration: underline;
}

.repeatable-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.add-row-btn {
    margin-bottom: 20px;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 16px 0px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
    cursor: pointer;
}

.list-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 17px;
}

.list-info {
    color: #6c757d;
    font-size: 14px;
    margin-top: 2px;
}

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0;
        margin-bottom: 60px;
    }
}