/* ==========================================================================
   Checkout (Checkout.dc.html), Thank you (ThankYou.dc.html),
   Log in (Login.dc.html), My Account (MyAccount.dc.html)
   ========================================================================== */

/* WooCommerce notices ---------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border: var(--border); border-radius: 14px;
	background: var(--white); font-weight: 600;
}
.woocommerce-error { border-color: var(--red); border-width: 3px; }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; font-weight: 700; }
.co-body .woocommerce-NoticeGroup, .co-body > .woocommerce-notices-wrapper { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Checkout header -------------------------------------------------------- */
.co-head { padding: clamp(24px, 3.5vw, 48px) 0 0; }
.co-head__inner { display: flex; flex-direction: column; gap: 16px; }
.co-head__title { font-family: var(--font-display); font-size: clamp(48px, 6vw, 88px); line-height: 0.88; }
.co-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: 15px; }
.co-steps li { display: flex; align-items: center; gap: 8px; }
.co-steps__n { width: 28px; height: 28px; border-radius: 50%; border: var(--border); display: flex; align-items: center; justify-content: center; }
.co-steps__n.is-done { background: var(--navy); color: var(--white); border: 0; }

/* Checkout body ---------------------------------------------------------- */
.co-body { padding: clamp(24px, 3.5vw, 48px) 0 clamp(56px, 7vw, 104px); }
.co-form {
	max-width: var(--container); margin: 0 auto; padding: 0 20px;
	display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 4vw, 56px); align-items: start;
}
@media (max-width: 959.98px) { .co-form { grid-template-columns: minmax(0, 1fr); } }
.co-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.co-legend { font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); line-height: 0.95; margin-bottom: 14px; padding: 0; }
.co-details {
	margin: 0; padding: 0; border: 0; min-width: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 639.98px) { .co-details { grid-template-columns: minmax(0, 1fr); } }
.co-wide, .co-returning { grid-column: 1 / -1; }
.co-returning { margin: -4px 0 4px; font-size: 15px; }
.co-returning a { font-weight: 700; }
.co-hint { font-weight: 400; font-size: 14px; margin-top: -6px; }
.co-details textarea.input { min-height: 0; }

.co-account { border: var(--border); border-radius: 14px; padding: 4px 18px; display: flex; flex-direction: column; }
.co-account.is-on { border-width: 3px; }
.co-check { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; cursor: pointer; }
.co-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.co-check__text { display: flex; flex-direction: column; }
.co-check__title { font-weight: 700; }
.co-check__desc { font-size: 15px; }
.co-password { padding: 0 0 16px; }

.co-pay { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.co-pay__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.co-pay__list li { margin: 0; }
.pay-opt {
	display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
	border: 1.5px solid rgba(20, 33, 61, 0.3); border-radius: 14px; cursor: pointer;
}
.pay-opt:has(input:checked) { border: 3px solid var(--navy); }
.pay-opt input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.pay-opt__text { display: flex; flex-direction: column; }
.pay-opt__title { font-weight: 700; }
.pay-opt__desc { font-size: 15px; }
.payment_box { display: none !important; }

/* Summary aside ---------------------------------------------------------- */
.co-summary { position: sticky; top: 24px; border: var(--border); border-radius: 24px; overflow: hidden; }
.co-review__head { background: var(--yellow); padding: 18px 22px; display: flex; justify-content: space-between; align-items: baseline; }
.co-review__title { font-family: var(--font-display); font-size: 36px; line-height: 0.95; }
.co-review__count { font-weight: 600; }
.co-lines { list-style: none; margin: 0; padding: 4px 22px; }
.co-line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.co-line__thumb { display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--yellow); }
.co-line__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.co-line__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.co-line__top { display: flex; justify-content: space-between; gap: 8px; }
.co-line__name { font-weight: 700; }
.co-line__total { font-weight: 700; color: var(--red); white-space: nowrap; }
.co-line__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.co-line .stepper__btn { font-size: 17px; }
.co-line .stepper__val { min-width: 24px; }
.co-line__remove {
	min-height: 44px; padding: 0 8px; border: 0; background: transparent; text-decoration: underline;
	font-size: 14px; color: var(--navy); cursor: pointer;
}
.co-totals { margin: 0; padding: 16px 22px 0; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.co-totals dd { margin: 0; }
.co-totals .co-totals__total { padding-top: 8px; border-top: 1px solid rgba(20, 33, 61, 0.2); }
.co-totals dt.co-totals__total { font-weight: 700; font-size: 18px; }
.co-totals__val { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--red); }
.co-summary__foot { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.co-submit { min-height: 60px; font-size: 18px; width: 100%; }
.co-terms { margin: 0; font-size: 14px; }
.co-keep { align-self: center; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: 15px; }
.co-form.processing .co-submit { opacity: .7; cursor: progress; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, 0.6) !important; }

/* Thank you -------------------------------------------------------------- */
.ty-hero { position: relative; background: var(--yellow); padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.ty-hero__kite { position: absolute; aspect-ratio: 1 / 1; }
.ty-hero__kite--1 { left: 6%; top: 12%; width: clamp(56px, 7vw, 96px); transform: rotate(-14deg); }
.ty-hero__kite--2 { right: 8%; top: 8%; width: clamp(64px, 8vw, 112px); transform: rotate(10deg); }
.ty-hero__kite--3 { right: 22%; bottom: 10%; width: clamp(40px, 4.4vw, 60px); transform: rotate(-6deg); }
.ty-hero__inner {
	position: relative; max-width: 880px; margin: 0 auto; padding: 0 20px;
	display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.ty-hero__title { font-family: var(--font-display); font-size: clamp(56px, 8vw, 128px); line-height: 0.86; text-wrap: balance; }
.ty-hero__lede { margin: 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; max-width: 30em; }
.ty-ref {
	display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--white);
	border: var(--border); border-radius: 16px; padding: 14px 28px; margin-top: 8px;
}
.ty-ref__label { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.ty-ref__value { font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: 0.04em; }

.ty-body { padding: clamp(40px, 5vw, 80px) 0 clamp(56px, 7vw, 104px); }
.ty-body__grid {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px); align-items: start;
}
@media (max-width: 959.98px) { .ty-body__grid { grid-template-columns: minmax(0, 1fr); } }
.ty-card { border: var(--border); border-radius: 24px; overflow: hidden; }
.ty-card__head { padding: 18px 24px; border-bottom: var(--border); }
.ty-card__title { font-family: var(--font-display); font-size: 36px; line-height: 0.95; }
.order-lines { list-style: none; margin: 0; padding: 4px 24px; }
.order-line {
	display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center;
	padding: 14px 0; border-bottom: 1px solid var(--hair);
}
.order-line__thumb { display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--yellow); }
.order-line__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.order-line__name { display: block; font-weight: 700; }
.order-line__qty { font-size: 15px; }
.order-line__total { font-weight: 700; }
.ty-card__facts { margin: 0; padding: 18px 24px 24px; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
.ty-card__facts dt { font-weight: 700; }
.ty-card__facts dd { margin: 0; }
.ty-card__facts .ty-card__total-label { font-size: 18px; }
.ty-card__total { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--red); }
.ty-next { display: flex; flex-direction: column; gap: 24px; }
.ty-next__title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); line-height: 0.92; }
.ty-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; border-top: var(--border); }
.ty-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--hair-18); }
.ty-steps__n { font-family: var(--font-display); font-size: 48px; line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.ty-steps__text { display: flex; flex-direction: column; gap: 2px; }
.ty-steps__t { font-weight: 700; font-size: 17px; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ty-actions__btn { min-height: 56px; padding: 0 28px; }
.ty-actions__btn--outline { padding: 0 24px; }
.ty-actions__btn--outline:hover { background: transparent; color: var(--navy); }
.ty-actions__btn--outline:active { transform: none; }

/* WooCommerce wraps password inputs and adds its own toggle; the theme has one. */
.password-input { display: contents; }
.show-password-input { display: none !important; }

/* Log in ----------------------------------------------------------------- */
.login-page { display: flex; justify-content: center; min-height: 640px; }
.login__wrap { width: 100%; display: flex; align-items: center; justify-content: center; padding: clamp(32px, 5vw, 72px) 20px; }
.login__card {
	position: relative; width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 22px;
	background: var(--yellow); border: var(--border); border-radius: 24px; padding: clamp(22px, 4vw, 36px);
	box-shadow: var(--shadow-hard); overflow: hidden;
}
.login__head { position: relative; display: flex; flex-direction: column; gap: 6px; }
.login__kite { position: absolute; aspect-ratio: 1 / 1; }
.login__kite--1 { right: 0; top: -6px; width: 56px; transform: rotate(12deg); }
.login__kite--2 { right: 62px; bottom: -4px; width: 30px; transform: rotate(-10deg); }
.login__title { position: relative; font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); line-height: 0.9; }
.login__intro { position: relative; margin: 0; font-weight: 500; max-width: 15em; }
.login__form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.login__pw { position: relative; display: block; }
.login__pw-input { padding: 0 84px 0 16px; }
.login__show {
	position: absolute; right: 6px; top: 6px; height: 44px; padding: 0 12px; border: 0; background: transparent;
	font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: underline; cursor: pointer;
}
.login__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.login__remember { display: flex; align-items: center; gap: 10px; font-weight: 500; min-height: 44px; }
.login__remember input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.login__forgot { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; }
.login__submit { min-height: 60px; font-size: 18px; }
.login__new { border-top: var(--border); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.login__new-title { font-weight: 700; font-size: 16px; }
.login__shop { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.login__card .woocommerce-error, .login__card .woocommerce-message, .login__card .woocommerce-info { margin: 0; }

/* My Account ------------------------------------------------------------- */
.acct-head { background: var(--yellow); padding: clamp(24px, 3.5vw, 48px) 0; }
.acct-head__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.acct-head__titles { display: flex; flex-direction: column; gap: 8px; }
.acct-head__title { font-family: var(--font-display); font-size: clamp(44px, 5.6vw, 80px); line-height: 0.88; }
.acct-head__since { font-weight: 600; }
.acct-body { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 104px); }
.acct-body__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.acct-nav { display: flex; flex-direction: column; gap: 6px; overflow-x: auto; border: var(--border); border-radius: 20px; padding: 8px; }
.acct-nav__link {
	flex: none; display: flex; align-items: center; text-align: left; min-height: 48px; padding: 0 16px;
	border-radius: 12px; color: var(--navy); font-weight: 700; font-size: 16px; white-space: nowrap; text-decoration: none;
}
.acct-nav__link:hover { color: var(--navy); background: rgba(20, 33, 61, 0.06); }
.acct-nav__link[aria-current="page"], .acct-nav__link[aria-current="page"]:hover { background: var(--navy); color: var(--white); }
.acct-nav__link--logout { text-decoration: underline; border-radius: 0; }
.acct-nav__link--logout:hover { background: transparent; }
@media (max-width: 859.98px) {
	.acct-body__grid { grid-template-columns: minmax(0, 1fr); }
	.acct-nav { flex-direction: row; }
}
.acct-content { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.acct-h2 { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 44px); line-height: 0.95; }
.acct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.acct-card { border: var(--border); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.acct-card--navy { background: var(--navy); color: var(--white); border: 0; }
.acct-card__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.acct-card--navy .acct-card__eyebrow { color: var(--yellow); }
.acct-card__title { margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 0.95; }
.acct-card__text { margin: 0; }
.acct-card__btn {
	align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	border-radius: var(--r-pill); border: 2px solid var(--white); color: var(--white); font-weight: 700; text-decoration: none;
}
.acct-card__btn:hover { color: var(--navy); background: var(--white); }
.acct-card__cta { align-self: flex-start; min-height: 48px; padding: 0 22px; }
.acct-orders { display: flex; flex-direction: column; gap: 14px; }
.acct-table-wrap { overflow-x: auto; border: var(--border); border-radius: 16px; }
.acct-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.acct-table thead tr { background: var(--yellow); text-align: left; }
.acct-table th, .acct-table td { padding: 14px 16px; text-align: left; }
.acct-table tbody tr { border-top: 1px solid var(--hair-18); }
.acct-table tbody th { font-weight: 700; }
.acct-table .num { text-align: right; }
.status-pill { display: inline-block; border-radius: var(--r-pill); padding: 2px 12px; font-size: 14px; font-weight: 700; }
.status-pill--lg { padding: 4px 14px; font-size: 16px; }
.acct-view {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
	border: var(--border); background: var(--white); color: var(--navy); font-weight: 700; text-decoration: none;
}
.acct-empty { margin: 0; }

.order-card { border: var(--border); border-radius: 20px; overflow: hidden; }
.order-card__head { background: var(--yellow); padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.order-card__title { margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 0.95; }
.order-card__date { font-weight: 600; }
.order-lines--card { padding: 8px 24px; }
.order-card__foot { padding: 16px 24px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.order-card__note { font-size: 15px; }
.order-card__total { font-family: var(--font-display); font-size: 32px; color: var(--red); }
.order-card__updates { padding: 0 24px 16px; }
.order-card__updates-title { font-family: var(--font-display); font-size: 28px; line-height: 1; margin-bottom: 8px; }
.order-card__updates ol { margin: 0; padding-left: 1.2em; }
.order-card__back { padding: 0 24px 24px; }
.order-card__back-btn {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill);
	border: var(--border); background: var(--white); color: var(--navy); font-weight: 700; text-decoration: none;
}

.acct-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; max-width: 720px; }
.acct-form__wide { grid-column: 1 / -1; }
.acct-form__save { justify-self: start; min-height: 56px; padding: 0 32px; font-size: 17px; }

.co-empty {
	max-width: 640px; margin: 0 auto; padding: 40px 20px;
	display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.co-empty__kite { width: 110px; height: 110px; transform: rotate(-10deg); }
.co-empty__title { margin: 0; font-family: var(--font-display); font-size: 44px; line-height: 0.95; }
.co-empty__text { margin: 0; font-size: 17px; }
.co-empty__btn { min-height: 56px; padding: 0 32px; }
