/* ==========================================================================
   ORVI utility pages: empty cart / checkout, order confirmation, partner profile,
   wishlist, sign in / sign up. Tokens from orvi-design-system.css.
   ========================================================================== */

/* Page shell + breadcrumb */
.orvi-page-shell { padding: 32px 0 72px; }
.orvi-page-crumb { margin: 0 0 24px; font-size: .875rem; color: var(--orvi-muted, #5f6f5b); }
.orvi-page-crumb a { color: var(--orvi-green-700, #3a7d00); text-decoration: none; font-weight: 600; }
.orvi-page-crumb span[aria-hidden] { margin: 0 6px; }
.orvi-page-h2 { margin: 40px 0 18px !important; font-family: var(--orvi-font-heading, Outfit, sans-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; font-weight: 800 !important; color: var(--orvi-ink, #071105); }

/* Message card */
.orvi-state {
	max-width: 620px; margin: 24px auto 48px; padding: clamp(32px, 5vw, 48px) clamp(22px, 5vw, 48px);
	text-align: center; background: #fff; border: 1px solid var(--orvi-line, #ddebd2); border-radius: 24px;
	box-shadow: 0 18px 50px rgba(7, 17, 5, .07);
}
.orvi-state__icon { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50%; background: var(--orvi-green-50, #f0f9e6); color: var(--orvi-green-700, #3a7d00); }
.orvi-state--success .orvi-state__icon { background: var(--orvi-green, #61d400); color: var(--orvi-on-green, #071105); }
.orvi-state--error .orvi-state__icon { background: #fdecec; color: #b32d2e; }
.orvi-state .orvi-state__title { margin: 0 0 10px !important; font-family: var(--orvi-font-heading, Outfit, sans-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem) !important; font-weight: 800 !important; line-height: 1.2 !important; color: var(--orvi-ink, #071105); }
.orvi-state__text { max-width: 480px; margin: 0 auto; font-size: 1rem; line-height: 1.6; color: var(--orvi-muted, #5f6f5b); }
.orvi-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.orvi-state a.orvi-state__btn { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 24px; border: 1px solid var(--orvi-line, #ddebd2); border-radius: 999px; background: #fff; font-weight: 700; color: var(--orvi-ink, #071105) !important; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.orvi-state a.orvi-state__btn:hover { border-color: var(--orvi-ink, #071105); }
.orvi-state a.orvi-state__btn--primary { background: var(--orvi-green, #61d400); border-color: var(--orvi-green, #61d400); color: var(--orvi-on-green, #071105) !important; }
.orvi-state a.orvi-state__btn--primary:hover { background: var(--orvi-ink, #071105); border-color: var(--orvi-ink, #071105); color: #fff !important; }

/* Woo cart page: hide the old notice wrapper spacing */
.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-cart .cart-empty.woocommerce-info { display: none; }

/* Checkout container spacing with the card */
.st-checkout-page .orvi-state { margin-top: 8px; }

/* Partner profile */
.orvi-partner-card { display: flex; align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--orvi-line, #ddebd2); border-radius: 24px; background: var(--orvi-cream, #f7faef); }
.orvi-partner-card__avatar { flex: none; width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(7, 17, 5, .12); }
.orvi-partner-card__kicker { margin: 0 0 4px; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orvi-green-700, #3a7d00); }
.orvi-partner-card .orvi-partner-card__name { margin: 0 0 6px !important; font-family: var(--orvi-font-heading, Outfit, sans-serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem) !important; font-weight: 800 !important; line-height: 1.1 !important; color: var(--orvi-ink, #071105); }
.orvi-partner-card__meta { margin: 0; color: var(--orvi-muted, #5f6f5b); }
.orvi-partner-card__bio { max-width: 680px; margin: 12px 0 0; line-height: 1.6; }
.orvi-partner-tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.orvi-partner-tours > * { min-width: 0; }

/* Wishlist page */
.orvi-wishlist { max-width: 1180px; margin: 0 auto; padding: 40px 20px 72px; }
.orvi-wishlist__head { text-align: center; margin-bottom: 8px; }
.orvi-wishlist__kicker { margin: 0 0 6px; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orvi-green-700, #3a7d00); }
.orvi-wishlist .orvi-wishlist__title { margin: 0 !important; font-family: var(--orvi-font-heading, Outfit, sans-serif); font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem) !important; font-weight: 800 !important; color: var(--orvi-ink, #071105); }
.orvi-wishlist__count { margin: 16px 0 24px; text-align: center; color: var(--orvi-muted, #5f6f5b); }
.orvi-wishlist__count a { color: var(--orvi-green-700, #3a7d00); font-weight: 700; }

/* --------------------------------------------------------------------------
   Sign in / Sign up (template-login-normal.php, template-register.php)
   -------------------------------------------------------------------------- */
body.orvi-auth-page { background: var(--orvi-cream, #f7faef); }
body.orvi-auth-page #st-content-wrapper:empty { display: none; }
body.orvi-auth-page #st-login-form-page {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1000px; margin: 40px auto 72px;
	overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(7, 17, 5, .1);
}
.orvi-auth-aside {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: 40px; color: #fff;
	background: linear-gradient(180deg, rgba(7, 17, 5, .15) 0%, rgba(7, 17, 5, .55) 50%, rgba(7, 17, 5, .92) 100%), var(--auth-photo, none) center / cover no-repeat, var(--orvi-dark, #0c140a);
}
.orvi-auth-aside__kicker { margin: 0 0 8px; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orvi-green, #61d400); }
.orvi-auth-aside__title { margin: 0 0 18px; font-family: var(--orvi-font-heading, Outfit, sans-serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); font-weight: 800; line-height: 1.1; color: #fff; }
.orvi-auth-aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.orvi-auth-aside li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.orvi-auth-aside li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--orvi-green, #61d400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071105' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

body.orvi-auth-page #st-login-form-page .modal-dialog { max-width: none; width: auto; margin: 0; display: flex; align-items: center; }
body.orvi-auth-page #st-login-form-page .modal-content { width: 100%; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 40px 44px; background: #fff; }
body.orvi-auth-page #st-login-form-page .modal-header { padding: 0 0 24px !important; border: 0 !important; }
body.orvi-auth-page .account-tabs { display: flex; gap: 4px; width: 100%; margin: 0; padding: 5px; list-style: none; border-radius: 999px; background: var(--orvi-cream, #f7faef); border: 1px solid var(--orvi-line, #ddebd2); }
body.orvi-auth-page .account-tabs li { flex: 1; margin: 0 !important; padding: 0 !important; border: 0 !important; text-align: center; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--orvi-text, #2c2e28); }
body.orvi-auth-page .account-tabs li:not(.active) a, body.orvi-auth-page .account-tabs li.active { display: block; padding: 10px 14px; color: inherit; text-decoration: none; }
body.orvi-auth-page .account-tabs li.active { background: var(--orvi-ink, #071105); color: #fff !important; }
body.orvi-auth-page .account-tabs li::after, body.orvi-auth-page .account-tabs li::before { display: none !important; }
body.orvi-auth-page #st-login-form-page .modal-body { padding: 0 !important; }
body.orvi-auth-page #st-login-form-page .heading { margin: 0 0 20px; font-family: var(--orvi-font-heading, Outfit, sans-serif); font-size: 1.625rem; font-weight: 800; color: var(--orvi-ink, #071105); }
body.orvi-auth-page #st-login-form-page .form-group { margin-bottom: 14px; position: relative; }
body.orvi-auth-page #st-login-form-page .form-control {
	height: 52px; padding: 12px 18px; border: 1px solid var(--orvi-line, #ddebd2) !important; border-radius: 14px !important;
	background: #fbfdf8; font-size: 1rem; color: var(--orvi-ink, #071105); box-shadow: none !important;
}
body.orvi-auth-page #st-login-form-page .form-control:focus { border-color: var(--orvi-green-700, #3a7d00) !important; background: #fff; box-shadow: 0 0 0 3px rgba(97, 212, 0, .25) !important; }
body.orvi-auth-page #st-login-form-page .form-submit {
	width: 100%; height: 52px; border: 0; border-radius: 999px; background: var(--orvi-green, #61d400) !important;
	font-weight: 800; font-size: 1rem; color: var(--orvi-on-green, #071105) !important; cursor: pointer; transition: background-color .15s, color .15s;
}
body.orvi-auth-page #st-login-form-page .form-submit:hover { background: var(--orvi-ink, #071105) !important; color: #fff !important; }
body.orvi-auth-page #st-login-form-page .st-link, body.orvi-auth-page #st-login-form-page a:not(.orvi-state__btn) { color: var(--orvi-green-700, #3a7d00); font-weight: 600; }
body.orvi-auth-page #st-login-form-page .c-grey, body.orvi-auth-page #st-login-form-page label { font-size: .9375rem; color: var(--orvi-text, #2c2e28); }
body.orvi-auth-page #st-login-form-page .account-tabs a { color: inherit !important; }

@media (max-width: 899.98px) {
	body.orvi-auth-page #st-login-form-page { grid-template-columns: minmax(0, 1fr); margin: 20px auto 48px; border-radius: 22px; }
	.orvi-auth-aside { min-height: 0; padding: 28px 24px; }
	.orvi-auth-aside ul { display: none; }
	.orvi-auth-aside__title { margin-bottom: 0; }
	body.orvi-auth-page #st-login-form-page .modal-content { padding: 28px 22px; }
}
@media (max-width: 639.98px) {
	.orvi-partner-card { flex-direction: column; align-items: flex-start; padding: 22px; }
}
.st-checkout-page .alert.orvi-alert-reset { padding: 0; border: 0; background: none; }
body.orvi-auth-page .account-tabs li, body.orvi-auth-page .account-tabs a { text-decoration: none !important; }
