/* Anivo Toptan Satış — follows the XStore theme settings used on anivopet.com
   (navy #133554 / #003657, blue #004f83, accent pink #ff4880, Fredoka One headings, Inter body). */

.anivo-toptan {
	--at-navy: #133554;
	--at-navy-dark: #003657;
	--at-blue: #004f83;
	--at-pink: #ff4880;
	--at-pink-text: #c8205a; /* brand pink darkened to meet WCAG AA contrast for text */
	--at-text: #4a4a4a;
	--at-muted: #6b6b6b;
	--at-border: #e6e9ee;
	--at-soft: #f4f7fb;
	--at-radius: 10px;
	max-width: 1140px;
	margin: 0 auto 60px;
	color: var(--at-text);
}

.anivo-toptan h2,
.anivo-toptan h3 {
	font-family: "Fredoka One", "Inter", sans-serif;
	font-weight: 400;
	color: var(--at-navy-dark);
	line-height: 1.2;
}

/* Hero */
.anivo-toptan__hero {
	background: linear-gradient(135deg, var(--at-navy) 0%, var(--at-blue) 100%);
	color: #fff;
	border-radius: var(--at-radius);
	padding: 48px 40px;
	margin-bottom: 32px;
}
.anivo-toptan__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}
.anivo-toptan .anivo-toptan__title {
	color: #fff;
	font-size: clamp(28px, 4vw, 40px);
	margin: 0 0 14px;
}
.anivo-toptan__lead {
	max-width: 720px;
	font-size: 17px;
	line-height: 1.6;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
}
.anivo-toptan__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 24px 0 0;
}
/* XStore styles .btn.active with the navy brand colour; on the navy hero use the accent pink instead. */
.anivo-toptan .anivo-toptan__hero .btn.anivo-toptan__btn {
	background-color: var(--at-pink-text) !important;
	color: #fff !important;
}
.anivo-toptan .anivo-toptan__hero .btn.anivo-toptan__btn:hover,
.anivo-toptan .anivo-toptan__hero .btn.anivo-toptan__btn:focus {
	background-color: #a8174a !important;
	color: #fff !important;
}
.anivo-toptan .anivo-toptan__btn--block {
	width: 100%;
}
.anivo-toptan__login-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 16px;
}
.anivo-toptan__form .anivo-toptan__remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	color: var(--at-text);
}
.anivo-toptan__hero .anivo-toptan__btn-secondary {
	color: #fff;
}
.anivo-toptan__btn-secondary {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--at-blue);
}

/* Steps */
.anivo-toptan__steps {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.anivo-toptan__step {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius);
	background: #fff;
}
.anivo-toptan__step h3 {
	font-size: 19px;
	margin: 12px 0 6px;
}
.anivo-toptan__step p {
	margin: 0;
	line-height: 1.55;
}
.anivo-toptan__step-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--at-soft);
	color: var(--at-pink);
	font-family: "Fredoka One", "Inter", sans-serif;
	font-size: 18px;
}

/* Cards and grid */
.anivo-toptan__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 24px;
	align-items: start;
}
.anivo-toptan__grid--single {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}
.anivo-toptan__card {
	background: #fff;
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius);
	padding: 28px;
	margin-bottom: 24px;
	scroll-margin-top: 120px;
}
.anivo-toptan__card h3 {
	font-size: 22px;
	margin: 0 0 8px;
}
.anivo-toptan__card--success {
	border-left: 4px solid #2e9e5b;
	background: #f3fbf6;
}
.anivo-toptan__card--info {
	border-left: 4px solid var(--at-blue);
	background: var(--at-soft);
}
.anivo-toptan__muted {
	color: var(--at-muted);
}
.anivo-toptan__small {
	font-size: 13px;
}
.anivo-toptan__section-title {
	font-size: 26px;
	margin: 8px 0 20px;
}

/* Forms (inherit XStore input styles; only layout and states here) */
.anivo-toptan__form .form-row,
.anivo-toptan .woocommerce-form-login .form-row {
	margin-bottom: 16px;
}
.anivo-toptan__form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--at-navy-dark);
}
.anivo-toptan__form .input-text {
	width: 100%;
}
.anivo-toptan__form .required {
	color: var(--at-pink);
	text-decoration: none;
	border: 0;
}
.anivo-toptan__consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 400;
	line-height: 1.5;
	color: var(--at-text);
}
.anivo-toptan__consent input {
	margin-top: 4px;
	flex: 0 0 auto;
}
.anivo-toptan__hint {
	display: block;
	font-size: 13px;
	color: var(--at-muted);
	margin-top: 4px;
}
.anivo-toptan__field--error .input-text {
	border-color: #c62828;
}
.anivo-toptan__field-error {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #c62828;
}
.anivo-toptan__errors {
	border: 1px solid #f1c0c0;
	background: #fdf2f2;
	color: #8a1f1f;
	border-radius: 6px;
	padding: 14px 18px;
	margin-bottom: 18px;
}
.anivo-toptan__errors ul {
	margin: 6px 0 0 18px;
}
.anivo-toptan__hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.anivo-toptan .anivo-toptan__btn:focus-visible,
.anivo-toptan a:focus-visible,
.anivo-toptan input:focus-visible {
	outline: 3px solid var(--at-pink);
	outline-offset: 2px;
}

/* Wholesale price (product cards, single product, quick view, search) */
.anivo-toptan-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
}
.anivo-toptan-price__label {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #133554;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	vertical-align: middle;
}
.anivo-toptan-price__was del {
	color: #8a8a8a;
	font-size: 0.85em;
	font-weight: 400;
}

/* Notices and entry points */
.anivo-toptan-notice {
	border-left: 4px solid #133554;
	background: #f4f7fb;
	color: #133554;
	padding: 12px 16px;
	margin: 0 0 20px;
	border-radius: 4px;
	font-weight: 500;
}
.anivo-toptan-notice a {
	font-weight: 700;
	color: #004f83;
}
.anivo-toptan-login-hint {
	margin: 14px 0 0;
	padding-top: 14px;
	border-top: 1px solid #e6e9ee;
	font-size: 14px;
}
.anivo-toptan-login-hint a {
	font-weight: 700;
	color: #004f83;
}
.anivo-toptan-menu-item > a {
	font-weight: 700;
	color: #c8205a;
}

/* Responsive */
@media (max-width: 991px) {
	.anivo-toptan__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 767px) {
	.anivo-toptan__hero {
		padding: 32px 22px;
	}
	.anivo-toptan__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
	.anivo-toptan__card {
		padding: 20px 18px;
	}
	.anivo-toptan__actions .anivo-toptan__btn {
		width: 100%;
		text-align: center;
	}
}
@media (prefers-reduced-motion: reduce) {
	.anivo-toptan * {
		transition: none !important;
	}
}
