/* Sapir Engine Global Theme */

/* GENERAL BODY */
body {
    margin: 0;
    padding: 0;
    background: #F6F4EF;
    font-family: "Playfair Display", serif;
    color: #444B54;
}

/* PAGE WRAPPER */
.page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 18px 80px;
}

/* HEADER ELEMENTS */
.top-logo {
    text-align: center;
    font-size: 34px;
    color: #C7A66A;
    margin-bottom: 4px;
}

.top-title {
    text-align: center;
    font-size: 28px;
    color: #C7A66A;
    margin-bottom: 4px;
}

.top-subtitle {
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.top-tagline {
    text-align: center;
    font-size: 15px;
    color: #C7A66A;
    font-style: italic;
    margin-bottom: 26px;
}

/* TITLES */
h2 {
    font-size: 22px;
    margin: 24px 0 10px;
}

h3 {
    font-size: 18px;
    margin: 14px 0 8px;
    color: #C7A66A;
}

/* PARAGRAPHS */
p {
    font-size: 15px;
    line-height: 1.55;
    margin: 4px 0;
}

/* SECTIONS */
.section {
    margin-bottom: 26px;
}

/* BOXES */
.box {
    background: #FCFBF7;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 18px 16px 18px;
    margin-top: 8px;
}

.box-strong {
    border-left: 4px solid #C7A66A;
}

/* LABELS */
.label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

/* GRID INPUTS */
.input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 18px;
}

@media (min-width: 780px) {
    .input-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* FORMS */
input[type="text"],
input[type="email"],
input[type="date"],
select {
    width: 100%;
    padding: 8px 9px;
    border-radius: 10px;
    border: 1px solid #D3C8B4;
    font-family: inherit;
    font-size: 14px;
    background: #FFFFFF;
    box-sizing: border-box;
}

/* MODES TABLE */
.modes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.modes-table th,
.modes-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #E0D8C7;
    text-align: left;
}

.modes-table th {
    font-weight: 600;
    font-size: 14px;
    color: #444B54;
}

.mode-name {
    font-weight: 600;
}

.price {
    white-space: nowrap;
}

.mode-note {
    font-size: 12px;
    color: #777;
}

/* TOTALS */
.center {
    text-align: center;
}

.totals-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 18px;
    margin-top: 10px;
}

@media (min-width: 780px) {
    .totals-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    }
}

.totals-box {
    background: #FCFBF7;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 14px 14px 14px;
    font-size: 14px;
}

.totals-box-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.totals-box-row strong {
    font-weight: 600;
}

.totals-label {
    color: #555;
}

.totals-value {
    font-weight: 500;
}

.totals-highlight {
    color: #C7A66A;
    font-weight: 600;
}

/* NOTES */
.small-note {
    font-size: 12px;
    color: #777;
    margin-top: 6px;
}

/* BUTTON ROW */
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

/* BUTTONS */
.btn {
    border-radius: 16px;
    padding: 10px 18px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
    font-family: "Playfair Display", serif;
}

.btn-paypal {
    background: #C7A66A;
    color: #FFFFFF;
}

.btn-paypal:hover {
    background: #b89559;
}

.btn-secondary {
    background: #FFFFFF;
    color: #C7A66A;
    border: 1px solid #C7A66A;
}

.btn-secondary:hover {
    background: #F2ECE1;
}

.btn-primary-dark {
    background: #444B54;
    color: #FFFFFF;
}

.btn-primary-dark:hover {
    background: #2E3338;
}

/* DIVIDER */
.divider {
    height: 1px;
    background: #E0D8C7;
    margin: 24px 0 18px;
}

/* HIGHLIGHT TEXT */
.highlight-line {
    color: #C7A66A;
    font-weight: 600;
}

/* FOOTER NOTE */
.footer-note {
    font-size: 12px;
    color: #777;
    margin-top: 18px;
    text-align: center;
}

/* Center content for Screen1 welcome box */
.center-content {
    text-align: center;
}

/* Center button inside welcome box */
.center-content .button-row {
    justify-content: center;
}
