:root {
    --gold: #cfbf68;
    --cream: #f8f2b7;
    --brown: #402d17;
    --line: #7b6d44;
    --panel: #574831;
    --error: #ffb4a8;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: #403018 url("../images/bg_02.jpg") repeat-x;
    color: var(--cream);
    font-family: Arial, Helvetica, sans-serif;
}
a { color: var(--gold); }
.legacy-shell { width: 828px; margin: 0 auto; }
.legacy-header { width: 828px; }
.legacy-tabs { width: 828px; height: 40px; display: flex; }
.legacy-tabs img { display: block; }
.legacy-body {
    min-height: 620px;
    padding: 70px 24px 45px;
    background: #402d17 url("../images/peerbaba_10.jpg") top center no-repeat;
    border-left: 1px solid #6f5b39;
    border-right: 1px solid #6f5b39;
}
.legacy-content {
    display: grid;
    grid-template-columns: 188px 353px 188px;
    gap: 26px;
    align-items: start;
}
.legacy-left h2, .legacy-right h2 { margin: 70px 0 18px; font-size: 16px; }
.legacy-nav, .legacy-box {
    width: 188px;
    min-height: 259px;
    padding: 18px 12px;
    background: url("../images/box.png") top center/188px 259px no-repeat;
}
.legacy-left .legacy-nav { margin-top: 72px; }
.legacy-nav { display: grid; align-content: start; }
.legacy-nav a {
    position: relative;
    padding: 6px 4px 6px 22px;
    border-bottom: 1px solid var(--line);
    color: var(--cream);
    font: 14px "Times New Roman", Times, serif;
    text-decoration: none;
}
.legacy-nav a::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 9px;
    width: 11px;
    height: 11px;
    background: url("../images/bullet.png") no-repeat;
}
.legacy-nav a:hover, .legacy-nav a[aria-current="page"] { color: #fff; }
.legacy-nav .services-heading {
    padding: 9px 4px 5px;
    color: var(--gold);
    font: bold 12px "Times New Roman", Times, serif;
    text-transform: uppercase;
}
.legacy-nav .service-link { padding-left: 30px; }
.legacy-box { margin-top: 20px; font-size: 12px; }
.legacy-box h3 { color: var(--gold); font: bold 12px "Times New Roman", Times, serif; text-transform: uppercase; }
.legacy-box hr { border: 0; border-top: 1px solid #635036; margin: 24px 0; }
.legacy-right { text-align: center; }
.legacy-right { padding-top: 70px; }
.legacy-right h2 { margin-top: 0; }
.legacy-right .legacy-box { text-align: left; }
.legacy-right img { margin-top: 16px; }
.legacy-center { width: 353px; min-width: 0; }
.legacy-center > h1 { margin: 0 0 14px; font-size: 18px; }
.intro { margin-bottom: 18px; }
.service-copy {
    color: var(--cream);
    font: 12px/1.5 Arial, Helvetica, sans-serif;
}
.service-copy h1 {
    margin: 0 0 14px;
    color: #fff;
    font: italic 18px "Times New Roman", Times, serif;
}
.service-copy h2,
.order-callout h2 {
    margin: 0 0 10px;
    color: var(--gold);
    font: 700 14px "Times New Roman", Times, serif;
    text-transform: uppercase;
}
.service-copy p { margin: 9px 0; }
.service-copy em { color: #fff2ad; }
.service-copy ul {
    margin: 8px 0 12px;
    padding-left: 22px;
}
.service-copy li { margin: 4px 0; }
.service-copy li::marker { color: var(--gold); }
.service-copy hr {
    margin: 22px 0 16px;
    border: 0;
    border-top: 1px solid var(--line);
}
.service-copy--intro,
.service-copy--details { margin-top: 28px; }
.order-callout {
    margin: 20px 0 8px;
    border-left: 3px solid var(--gold);
    padding: 10px;
    background: #493721;
    color: var(--cream);
    font-size: 12px;
}
.order-callout p { margin: 0; line-height: 1.45; }
.product-grid { display: grid; gap: 14px; }
.product-card {
    border-top: 1px solid var(--line);
    padding: 13px 0 2px;
    color: var(--cream);
    font-size: 12px;
}
.product-card h2, .review h2 {
    margin: 0 0 10px;
    color: var(--gold);
    font: bold 14px "Times New Roman", Times, serif;
    text-transform: uppercase;
}
.buy-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buy-option, .primary-button, .secondary-button {
    border: 1px solid #aa8b53;
    padding: 8px 7px;
    cursor: pointer;
    font: bold 11px Arial, Helvetica, sans-serif;
}
.buy-option {
    display: grid;
    gap: 3px;
    text-align: center;
}
.option-set-row {
    display: flex;
    min-height: 35px;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.option-amulets {
    position: relative;
    display: inline-block;
    width: 23px;
    height: 31px;
    flex: 0 0 23px;
}
.option-amulets img {
    position: absolute;
    top: 0;
    left: 0;
    width: 21px;
    height: 29px;
    border: 1px solid rgba(52, 35, 15, .45);
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(52, 35, 15, .25);
}
.option-amulets--3 {
    width: 35px;
    flex-basis: 35px;
}
.option-amulets--3 img:nth-child(1) { transform: translateX(0) rotate(-5deg); }
.option-amulets--3 img:nth-child(2) { transform: translateX(7px); }
.option-amulets--3 img:nth-child(3) { transform: translateX(14px) rotate(5deg); }
.option-set {
    color: #34230f;
    font: bold 13px "Times New Roman", Times, serif;
}
.option-price { font-size: 12px; }
.option-action {
    margin-top: 3px;
    border-top: 1px solid rgba(52, 35, 15, .28);
    padding-top: 4px;
    font-size: 10px;
    text-transform: uppercase;
}
.buy-option, .primary-button {
    background: #cfbf68;
    color: #34230f;
}
.buy-option:hover, .primary-button:hover { background: #e8d789; }
.buy-option[aria-pressed="true"] { outline: 2px solid #fff; }
.secondary-button { background: #574831; color: var(--cream); }
.order-callout--unavailable {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    border-color: #b78945;
    border-left-color: #ffcf75;
}
.unavailable-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 207, 117, .72);
    border-radius: 50%;
    background: rgba(255, 207, 117, .1);
    color: #ffcf75;
}
.unavailable-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.retry-button {
    display: inline-block;
    margin-top: 10px;
    border: 1px solid #aa8b53;
    background: #cfbf68;
    color: #34230f;
    padding: 7px 13px;
    font: bold 11px Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}
.retry-button:hover { background: #e8d789; }
.order-form[aria-disabled="true"] {
    opacity: .72;
}
.order-form :disabled {
    cursor: not-allowed;
    opacity: .65;
}
.order-form {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 11px;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    color: var(--cream);
    font-size: 12px;
}
.order-form--top { margin-top: 8px; }
.selected-order {
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    background: #493721;
    padding: 10px;
}
.selected-order h2 {
    margin: 0 0 7px;
    color: var(--gold);
    font: bold 13px "Times New Roman", Times, serif;
    text-transform: uppercase;
}
.selected-order p { margin: 3px 0; }
.field {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 4px;
    overflow-wrap: anywhere;
}
.field input,
.field textarea,
.field select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid #aa8b53;
    background: #f8f2d8;
    color: #2e2113;
    padding: 7px;
    font: 12px Arial, Helvetica, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
}
.field textarea {
    min-height: 85px;
    overflow: auto;
    overflow-wrap: anywhere;
    resize: vertical;
    text-overflow: clip;
    white-space: pre-wrap;
}
.field small { color: var(--gold); text-align: right; }
.choice-field {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    border: 1px solid var(--line);
    padding: 9px;
}
.choice-field label,
.privacy,
.privacy span,
.selected-order,
.selected-order p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.choice-field legend {
    color: var(--gold);
    font: 12px/1.4 Arial, Helvetica, sans-serif;
}
.optional { display: inline; font-weight: normal; opacity: .8; white-space: nowrap; }
.required-note {
    margin: 0;
    color: var(--cream);
    font-size: 11px;
}
.required-marker {
    color: #ffcf75;
    font-weight: bold;
}
.privacy { display: flex; gap: 7px; align-items: flex-start; line-height: 1.4; }
.privacy input { margin: 2px 0 0; }
.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.review .form-actions {
    margin-top: 14px;
    padding: 2px 0 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.edit-order-link {
    color: var(--gold);
    font: bold 12px Arial, Helvetica, sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    margin-bottom: 2px;
}
.edit-order-link:hover {
    color: #fff3b7;
}
.paypal-checkout-form {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 0 1 auto;
    width: 250px;
    min-width: 0;
}
.paypal-checkout-button {
    width: 100%;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 24px;
    background: #ffc439;
    color: #111820;
    box-shadow: 0 4px 0 #d9a31d, 0 7px 12px rgba(0, 0, 0, .16);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .01em;
}
.paypal-checkout-button:hover { background: #f2ba36; }
.paypal-checkout-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #d9a31d, 0 6px 12px rgba(0, 0, 0, .16);
}
.paypal-mark {
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -.04em;
}
.paypal-mark b { color: #003087; }
.paypal-mark strong { color: #009cde; }
.paypal-trust-note {
    display: block;
    width: 100%;
    color: #d5c59e;
    font-size: 10.5px;
    line-height: 1.3;
    text-align: center;
}
.review {
    margin-top: 18px;
    border: 1px solid var(--line);
    background: #493721;
    padding: 12px;
    color: var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}
.review h1,
.review h2 {
    color: var(--gold);
    font: 700 14px "Times New Roman", Times, serif;
    text-transform: uppercase;
}
.review dl {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 6px 10px;
    font: 12px/1.4 Arial, Helvetica, sans-serif;
}
.review dt { color: var(--gold); font-weight: bold; }
.review dd { margin: 0; color: var(--cream); white-space: pre-wrap; }
.review .primary-button:disabled {
    cursor: wait;
    opacity: .75;
}
.confirmation-panel {
    margin-top: 0;
}
.confirmation-panel h1 {
    margin: 0 0 12px;
}
.confirmation-panel p {
    margin: 10px 0;
}
.button-link {
    display: inline-block;
    text-decoration: none;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 0 0 14px;
    color: var(--cream);
    font: 11px/1.4 Arial, Helvetica, sans-serif;
}
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.breadcrumbs strong { color: #fff; }
.notice {
    border-left: 3px solid var(--gold);
    padding: 8px;
    background: #493721;
    font-size: 11px;
    line-height: 1.4;
}
.error { border-left-color: var(--error); color: var(--error); }
.legacy-footer {
    width: 828px;
    min-height: 118px;
    padding: 20px 34px;
    text-align: center;
    background: url("../images/peerbaba_15.jpg") center/810px 118px repeat-x;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
}
.legacy-footer a { color: var(--gold); text-decoration: none; }
.legacy-footer.site-footer { padding: 18px 20px; }
.legacy-footer .site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 0;
    max-width: 760px;
    margin: 0 auto;
}
.legacy-footer .site-footer-links a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.legacy-footer .site-footer-links a:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 10px;
    margin: 0 12px;
    background: rgba(207, 191, 104, 0.45);
}
.legacy-footer .site-footer-links a.site-footer-row-end::after { display: none; }
.legacy-footer .site-footer-links a:hover,
.legacy-footer .site-footer-links a:focus-visible { color: #fff; }
.legacy-footer .site-footer-copyright {
    margin: 12px 0 0;
    color: var(--gold);
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: .02em;
    text-transform: none;
}
[hidden] { display: none !important; }

@media (max-width: 850px) {
    .text-size-control { display: none !important; }
    .legacy-shell, .legacy-footer { width: 100%; }
    .legacy-header,
    .legacy-tabs { display: none; }
    .legacy-body {
        min-height: 0;
        padding: 22px 16px 32px;
        border: 0;
        background-image: none;
    }
    .legacy-content { display: block; }
    .legacy-center { width: 100%; }
    .legacy-left, .legacy-right { display: none !important; }
    .service-copy,
    .product-card,
    .order-callout,
    .order-form,
    .review,
    .notice,
    .breadcrumbs {
        line-height: 1.5;
    }
    .service-copy h1 { line-height: 1.2; }
    .service-copy h2,
    .order-callout h2,
    .product-card h2,
    .review h1,
    .review h2 { line-height: 1.25; }
    .field input,
    .field textarea,
    .field select,
    .primary-button,
    .secondary-button,
    .buy-option {
        min-height: 46px;
    }
    .review .form-actions {
        gap: 10px;
    }
    .edit-order-link,
    .paypal-checkout-form {
        width: 100%;
        max-width: none;
        flex-basis: auto;
    }
    .edit-order-link { text-align: center; }
    .buy-options { grid-template-columns: 1fr; }
    .review dl { grid-template-columns: 1fr; }
    .legacy-footer { min-height: 0; padding: 18px 14px; background: #34230f; }
}
