/* =========================================================
   Świąteczne Cuda – panel klienta (My Account)
   ========================================================= */

/* Page chrome: flush banner under sticky header (account + wishlist) */
body.sc-account-page .content-area,
body.sc-account-wishlist-page .content-area,
body.sc-account-page #content,
body.sc-account-wishlist-page #content,
body.sc-account-page .site-main,
body.sc-account-wishlist-page .site-main,
body.sc-account-page .content-container,
body.sc-account-wishlist-page .content-container,
body.sc-account-page .content-wrap,
body.sc-account-wishlist-page .content-wrap {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.sc-account-page .entry-hero,
body.sc-account-page .page-hero-section,
body.sc-account-page .entry-header,
body.sc-account-page .woocommerce-products-header,
body.sc-account-page .entry-title,
body.sc-account-page .page-title,
body.sc-account-wishlist-page .entry-hero,
body.sc-account-wishlist-page .page-hero-section,
body.sc-account-wishlist-page .entry-header,
body.sc-account-wishlist-page .woocommerce-products-header,
body.sc-account-wishlist-page .entry-title,
body.sc-account-wishlist-page .page-title {
	display: none !important;
}

/* Account: full unboxed shell (sidebar layout below hero) */
body.sc-account-page .content-bg,
body.sc-account-page .entry.single-entry,
body.sc-account-page .entry-content-wrap {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-radius: 0 !important;
}

body.sc-account-page .entry-content-wrap,
body.sc-account-page .content-container {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
}

body.sc-account-page .entry-content,
body.sc-account-page article.entry {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.sc-account-page .sc-account-hero,
body.sc-account-wishlist-page .sc-account-hero {
	margin-top: 0 !important;
}

/*
 * Wishlist: transparent outer shell so hero sits flush under menu,
 * but content below stays in a white boxed card (.sc-wishlist-like-cart__wrap).
 */
body.sc-account-wishlist-page .content-bg,
body.sc-account-wishlist-page .entry.single-entry,
body.sc-account-wishlist-page .entry-content-wrap {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	margin-top: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	max-width: none !important;
}

body.sc-account-wishlist-page .entry-content,
body.sc-account-wishlist-page article.entry {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.sc-account-page .entry-content > .woocommerce,
body.sc-account-page .woocommerce {
	display: block !important;
	max-width: none !important;
	width: 100% !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
}

body.sc-account-page .woocommerce::before,
body.sc-account-page .woocommerce::after {
	display: none !important;
	content: none !important;
}

/* Shared buttons used on account CTA / newsletter */
.sc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.85rem 1.35rem;
	border-radius: 4px;
	font-family: var(--sc-font-sans);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.sc-btn--beige {
	background: var(--sc-beige) !important;
	color: var(--sc-green) !important;
}

.sc-btn--beige:hover {
	background: var(--sc-beige-dark) !important;
	color: var(--sc-green-dark) !important;
}

.sc-btn--green {
	background: var(--sc-green) !important;
	color: var(--sc-white) !important;
}

.sc-btn--green:hover {
	background: var(--sc-green-dark) !important;
	color: var(--sc-white) !important;
}

.sc-btn--outline {
	background: transparent !important;
	border: 1px solid rgba(31, 77, 58, 0.4) !important;
	color: var(--sc-green) !important;
}

.sc-btn--outline:hover {
	background: var(--sc-cream) !important;
	border-color: var(--sc-green) !important;
	color: var(--sc-green-dark) !important;
}

/* ----- Hero ----- */
.sc-account-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: clamp(240px, 32vw, 340px);
	display: flex;
	align-items: center;
	color: var(--sc-white);
	background:
		linear-gradient(105deg, rgba(22, 56, 42, 0.88) 0%, rgba(22, 56, 42, 0.55) 48%, rgba(22, 56, 42, 0.25) 100%),
		var(--sc-account-hero-image, none) center / cover no-repeat;
	overflow: hidden;
}

.sc-account-hero__inner {
	width: min(1180px, calc(100% - 2.5rem));
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 0.55fr);
	align-items: center;
	gap: 1.5rem;
	padding: 2.75rem 0;
}

.sc-account-hero__inner:not(:has(.sc-account-hero__script)) {
	grid-template-columns: minmax(0, 1fr);
}

.sc-account-hero__title {
	margin: 0 0 0.45rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(2.4rem, 4.5vw, 3.6rem);
	font-weight: 600;
	line-height: 1.05;
	color: var(--sc-white) !important;
}

.sc-account-hero__eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sc-beige);
}

.sc-account-hero__lead {
	margin: 0;
	max-width: 42ch;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.sc-account-hero__script {
	margin: 0;
	justify-self: end;
	align-self: end;
	max-width: 14ch;
	font-family: var(--sc-font-script);
	font-size: clamp(1.7rem, 2.6vw, 2.35rem);
	line-height: 1.15;
	color: rgba(255, 255, 255, 0.95);
	transform: rotate(-8deg);
	text-align: right;
}

/* ----- Layout shell ----- */
.sc-account {
	width: min(1180px, calc(100% - 2.5rem));
	margin: 2.25rem auto 0;
}

.sc-account__layout {
	display: flex;
	align-items: flex-start;
	gap: 1.75rem;
}

/* Override old theme flex on nav/content – scoped to new shell */
body.sc-account-page .sc-account .woocommerce-MyAccount-navigation,
body.sc-account-page .sc-account-nav {
	flex: 0 0 280px;
	width: 280px;
	min-width: 280px;
	max-width: 280px;
	float: none;
	margin: 0;
	padding: 0;
	background: var(--sc-white);
	border: 1px solid rgba(31, 77, 58, 0.1);
	border-radius: 12px;
	overflow: hidden;
	box-sizing: border-box;
}

body.sc-account-page .sc-account__content,
body.sc-account-page .sc-account .woocommerce-MyAccount-content {
	flex: 1 1 auto;
	min-width: 0;
	float: none;
	margin: 0;
	padding: 1.75rem 1.85rem 2rem;
	background: var(--sc-white);
	border: 1px solid rgba(31, 77, 58, 0.1);
	border-radius: 12px;
	box-sizing: border-box;
}

/* ----- Sidebar profile ----- */
.sc-account-nav__profile {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1.25rem 1.15rem 1.15rem;
	background: #f3f1ec;
	border-bottom: 1px solid rgba(31, 77, 58, 0.08);
}

.sc-account-nav__avatar {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--sc-beige);
	display: grid;
	place-items: center;
	color: var(--sc-green);
}

.sc-account-nav__avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.sc-account-nav__avatar-fallback svg {
	width: 26px;
	height: 26px;
}

.sc-account-nav__hello {
	margin: 0 0 0.25rem;
	font-family: var(--sc-font-serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--sc-green);
	line-height: 1.25;
}

.sc-account-nav__edit {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--sc-muted);
	text-decoration: none;
}

.sc-account-nav__edit:hover {
	color: var(--sc-green);
}

/* ----- Sidebar links ----- */
.sc-account-nav__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0.5rem 0 !important;
}

.sc-account-nav__list li {
	margin: 0 !important;
	border-bottom: 0 !important;
}

.sc-account-nav__list a {
	display: flex !important;
	align-items: center;
	gap: 0.75rem;
	width: 100% !important;
	padding: 0.78rem 1.15rem !important;
	color: var(--sc-text) !important;
	text-decoration: none;
	font-family: var(--sc-font-sans) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	transition: background 0.15s ease, color 0.15s ease;
}

.sc-account-nav__icon {
	display: inline-flex;
	flex: 0 0 20px;
	color: var(--sc-green);
}

.sc-account-nav__list a:hover {
	background: var(--sc-cream) !important;
	color: var(--sc-green) !important;
}

.sc-account-nav__list li.is-active a,
.sc-account-nav__list li.is-active a:hover {
	background: var(--sc-green) !important;
	color: var(--sc-white) !important;
}

.sc-account-nav__list li.is-active .sc-account-nav__icon {
	color: var(--sc-white);
}

.sc-account-nav__list li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 0.35rem;
	border-top: 1px solid rgba(31, 77, 58, 0.08);
	padding-top: 0.35rem;
}

/* ----- Dashboard ----- */
.sc-account-dash__greeting {
	margin: 0 0 0.4rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(1.7rem, 2.4vw, 2.15rem);
	font-weight: 600;
	color: var(--sc-green);
}

.sc-account-dash__lead {
	margin: 0 0 2.25rem;
	max-width: 58ch;
	color: var(--sc-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.sc-account-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.sc-account-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.15rem 1.1rem 1.2rem;
	background: #faf8f4;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 10px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sc-account-card:hover {
	border-color: rgba(31, 77, 58, 0.28);
	box-shadow: 0 6px 18px rgba(22, 56, 42, 0.06);
}

.sc-account-card__icon {
	display: inline-flex;
	margin-bottom: 0.75rem;
	color: #b89a5e;
}

.sc-account-card__title {
	margin: 0 0 0.35rem;
	font-family: var(--sc-font-serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--sc-green);
}

.sc-account-card__text {
	margin: 0 0 0.9rem;
	flex: 1;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--sc-muted);
}

.sc-account-card__link {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--sc-green);
}

.sc-account-card__link:hover {
	color: var(--sc-red);
}

/* ----- Orders table ----- */
.sc-account-orders__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.85rem;
}

.sc-account-orders__title {
	margin: 0;
	font-family: var(--sc-font-serif);
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--sc-green);
}

.sc-account-orders__all {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--sc-green);
	white-space: nowrap;
}

.sc-account-orders__all:hover {
	color: var(--sc-red);
}

.sc-account-orders__empty {
	margin: 0;
	padding: 1.25rem;
	background: var(--sc-cream);
	border-radius: 8px;
	color: var(--sc-muted);
}

.sc-account-orders__table-wrap {
	overflow-x: auto;
	border: 1px solid rgba(31, 77, 58, 0.1);
	border-radius: 10px;
}

.sc-account-orders__table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
}

.sc-account-orders__table th,
.sc-account-orders__table td {
	padding: 0.95rem 1rem !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(31, 77, 58, 0.08) !important;
	text-align: left;
	vertical-align: middle;
	background: transparent !important;
}

.sc-account-orders__table thead th {
	background: #f3f1ec !important;
	font-family: var(--sc-font-sans) !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sc-muted) !important;
}

.sc-account-orders__table tbody tr:last-child td {
	border-bottom: 0 !important;
}

.sc-account-orders__number {
	font-weight: 700;
	color: var(--sc-green);
	text-decoration: none;
}

.sc-account-orders__number:hover {
	color: var(--sc-red);
}

.sc-account-status {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.sc-account-status--done {
	background: #e4f0e8;
	color: #1f4d3a;
}

.sc-account-status--ship {
	background: #e3eef8;
	color: #2a5f8f;
}

.sc-account-status--hold {
	background: #f5edd9;
	color: #8a6a2a;
}

.sc-account-status--cancel {
	background: #f6e4e1;
	color: #a84a3b;
}

.sc-account-orders__details {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(31, 77, 58, 0.35);
	border-radius: 4px;
	background: transparent !important;
	color: var(--sc-green) !important;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none !important;
}

.sc-account-orders__details:hover {
	background: var(--sc-cream) !important;
	border-color: var(--sc-green);
	color: var(--sc-green-dark) !important;
}

/* Other account endpoints: keep heading rhythm */
.sc-account__content > h2,
.sc-account__content .woocommerce-order-details__title,
.sc-account__content .woocommerce-Address-title,
.sc-account__content .woocommerce-column__title {
	font-family: var(--sc-font-serif);
	color: var(--sc-green);
}

.sc-account__content .woocommerce-orders-table .woocommerce-button.view,
.sc-account__content a.woocommerce-button {
	background: transparent !important;
	border: 1px solid rgba(31, 77, 58, 0.35) !important;
	color: var(--sc-green) !important;
	font-weight: 600 !important;
}

.sc-account__content .woocommerce-orders-table .woocommerce-button.view:hover,
.sc-account__content a.woocommerce-button:hover {
	background: var(--sc-cream) !important;
}

/* ----- Contact CTA ----- */
.sc-account-cta {
	width: 100vw;
	max-width: 100vw;
	margin: 2.75rem 0 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-bottom: 0 !important;
	background: var(--sc-green);
	color: var(--sc-white);
}

.sc-account-cta__inner {
	width: min(1180px, calc(100% - 2.5rem));
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.2fr) minmax(140px, 0.55fr);
	align-items: center;
	gap: 1.75rem;
	padding: 2.25rem 0;
}

.sc-account-cta__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 220px;
	object-fit: cover;
	border-radius: 10px;
}

.sc-account-cta__title {
	margin: 0 0 0.55rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 600;
	color: var(--sc-white) !important;
}

.sc-account-cta__text {
	margin: 0 0 1.25rem;
	max-width: 40ch;
	font-size: 1.02rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.sc-account-cta__script {
	margin: 0;
	font-family: var(--sc-font-script);
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	line-height: 1.2;
	color: var(--sc-beige);
	transform: rotate(-8deg);
	text-align: right;
}

/* ----- Newsletter ----- */
.sc-account-newsletter {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 3rem 1.25rem 3.5rem;
	background: #f0eeea;
	text-align: center;
}

.sc-account-newsletter__inner {
	width: min(640px, 100%);
	margin-inline: auto;
}

.sc-account-newsletter__title {
	margin: 0 0 0.5rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(1.8rem, 3vw, 2.3rem);
	font-weight: 600;
	color: var(--sc-green);
}

.sc-account-newsletter__text {
	margin: 0 0 1.35rem;
	color: var(--sc-muted);
}

.sc-account-newsletter__form {
	display: flex;
	gap: 0.6rem;
	align-items: stretch;
	max-width: 520px;
	margin-inline: auto;
}

.sc-account-newsletter__input {
	flex: 1;
	min-width: 0;
	padding: 0.9rem 1rem !important;
	border: 1px solid #d8d0c4 !important;
	border-radius: 4px !important;
	background: var(--sc-white) !important;
	font: inherit;
}

.sc-account-page .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* ----- Shared panel (right column) ----- */
.sc-panel__head {
	margin-bottom: 1.5rem;
}

.sc-panel__head--row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.sc-panel__back {
	margin: 0 0 0.65rem;
}

.sc-panel__back a {
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--sc-muted);
}

.sc-panel__back a:hover {
	color: var(--sc-green);
}

.sc-panel__title {
	margin: 0 0 0.4rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(1.7rem, 2.4vw, 2.15rem);
	font-weight: 600;
	color: var(--sc-green);
}

.sc-panel__lead {
	margin: 0;
	max-width: 58ch;
	color: var(--sc-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.sc-panel__empty {
	margin: 0;
	padding: 1.25rem 1.35rem;
	background: var(--sc-cream);
	border-radius: 8px;
	color: var(--sc-muted);
}

/* ----- Addresses ----- */
.sc-addr-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
	margin-bottom: 1.15rem;
}

.sc-addr-card {
	display: flex;
	flex-direction: column;
	background: #faf8f4;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 10px;
	overflow: hidden;
}

.sc-addr-card__top {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1.1rem 1.15rem 0.75rem;
}

.sc-addr-card__icon {
	display: inline-flex;
	color: #b89a5e;
	margin-top: 0.15rem;
}

.sc-addr-card__titles {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.sc-addr-card__title {
	margin: 0;
	font-family: var(--sc-font-serif);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--sc-green);
}

.sc-addr-card__badge {
	display: inline-flex;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #e4f0e8;
	color: var(--sc-green);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sc-addr-card__edit {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.7rem;
	border: 1px solid rgba(31, 77, 58, 0.3);
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--sc-green);
	text-decoration: none;
	white-space: nowrap;
}

.sc-addr-card__edit:hover {
	background: var(--sc-cream);
	color: var(--sc-green-dark);
}

.sc-addr-card__body {
	flex: 1;
	padding: 0 1.15rem 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--sc-text);
}

.sc-addr-card__body p {
	margin: 0 0 0.2rem;
}

.sc-addr-card__name {
	font-weight: 700;
	color: var(--sc-green);
}

.sc-addr-card__empty {
	color: var(--sc-muted);
	font-style: italic;
}

.sc-addr-card__foot {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin-top: auto;
	padding: 0.85rem 1.15rem;
	border-top: 1px solid rgba(31, 77, 58, 0.08);
	background: rgba(255, 255, 255, 0.55);
	font-size: 0.85rem;
	font-style: italic;
	color: var(--sc-muted);
	line-height: 1.4;
}

.sc-addr-card__foot-icon {
	display: inline-flex;
	color: #b89a5e;
	flex: 0 0 auto;
}

.sc-addr-add {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem 1.35rem;
	border: 1.5px dashed rgba(31, 77, 58, 0.28);
	border-radius: 10px;
	background: #faf8f4;
}

.sc-addr-add__copy {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.sc-addr-add__plus {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--sc-beige);
	color: var(--sc-green);
	flex: 0 0 auto;
}

.sc-addr-add__title {
	margin: 0 0 0.35rem;
	font-family: var(--sc-font-serif);
	font-size: 1.25rem;
	color: var(--sc-green);
}

.sc-addr-add__text {
	margin: 0 0 1rem;
	color: var(--sc-muted);
	font-size: 0.95rem;
}

.sc-addr-add__script {
	margin: 0;
	max-width: 12ch;
	font-family: var(--sc-font-script);
	font-size: 1.55rem;
	line-height: 1.15;
	color: var(--sc-green);
	transform: rotate(-6deg);
	text-align: right;
}

/* ----- Account details form ----- */
.sc-account-form__section {
	margin-bottom: 1.75rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(31, 77, 58, 0.1);
}

.sc-account-form__section-title {
	margin: 0 0 0.3rem;
	font-family: var(--sc-font-serif);
	font-size: 1.25rem;
	color: var(--sc-green);
}

.sc-account-form__section-lead {
	margin: 0 0 1.1rem;
	color: var(--sc-muted);
	font-size: 0.92rem;
}

.sc-account-form__grid {
	display: grid;
	gap: 1rem 1.15rem;
}

.sc-account-form__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-account-form__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sc-account-form .form-row {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	float: none !important;
}

.sc-account-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--sc-text);
}

.sc-account-form .required {
	color: var(--sc-red);
}

.sc-account-form .input-text {
	width: 100%;
	padding: 0.8rem 0.9rem !important;
	background: #f3f1ec !important;
	border: 1px solid #d8d0c4 !important;
	border-radius: 5px !important;
}

.sc-account-form__hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8rem;
	color: var(--sc-muted);
}

.sc-password-field__wrap {
	position: relative;
	display: block;
}

.sc-password-field__wrap .input-text {
	padding-right: 2.75rem !important;
}

.sc-password-toggle {
	position: absolute;
	top: 50%;
	right: 0.55rem;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--sc-muted) !important;
	cursor: pointer;
	box-shadow: none !important;
}

.sc-password-toggle:hover {
	color: var(--sc-green) !important;
	background: transparent !important;
}

.sc-account-form__actions {
	margin: 0.5rem 0 0;
}

/* Edit address (WC form) inside panel */
.sc-account__content .woocommerce-address-fields .form-row input.input-text,
.sc-account__content .woocommerce-address-fields .form-row select {
	background: #f3f1ec !important;
}

.sc-account__content .woocommerce-Address-title,
.sc-account__content > h3 {
	font-family: var(--sc-font-serif);
	color: var(--sc-green);
}

/* ----- Orders toolbar + latest ----- */
.sc-orders-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(140px, 1fr) minmax(140px, 1fr);
	gap: 0.75rem;
	margin-bottom: 1.15rem;
}

.sc-orders-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0 0.85rem;
	background: #f3f1ec;
	border: 1px solid #d8d0c4;
	border-radius: 5px;
}

.sc-orders-search__icon {
	display: inline-flex;
	color: var(--sc-muted);
}

.sc-orders-search__input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	background: transparent !important;
	padding: 0.8rem 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.sc-orders-select {
	width: 100%;
	padding: 0.8rem 0.85rem !important;
	background: #f3f1ec !important;
	border: 1px solid #d8d0c4 !important;
	border-radius: 5px !important;
	font: inherit;
	color: var(--sc-text);
}

.sc-latest-order {
	margin-top: 1.5rem;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 10px;
	overflow: hidden;
	background: #faf8f4;
}

.sc-latest-order__tag {
	display: inline-block;
	margin: 1rem 0 0 1.15rem;
	padding: 0.3rem 0.7rem;
	background: #d4c5a9;
	color: var(--sc-green-dark);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 4px;
}

.sc-latest-order__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 1.15rem;
	align-items: center;
	padding: 1rem 1.15rem 1.25rem;
}

.sc-latest-order__media img,
.sc-latest-order__img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.sc-latest-order__placeholder {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	background: var(--sc-beige);
	color: var(--sc-green);
}

.sc-latest-order__number {
	margin: 0 0 0.25rem;
	font-weight: 700;
	color: var(--sc-green);
}

.sc-latest-order__meta p {
	margin: 0 0 0.2rem;
	font-size: 0.92rem;
	color: var(--sc-muted);
}

.sc-latest-order__total {
	font-weight: 700 !important;
	color: var(--sc-text) !important;
}

.sc-latest-order__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
}

/* ----- Settings ----- */
.sc-settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
	margin-bottom: 1.25rem;
}

.sc-settings-card {
	padding: 1.2rem 1.2rem 1.25rem;
	background: #faf8f4;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 10px;
}

.sc-settings-card__title {
	margin: 0 0 1rem;
	font-family: var(--sc-font-serif);
	font-size: 1.2rem;
	color: var(--sc-green);
}

.sc-settings-toggles,
.sc-settings-radios {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sc-settings-toggles li + li,
.sc-settings-radios li + li {
	margin-top: 0.85rem;
}

.sc-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
}

.sc-toggle__label {
	font-size: 0.95rem;
	color: var(--sc-text);
}

.sc-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sc-toggle__ui {
	position: relative;
	flex: 0 0 44px;
	width: 44px;
	height: 24px;
	border-radius: 999px;
	background: #d5d0c8;
	transition: background 0.2s ease;
}

.sc-toggle__ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease;
}

.sc-toggle input:checked + .sc-toggle__ui {
	background: var(--sc-green);
}

.sc-toggle input:checked + .sc-toggle__ui::after {
	transform: translateX(20px);
}

.sc-settings-callout {
	margin-top: 1rem;
	padding: 0.95rem 1rem;
	background: #ebe2d2;
	border-radius: 8px;
}

.sc-settings-callout strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--sc-green);
}

.sc-settings-callout p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--sc-muted);
	line-height: 1.45;
}

.sc-radio {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	cursor: pointer;
}

.sc-radio input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sc-radio__ui {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 0.15rem;
	border: 1.5px solid rgba(31, 77, 58, 0.4);
	border-radius: 50%;
	position: relative;
}

.sc-radio input:checked + .sc-radio__ui {
	border-color: var(--sc-green);
}

.sc-radio input:checked + .sc-radio__ui::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--sc-green);
}

.sc-radio__copy {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.sc-radio__copy strong {
	font-size: 0.95rem;
	color: var(--sc-text);
}

.sc-radio__copy small {
	font-size: 0.82rem;
	color: var(--sc-muted);
}

.sc-settings-policy {
	margin: 1rem 0 0;
	font-size: 0.88rem;
}

.sc-settings-security {
	padding: 1.2rem;
	background: #faf8f4;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 10px;
	margin-bottom: 1.25rem;
}

.sc-settings-security__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
}

.sc-settings-security__row + .sc-settings-security__row {
	border-top: 1px solid rgba(31, 77, 58, 0.1);
}

.sc-settings-security__row strong {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--sc-green);
}

.sc-settings-security__row p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--sc-muted);
}

.sc-settings-form__actions {
	margin: 0;
	display: flex;
	justify-content: flex-end;
}

/* ----- Logout confirm ----- */
.sc-panel--logout {
	min-height: 360px;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 1.5rem 0.5rem 2rem;
}

.sc-logout__icon {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: #f0ebe3;
	color: #b89a5e;
}

.sc-logout__icon svg {
	width: 28px;
	height: 28px;
}

.sc-logout__title {
	margin: 0 0 0.75rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(1.6rem, 2.5vw, 2rem);
	color: var(--sc-green);
}

.sc-logout__text {
	margin: 0 auto 1.5rem;
	max-width: 46ch;
	color: var(--sc-muted);
	line-height: 1.55;
}

.sc-logout__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
}

.sc-logout__thanks {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.sc-logout__line {
	display: block;
	width: 64px;
	height: 1px;
	background: rgba(31, 77, 58, 0.25);
}

.sc-logout__heart {
	color: #b89a5e;
	font-size: 1rem;
}

.sc-logout__note {
	margin: 0 0 0.75rem;
	font-family: var(--sc-font-script);
	font-size: 1.35rem;
	color: var(--sc-green);
}

.sc-logout__tree {
	margin: 0;
	color: var(--sc-green);
	opacity: 0.7;
}

/* ----- Wishlist ----- */
.sc-wishlist-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.sc-wishlist-count {
	margin: 0;
	color: var(--sc-muted);
	font-size: 0.95rem;
}

.sc-wishlist-count strong {
	color: var(--sc-green);
}

.sc-wishlist-toolbar .sc-orders-select {
	max-width: 220px;
}

.sc-wishlist-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
}

.sc-wishlist-card {
	display: flex;
	flex-direction: column;
}

.sc-wishlist-card__media {
	position: relative;
	display: block;
	margin-bottom: 0.75rem;
	border-radius: 10px;
	overflow: hidden;
	background: var(--sc-cream);
	aspect-ratio: 1;
}

.sc-wishlist-card__media img,
.sc-wishlist-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sc-wishlist-card__heart {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--sc-red);
}

.sc-wishlist-card__title {
	margin: 0 0 0.35rem;
	font-family: var(--sc-font-serif);
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.3;
}

.sc-wishlist-card__title a {
	color: var(--sc-green);
	text-decoration: none;
}

.sc-wishlist-card__title a:hover {
	color: var(--sc-red);
}

.sc-wishlist-card__price {
	margin: 0 0 0.85rem;
	font-weight: 700;
	color: var(--sc-green);
}

.sc-wishlist-card__btn {
	width: 100%;
	margin-top: auto;
}

.sc-wishlist-quote {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 2rem 0 0;
	color: var(--sc-green);
}

.sc-wishlist-quote__text {
	font-family: var(--sc-font-script);
	font-size: 1.45rem;
}

.sc-wishlist-share svg {
	width: 16px;
	height: 16px;
}

/* ----- Wishlist full-bleed color bands ----- */
.sc-wishlist-main-band,
.sc-new-products__products-band {
	background: #ffffff;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	padding: 2rem 0 2.25rem;
}

.sc-new-products__head-band {
	background: #f9f7f2;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	padding: 1.35rem 0 1.15rem;
}

.sc-wishlist-main-band__inner,
.sc-new-products__inner {
	width: min(1180px, calc(100% - 2.5rem));
	margin-inline: auto;
	box-sizing: border-box;
}

body.sc-account-wishlist-page .sc-wishlist-body,
body.sc-account-page .sc-panel--wishlist {
	background: transparent !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.sc-account-page .sc-panel--wishlist {
	margin: 0 calc(-1.85rem) -2rem;
	width: calc(100% + 3.7rem);
	max-width: none;
}

body.sc-account-wishlist-page .sc-wishlist-main-band .tinv-wishlist,
body.sc-account-wishlist-page .sc-wishlist-main-band .cart-empty,
body.sc-account-wishlist-page .sc-wishlist-main-band .woocommerce-info {
	text-align: center;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.sc-account-wishlist-page .sc-wishlist-main-band .button,
body.sc-account-wishlist-page .sc-wishlist-main-band a.button {
	display: inline-flex !important;
	margin-top: 0.85rem;
}

.sc-panel--wishlist .sc-panel__empty {
	background: transparent !important;
	padding: 1.5rem 0 !important;
	text-align: center;
}

body.sc-account-wishlist-page .sc-cart-new-products li.product,
body.sc-account-page .sc-cart-new-products li.product,
.sc-wishlist-body .sc-cart-new-products li.product,
.sc-panel--wishlist .sc-cart-new-products li.product {
	background: #ffffff !important;
	padding: 0 !important;
	border-radius: 2px !important;
	box-shadow:
		0 4px 10px rgba(22, 56, 42, 0.05),
		0 14px 32px rgba(22, 56, 42, 0.1) !important;
}

body.sc-wishlist-like-cart .sc-cart-new-products li.product,
body.sc-wishlist-like-cart .sc-new-products li.product {
	background: #ffffff !important;
	box-shadow:
		0 4px 10px rgba(22, 56, 42, 0.05),
		0 14px 32px rgba(22, 56, 42, 0.1) !important;
}

body.sc-account-wishlist-page .sc-cart-new-products .product-details,
body.sc-account-wishlist-page .sc-cart-new-products .product-details-filled,
body.sc-account-page .sc-cart-new-products .product-details,
body.sc-account-page .sc-cart-new-products .product-details-filled,
.sc-wishlist-body .sc-cart-new-products .product-details,
.sc-wishlist-body .sc-cart-new-products .product-details-filled,
.sc-panel--wishlist .sc-cart-new-products .product-details,
.sc-panel--wishlist .sc-cart-new-products .product-details-filled {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	background: transparent !important;
	margin: 0 !important;
	width: 100% !important;
}

/* Wishlist: center details plate; kill width:100% push to the right */
body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci .product-details,
body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci .product-details-filled,
body.sc-wishlist-like-cart .sc-cart-new-products.sc-wishlist-nasze-nowosci .product-details,
body.sc-wishlist-like-cart .sc-cart-new-products.sc-wishlist-nasze-nowosci .product-details-filled {
	background: #ffffff !important;
	left: 0.65rem !important;
	right: auto !important;
	width: calc(100% - 1.3rem) !important;
	max-width: calc(100% - 1.3rem) !important;
	margin: 0 !important;
	padding: 0.45rem 0.6rem 0.55rem !important;
	box-shadow: none !important;
	filter: none !important;
	border-radius: 2px !important;
	box-sizing: border-box !important;
}

/* Duplicate "Lista życzeń" under hero (Kadence / Gutenberg / TI).
   Selectors work even if body class is missing – rely on our chrome markup. */
.sc-account-hero + h1,
.sc-account-hero + h2,
.sc-account-hero + h3,
.sc-account-hero + .wp-block-heading,
.sc-account-hero + .entry-header,
.sc-account-hero + .sc-wishlist-body > h1:first-child,
.sc-account-hero + .sc-wishlist-body > h2:first-child,
.sc-account-hero + .sc-wishlist-body > h3:first-child,
.sc-account-hero + .sc-wishlist-body > .wp-block-heading:first-child,
.sc-wishlist-body > h1:first-child,
.sc-wishlist-body > h2:first-child,
.sc-wishlist-body > h3:first-child,
.sc-wishlist-body > .wp-block-heading:first-child,
.sc-wishlist-body .sc-wishlist-main-band__inner > h1:first-child,
.sc-wishlist-body .sc-wishlist-main-band__inner > h2:first-child,
.sc-wishlist-body .tinv-header,
.sc-wishlist-body .tinv-header-title,
body.sc-account-wishlist-page .entry-header,
body.sc-account-wishlist-page .entry-title,
body.sc-account-wishlist-page .page-title,
body.sc-account-wishlist-page .kadence-title-container,
body.sc-account-wishlist-page .wp-block-post-title,
body.sc-account-wishlist-page .tinv-header,
body.sc-account-wishlist-page .tinv-header-title,
body.sc-account-wishlist-page .tinv-wishlist > h1,
body.sc-account-wishlist-page .tinv-wishlist > h2 {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

/* ----- Login / register (logged-out) ----- */
body.sc-account-logged-out .u-columns,
body.sc-account-logged-out .woocommerce-form-login,
body.sc-account-logged-out .woocommerce-form-register {
	width: min(1180px, calc(100% - 2.5rem));
	margin-left: auto;
	margin-right: auto;
}

body.sc-account-logged-out .woocommerce-form-login,
body.sc-account-logged-out .woocommerce-form-register {
	margin-top: 2rem;
	margin-bottom: 2.5rem;
}

/* ----- Mobile account tools ----- */
.sc-account-mobile-tools {
	display: none;
}

@media (max-width: 1100px) {
	.sc-wishlist-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-account-cta__inner {
		grid-template-columns: 1fr 1.2fr;
	}

	.sc-account-cta__script {
		display: none;
	}

	.sc-account-form__grid--3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.sc-account-hero__inner {
		grid-template-columns: 1fr;
		padding: 2.25rem 0;
	}

	.sc-account-hero__script {
		justify-self: start;
		transform: rotate(-4deg);
		max-width: 18ch;
	}

	.sc-account-mobile-tools {
		display: flex;
		justify-content: flex-end;
		margin: 0 0 0.85rem;
	}

	body.sc-account-ep-dashboard .sc-account-mobile-tools {
		display: none !important;
	}

	.sc-account-mobile-tools .sc-account-card {
		width: min(100%, 280px);
		text-decoration: none;
		color: inherit;
		box-sizing: border-box;
	}

	.sc-account__layout {
		flex-direction: column;
		position: relative;
	}

	body.sc-account-page .sc-account .woocommerce-MyAccount-navigation,
	body.sc-account-page .sc-account-nav {
		display: none !important;
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

	.sc-addr-grid,
	.sc-settings-grid,
	.sc-orders-toolbar,
	.sc-latest-order__inner {
		grid-template-columns: 1fr;
	}

	.sc-addr-add {
		grid-template-columns: 1fr;
	}

	.sc-addr-add__script {
		justify-self: start;
		text-align: left;
	}

	.sc-account-form__grid--2 {
		grid-template-columns: 1fr;
	}

	.sc-latest-order__side {
		align-items: flex-start;
	}

	.sc-settings-security__row {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.sc-account,
	.sc-account-hero__inner,
	.sc-account-cta__inner {
		width: calc(100% - 1.5rem);
	}

	.sc-account-cards {
		grid-template-columns: 1fr 1fr;
	}

	.sc-wishlist-grid {
		grid-template-columns: 1fr;
	}

	.sc-account-cta__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.sc-account-cta__text {
		margin-inline: auto;
	}

	.sc-account-newsletter__form {
		flex-direction: column;
	}

	.sc-account-orders__head,
	.sc-wishlist-toolbar,
	.sc-panel__head--row {
		flex-direction: column;
		align-items: flex-start;
	}

	.sc-wishlist-toolbar .sc-orders-select {
		max-width: none;
		width: 100%;
	}

	.sc-account__content,
	body.sc-account-page .sc-account .woocommerce-MyAccount-content {
		padding: 1.25rem;
	}

	.sc-settings-form__actions {
		justify-content: stretch;
	}

	.sc-settings-form__actions .sc-btn {
		width: 100%;
	}
}
