/* =============================================================================
   Darkling · comércio: produto, sacola, checkout, conta e base do WooCommerce.
   O CSS do próprio WooCommerce está desligado (inc/woocommerce.php).
   ========================================================================== */

/* -----------------------------------------------------------------------------
   Base do WooCommerce: botões, avisos, formulários, tabelas
   -------------------------------------------------------------------------- */

.woocommerce .button,
.woocommerce-page .button,
.woocommerce button.button,
.woocommerce a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--dk-text);
	border-radius: 0;
	background: transparent;
	color: var(--dk-text);
	font: 700 11px/1 var(--dk-font);
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s;
}

.woocommerce .button:hover,
.woocommerce-page .button:hover {
	background: var(--dk-text);
	color: var(--dk-bg);
}

.woocommerce .button.alt,
.woocommerce-page .button.alt {
	background: var(--dk-text);
	color: var(--dk-bg);
}

.woocommerce .button.alt:hover {
	background: var(--dk-text-2);
}

.woocommerce .button:disabled,
.woocommerce .button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Avisos */
.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid var(--dk-line);
	background: var(--dk-panel);
	color: var(--dk-text);
	font-size: 13px;
	line-height: 1.5;
	list-style: none;
}

.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:focus {
	outline: none;
}

.woocommerce-error {
	display: block;
	border-color: #e2bcb8;
	background: #fbf3f2;
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-error li + li {
	margin-top: 6px;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	min-height: 36px;
	padding: 0 14px;
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Formulários */
.woocommerce form .form-row,
.woocommerce-page form .form-row {
	margin: 0 0 16px;
	padding: 0;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.woocommerce form .form-row .required {
	color: var(--dk-text);
	text-decoration: none;
	border: 0;
}

.woocommerce form .form-row .optional {
	color: var(--dk-faint);
	text-transform: none;
	letter-spacing: 0;
}

.woocommerce .input-text,
.woocommerce select,
.woocommerce textarea,
.woocommerce-page .input-text,
.woocommerce-page select,
.woocommerce-page textarea,
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="password"],
.woocommerce form input[type="text"],
.woocommerce form input[type="number"] {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--dk-line-2);
	border-radius: 0;
	background: var(--dk-bg);
	color: var(--dk-text);
	font: 400 14px/1.3 var(--dk-font);
	transition: border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.woocommerce textarea,
.woocommerce-page textarea,
.woocommerce textarea.input-text,
.woocommerce-page textarea.input-text {
	min-height: 120px;
	padding: 12px;
	line-height: 1.55;
	resize: vertical;
}

.woocommerce select,
.woocommerce-page select {
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 14 14' fill='none' stroke='%230E0E0D' stroke-width='1.5'%3E%3Cpath d='M2 5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
}

.woocommerce .input-text:focus,
.woocommerce select:focus,
.woocommerce textarea:focus,
.woocommerce-page .input-text:focus,
.woocommerce-page select:focus,
.woocommerce-page textarea:focus {
	border-color: var(--dk-text);
	outline: none;
}

.woocommerce .input-text::placeholder,
.woocommerce textarea::placeholder {
	color: var(--dk-faint);
}

@media (max-width: 759px) {
	.woocommerce .input-text,
	.woocommerce select,
	.woocommerce textarea,
	.woocommerce form input[type="email"],
	.woocommerce form input[type="tel"],
	.woocommerce form input[type="password"],
	.woocommerce form input[type="text"] {
		font-size: 16px;
	}
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--dk-text);
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
}

.woocommerce-invalid .input-text,
.woocommerce-invalid select,
.woocommerce-invalid textarea {
	border-color: var(--dk-error) !important;
}

.checkout-inline-error-message,
.woocommerce-input-wrapper .error {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--dk-error);
}

.woocommerce-password-strength {
	margin-top: 8px;
	font-family: var(--dk-mono);
	font-size: 11px;
}

.woocommerce-password-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--dk-muted);
}

.password-input {
	position: relative;
	display: block;
}

.password-input .input-text {
	padding-right: 48px;
}

.show-password-input {
	position: absolute;
	top: 50%;
	right: 4px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2355524C' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 18px no-repeat;
	transform: translateY(-50%);
	cursor: pointer;
}

.show-password-input.display-password {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230E0E0D' stroke-width='1.6'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10.6 10.6 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3.2 4.1M6.6 6.6C3.8 8.4 2 12 2 12s3.6 7 10 7a9.7 9.7 0 0 0 5.4-1.6'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}

/* Tabelas */
.woocommerce table.shop_table {
	width: 100%;
	margin: 0 0 24px;
	border-collapse: collapse;
	font-size: 13px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 12px 8px;
	border-bottom: 1px solid var(--dk-line-soft);
	text-align: left;
	vertical-align: middle;
}

.woocommerce table.shop_table thead th {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dk-muted);
}

@media (max-width: 759px) {
	.woocommerce table.shop_table_responsive:not(.dk-totals) thead {
		display: none;
	}

	.woocommerce table.shop_table_responsive:not(.dk-totals) tr {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid var(--dk-line-soft);
	}

	.woocommerce table.shop_table_responsive:not(.dk-totals) td,
	.woocommerce table.shop_table_responsive:not(.dk-totals) th {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 6px 0;
		border: 0;
		text-align: right;
	}

	.woocommerce table.shop_table_responsive:not(.dk-totals) td[data-title]::before {
		content: attr(data-title);
		font-size: 11px;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--dk-muted);
		text-align: left;
	}
}

/* Bloqueio durante AJAX (blockUI) */
.blockUI.blockOverlay::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border: 1px solid var(--dk-line);
	border-top-color: var(--dk-text);
	border-radius: 50%;
	animation: dk-spin 0.7s linear infinite;
}

@keyframes dk-spin {
	to {
		transform: rotate(360deg);
	}
}

.woocommerce .clear {
	clear: both;
}

/* Variações escolhidas (sacola, checkout) */
dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 6px;
	margin: 4px 0 0;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dk-muted);
}

dl.variation dt,
dl.variation dd {
	margin: 0;
}

dl.variation dd p {
	display: inline;
	margin: 0;
}

dl.variation dd + dt::before {
	content: "/ ";
}

.stock {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dk-muted);
}

/* -----------------------------------------------------------------------------
   Página de produto
   -------------------------------------------------------------------------- */

.dk-product__main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

/* Fotos */
.dk-gallery {
	flex: 999 1 560px;
	min-width: 0;
}

.dk-gallery__track {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dk-gallery__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(32rem, 92vh, 54rem);
	margin: 0;
	background: var(--dk-photo-2);
	overflow: hidden;
}

.dk-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.dk-gallery__dots {
	display: none;
}

/* Coluna de compra */
.dk-product__info {
	position: sticky;
	top: var(--dk-header-h);
	flex: 1 1 420px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 56px clamp(20px, 4vw, 72px) 72px;
}

.admin-bar .dk-product__info {
	top: calc(var(--dk-header-h) + 32px);
}

.dk-product__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dk-product__brand {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dk-product__title {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dk-buy {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 0;
}

.dk-options {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.dk-option {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Com os botões ativos (JS), o <select> do WooCommerce some da tela mas continua no formulário. */
.dk-option.is-enhanced .dk-option__select {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.dk-option__select select {
	max-width: 240px;
}

.dk-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dk-size {
	width: 52px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--dk-line-2);
	border-radius: 0;
	background: transparent;
	color: var(--dk-text);
	font-family: var(--dk-font);
	font-size: 12px;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.dk-size:hover {
	border-color: var(--dk-text);
}

.dk-size.is-active {
	border-color: var(--dk-text);
	background: var(--dk-text);
	color: var(--dk-bg);
}

/* Esgotado: riscado na diagonal e desabilitado. */
.dk-size.is-sold-out,
.dk-size.is-unavailable {
	border-color: var(--dk-line-3);
	background: linear-gradient(to top right, transparent calc(50% - 0.5px), #b9b5ac 50%, transparent calc(50% + 0.5px));
	color: var(--dk-faint);
	cursor: not-allowed;
}

.dk-buy.is-missing .dk-sizes {
	animation: dk-shake 0.4s;
}

@keyframes dk-shake {
	0%,
	100% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-4px);
	}
	75% {
		transform: translateX(4px);
	}
}

.single_variation_wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* O preço vai dentro do botão. */
.woocommerce-variation-price {
	display: none;
}

.woocommerce-variation:empty,
.woocommerce-variation-description:empty,
.woocommerce-variation-availability:empty {
	display: none;
}

.woocommerce-variation-description {
	font-size: 12px;
	line-height: 1.6;
}

.woocommerce-variation-description p {
	margin: 0;
}

/* Botão único: texto à esquerda, preço à direita. */
.dk-buy__btn {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: 100%;
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--dk-text);
	color: var(--dk-bg);
	font-family: var(--dk-font);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.25s;
}

.dk-buy__btn:hover {
	background: var(--dk-text-2);
}

.dk-buy__btn:focus-visible {
	outline-offset: 2px;
}

.dk-buy__btn[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.dk-buy__btn.wc-variation-is-unavailable {
	opacity: 0.55;
}

.dk-buy__price {
	white-space: nowrap;
}

.dk-buy__price .price {
	display: inline;
}

/* Adicionado: o texto entra subindo e uma faixa clara atravessa o botão. */
.dk-buy__btn.is-added {
	overflow: hidden;
}

.dk-buy__btn.is-added [data-dk-cta] {
	animation: dk-cta-in 0.45s var(--dk-ease);
}

.dk-buy__btn.is-added::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 40%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
	transform: translateX(-100%);
	animation: dk-cta-sweep 0.9s var(--dk-ease) 0.1s;
	pointer-events: none;
}

@keyframes dk-cta-in {
	from { transform: translateY(100%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@keyframes dk-cta-sweep {
	from { transform: translateX(-100%); }
	to { transform: translateX(260%); }
}

.dk-buy__btn.is-loading {
	color: transparent;
	pointer-events: none;
}

.dk-buy__btn.is-loading del {
	color: transparent;
}

.dk-buy__btn.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 1px solid var(--dk-bg);
	border-right-color: transparent;
	border-radius: 50%;
	animation: dk-spin 0.7s linear infinite;
}

.dk-buy__msg {
	margin: -16px 0 0;
	font-size: 12px;
	color: var(--dk-error);
}

.dk-buy__msg:empty {
	display: none;
}

.dk-buy .added_to_cart {
	display: none;
}

/* "Ver sacola": aparece depois de adicionar e fica. */
.dk-buy__view {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	height: 52px;
	margin-top: 8px;
	padding: 0 20px;
	border: 1px solid var(--dk-text);
	background: var(--dk-bg);
	color: var(--dk-text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: background 0.25s, color 0.25s;
}

.dk-buy__view[hidden] {
	display: none;
}

.dk-buy__view:hover,
.dk-buy__view:focus-visible {
	background: var(--dk-text);
	color: var(--dk-bg);
}

.dk-buy__view svg {
	transition: transform 0.25s var(--dk-ease);
}

.dk-buy__view:hover svg {
	transform: translateX(4px);
}

.dk-buy__view.is-in {
	animation: dk-view-in 0.5s var(--dk-ease) 0.15s both;
}

@keyframes dk-view-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Frete */
.dk-ship {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dk-ship__row {
	display: flex;
	gap: 6px;
}

.dk-ship__input {
	flex: 1;
	letter-spacing: 0.04em;
}

.dk-ship__results:empty {
	display: none;
}

.dk-rates {
	display: flex;
	flex-direction: column;
	margin: 4px 0 0;
	padding: 0;
	border-top: 1px solid var(--dk-line-soft);
	list-style: none;
}

.dk-rates li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--dk-line-soft);
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dk-rates__price {
	white-space: nowrap;
}

.dk-rates--loading li {
	align-items: center;
}

.dk-skel {
	display: block;
	width: 55%;
	height: 10px;
	background: var(--dk-photo);
	animation: dk-pulse 1.2s ease-in-out infinite;
}

.dk-skel--short {
	width: 18%;
}

@keyframes dk-pulse {
	50% {
		opacity: 0.45;
	}
}

.dk-ship__error {
	margin: 0;
	font-size: 12px;
	color: var(--dk-error);
}

/* Descrição corrida */
.dk-product__details {
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-size: 12px;
	line-height: 1.75;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dk-product__details p,
.dk-product__details ul,
.dk-product__details ol {
	margin: 0;
}

.dk-product__details ul,
.dk-product__details ol {
	padding-left: 1.2em;
}

.dk-product__details a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dk-product__details img {
	display: block;
	height: auto;
}

.dk-product__details table {
	width: 100%;
	border-collapse: collapse;
}

.dk-product__details td,
.dk-product__details th {
	padding: 6px 4px;
	border-bottom: 1px solid var(--dk-line-soft);
	text-align: left;
}

/* Outras peças */
.dk-product__more:empty {
	display: none;
}

.dk-product__more > section {
	padding: 72px var(--dk-gutter) 96px;
	border-top: 1px solid var(--dk-line-soft);
}

.dk-product__more > section > h2 {
	margin: 0 0 28px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dk-product__more .dk-grid {
	gap: 40px 16px;
}

.dk-product__more .dk-card__link {
	gap: 12px;
}

.dk-product__more .dk-card__name,
.dk-product__more .dk-card__price {
	font-size: 12px;
	letter-spacing: 0.04em;
}

@media (max-width: 899px) {
	.dk-product__main {
		display: block;
	}

	/* Carrossel: arrasta pro lado, bolinhas embaixo. */
	.dk-gallery__track {
		flex-direction: row;
		gap: 0;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.dk-gallery__track::-webkit-scrollbar {
		display: none;
	}

	.dk-gallery__slide {
		flex: 0 0 100%;
		height: auto;
		aspect-ratio: 4 / 5;
		max-height: 80vh;
		scroll-snap-align: start;
	}

	.dk-gallery__dots {
		display: flex;
		justify-content: center;
		gap: 2px;
		padding: 4px 0;
	}

	.dk-gallery__dot {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.dk-gallery__dot span {
		width: 6px;
		height: 6px;
		border: 1px solid var(--dk-text);
		border-radius: 50%;
	}

	.dk-gallery__dot[aria-pressed="true"] span {
		background: var(--dk-text);
	}

	.dk-product__info,
	.admin-bar .dk-product__info {
		position: static;
		gap: 24px;
		padding: 20px 20px 40px;
	}

	.dk-buy {
		gap: 24px;
	}

	.dk-sizes {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.dk-size {
		width: auto;
	}

	.dk-buy__btn,
	.dk-buy__view {
		height: 48px;
		padding: 0 16px;
		font-size: 11px;
	}

	.dk-product__title {
		font-size: 12px;
	}

	.dk-product__details {
		gap: 16px;
		font-size: 11px;
	}

	.dk-product__more > section {
		padding: 40px 16px 48px;
	}

	.dk-product__more > section > h2 {
		margin-bottom: 20px;
		font-size: 12px;
	}

	.dk-product__more .dk-grid {
		gap: 28px 8px;
	}

	.dk-product__more .dk-card__name,
	.dk-product__more .dk-card__price {
		font-size: 11px;
	}
}

/* -----------------------------------------------------------------------------
   Quantidade (sacola)
   -------------------------------------------------------------------------- */

.dk-qty {
	display: inline-flex;
	align-items: stretch;
	height: 40px;
	border: 1px solid var(--dk-line-2);
}

.dk-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dk-text);
}

.dk-qty__btn:disabled {
	color: var(--dk-line-2);
	cursor: not-allowed;
}

.woocommerce .dk-qty input.qty,
.dk-qty input.qty {
	width: 40px;
	min-height: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 13px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.dk-qty input.qty::-webkit-inner-spin-button,
.dk-qty input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.dk-qty:focus-within {
	border-color: var(--dk-text);
}

/* -----------------------------------------------------------------------------
   Sacola
   -------------------------------------------------------------------------- */

.dk-page--commerce .dk-entry__content > .woocommerce {
	width: 100%;
}

.dk-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	align-items: start;
	gap: 56px;
}

.dk-cart__items {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--dk-line-soft);
	list-style: none;
}

.dk-cart-item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--dk-line-soft);
}

.dk-cart-item__thumb a,
.dk-cart-item__thumb > img {
	display: flex;
}

.dk-cart-item__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	background: var(--dk-photo);
}

.dk-cart-item__thumb img {
	display: block;
	width: 86%;
	height: 86%;
	margin: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.dk-cart-item__thumb a {
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}

.dk-cart-item__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.dk-cart-item__top {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.dk-cart-item__name {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dk-cart-item__subtotal {
	font-size: 13px;
	white-space: nowrap;
}

.dk-cart-item__price {
	font-size: 12px;
	color: var(--dk-muted);
}

.dk-cart-item__each {
	margin-left: 4px;
}

.dk-cart-item__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: auto;
	padding-top: 8px;
}

.backorder_notification {
	margin: 4px 0 0;
	font-size: 11px;
	color: var(--dk-muted);
}

.dk-cart__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	padding-top: 24px;
}

.dk-coupon {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: min(380px, 100%);
}

.dk-field {
	display: flex;
	gap: 6px;
}

.dk-field .dk-input {
	flex: 1;
}

/* Com JS a sacola atualiza sozinha (commerce.js); o botão fica para quem não tem JS. */
.js .dk-cart__update {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

/* Resumo (sacola e checkout) */
.dk-summary {
	position: sticky;
	top: calc(var(--dk-header-h) + 24px);
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	background: var(--dk-panel);
	border-top: 1px solid var(--dk-line-3);
}

.dk-summary__title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce table.dk-totals,
.woocommerce table.dk-review {
	margin: 0;
}

.woocommerce table.dk-totals th,
.woocommerce table.dk-review tfoot th {
	padding: 10px 0;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.woocommerce table.dk-totals td,
.woocommerce table.dk-review tfoot td {
	padding: 10px 0;
	text-align: right;
}

.woocommerce table.dk-totals .order-total th,
.woocommerce table.dk-totals .order-total td,
.woocommerce table.dk-review .order-total th,
.woocommerce table.dk-review .order-total td {
	padding-top: 16px;
	border-bottom: 0;
	font-size: 14px;
	font-weight: 700;
}

.order-total .includes_tax {
	display: block;
	font-size: 11px;
	font-weight: 400;
	color: var(--dk-muted);
}

.woocommerce-remove-coupon {
	margin-left: 6px;
	font-size: 11px;
	text-decoration: underline;
}

/* Linha do frete (sacola e checkout): ocupa a largura toda, como no What's life.
   Espremida na segunda coluna da tabela, o campo de CEP e as opções ficavam
   apertados demais para usar. */
.woocommerce table.dk-totals tr.shipping,
.woocommerce table.dk-review tr.shipping,
.woocommerce table.dk-totals tr.woocommerce-shipping-totals,
.woocommerce table.dk-review tr.woocommerce-shipping-totals {
	display: block;
}

.woocommerce table.dk-totals tr.shipping th,
.woocommerce table.dk-totals tr.shipping td,
.woocommerce table.dk-review tr.shipping th,
.woocommerce table.dk-review tr.shipping td,
.woocommerce table.dk-totals tr.woocommerce-shipping-totals th,
.woocommerce table.dk-totals tr.woocommerce-shipping-totals td,
.woocommerce table.dk-review tr.woocommerce-shipping-totals th,
.woocommerce table.dk-review tr.woocommerce-shipping-totals td {
	display: block;
	width: 100%;
	text-align: left;
}

.woocommerce table.dk-totals tr.shipping th,
.woocommerce table.dk-review tr.shipping th,
.woocommerce table.dk-totals tr.woocommerce-shipping-totals th,
.woocommerce table.dk-review tr.woocommerce-shipping-totals th {
	padding-bottom: 8px;
	border-bottom: 0;
}

.woocommerce table.dk-totals tr.shipping td,
.woocommerce table.dk-review tr.shipping td,
.woocommerce table.dk-totals tr.woocommerce-shipping-totals td,
.woocommerce table.dk-review tr.woocommerce-shipping-totals td {
	padding-top: 0;
}

.woocommerce-shipping-methods {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-shipping-methods li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--dk-line);
	background: var(--dk-bg);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.woocommerce-shipping-methods li:has(input:checked) {
	border-color: var(--dk-text);
}

.woocommerce-shipping-methods label {
	display: flex;
	flex: 1;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
}

.woocommerce-shipping-destination,
.woocommerce-shipping-contents {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--dk-muted);
}

.woocommerce-shipping-calculator {
	margin-top: 8px;
}

.shipping-calculator-form {
	padding-top: 8px;
}

.shipping-calculator-form .form-row {
	margin: 0;
}

.wc-proceed-to-checkout {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.dk-summary__continue {
	color: var(--dk-muted);
}

.dk-page--commerce .cross-sells {
	margin-top: 72px;
	padding-top: 56px;
	border-top: 1px solid var(--dk-line-soft);
}

.cross-sells > h2 {
	margin: 0 0 28px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 959px) {
	.dk-cart {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.dk-summary {
		position: static;
	}
}

@media (max-width: 759px) {
	.dk-cart-item {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 14px;
		padding: 16px 0;
	}

	.dk-cart-item__top {
		flex-direction: column;
		gap: 4px;
	}

	.dk-summary {
		padding: 20px 16px;
	}
}

/* -----------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */

.dk-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	align-items: start;
	gap: 56px;
}

#customer_details {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.dk-checkout__title,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
.woocommerce-account-fields > h3 {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#ship-to-different-address {
	font-size: 13px;
}

#ship-to-different-address label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Campos lado a lado */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0 12px;
}

.woocommerce-billing-fields__field-wrapper > .form-row,
.woocommerce-shipping-fields__field-wrapper > .form-row,
.woocommerce-address-fields__field-wrapper > .form-row {
	flex: 1 1 100%;
}

.woocommerce-billing-fields__field-wrapper > .form-row-first,
.woocommerce-billing-fields__field-wrapper > .form-row-last,
.woocommerce-shipping-fields__field-wrapper > .form-row-first,
.woocommerce-shipping-fields__field-wrapper > .form-row-last,
.woocommerce-address-fields__field-wrapper > .form-row-first,
.woocommerce-address-fields__field-wrapper > .form-row-last {
	flex: 1 1 calc(50% - 6px);
}

#shipping_country_field strong,
#billing_country_field strong {
	display: block;
	font-weight: 500;
}

.woocommerce-account-fields {
	margin-top: 8px;
}

.woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info {
	justify-content: flex-start;
}

form.woocommerce-form-login,
form.checkout_coupon {
	margin: 0 0 24px;
	padding: 20px;
	border: 1px solid var(--dk-line);
}

form.checkout_coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

form.checkout_coupon > p:first-child {
	flex: 1 1 100%;
	margin: 0;
	font-size: 13px;
}

form.checkout_coupon .form-row-first {
	flex: 1;
	margin: 0;
}

form.checkout_coupon .form-row-last {
	margin: 0;
}

/* Resumo do pedido */
.woocommerce table.dk-review tbody td {
	padding: 12px 0;
	vertical-align: top;
}

.dk-review__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.dk-review__thumb {
	position: relative;
	flex: 0 0 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	background: var(--dk-photo);
}

.dk-review__thumb img {
	display: block;
	width: 86%;
	height: 86%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.dk-review__qty {
	position: absolute;
	top: -8px;
	right: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--dk-text);
	color: var(--dk-bg);
	font-family: var(--dk-mono);
	font-size: 11px;
}

.dk-review__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dk-review__name {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.woocommerce table.dk-review td.product-total {
	padding-left: 12px;
	text-align: right;
	white-space: nowrap;
}

/* Pagamento */
#payment {
	margin-top: 8px;
}

#payment .wc_payment_methods {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

#payment .wc_payment_method {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--dk-line);
	background: var(--dk-bg);
}

#payment .wc_payment_method:has(> input:checked) {
	border-color: var(--dk-text);
}

#payment .wc_payment_method > label {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

#payment .wc_payment_method > label img {
	max-height: 22px;
	width: auto;
}

#payment .payment_box {
	flex: 1 1 100%;
	padding: 8px 0 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--dk-text-2);
}

#payment .payment_box p {
	margin: 0 0 8px;
}

#payment .payment_box p:last-child {
	margin: 0;
}

#payment .payment_box fieldset {
	margin: 8px 0 0;
	padding: 0;
	border: 0;
}

#payment .place-order {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
	font-size: 12px;
	line-height: 1.55;
	color: var(--dk-muted);
}

.woocommerce-privacy-policy-text p {
	margin: 0;
}

.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a {
	text-decoration: underline;
}

.woocommerce-terms-and-conditions {
	max-height: 200px;
	margin-bottom: 12px;
	padding: 12px;
	overflow: auto;
	border: 1px solid var(--dk-line);
}

#place_order {
	width: 100%;
	min-height: 52px;
	border: 0;
	background: var(--dk-text);
	color: var(--dk-bg);
	font-size: 12px;
	letter-spacing: 0.1em;
}

#place_order:hover {
	background: var(--dk-text-2);
}

@media (max-width: 959px) {
	.dk-checkout {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 559px) {
	.woocommerce-billing-fields__field-wrapper > .form-row-first,
	.woocommerce-billing-fields__field-wrapper > .form-row-last,
	.woocommerce-shipping-fields__field-wrapper > .form-row-first,
	.woocommerce-shipping-fields__field-wrapper > .form-row-last,
	.woocommerce-address-fields__field-wrapper > .form-row-first,
	.woocommerce-address-fields__field-wrapper > .form-row-last {
		flex-basis: 100%;
	}
}

/* -----------------------------------------------------------------------------
   Pedido recebido
   -------------------------------------------------------------------------- */

.dk-thanks {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 760px;
}

.dk-thanks__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

.dk-thanks__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.dk-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--dk-line-soft);
	background: var(--dk-line-soft);
	list-style: none;
}

.dk-overview li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	background: var(--dk-bg);
}

.dk-overview__label {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dk-muted);
}

.dk-overview strong {
	font-size: 13px;
	font-weight: 500;
}

.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-order-downloads__title {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce-customer-details .woocommerce-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.woocommerce-customer-details address {
	padding: 16px;
	border: 1px solid var(--dk-line-soft);
	font-size: 13px;
	font-style: normal;
	line-height: 1.6;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
	margin: 6px 0 0;
}

/* -----------------------------------------------------------------------------
   Conta
   -------------------------------------------------------------------------- */

.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: start;
	gap: 56px;
}

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--dk-line-soft);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dk-muted);
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
	color: var(--dk-text);
}

.woocommerce-MyAccount-navigation .is-active a {
	font-weight: 700;
}

.woocommerce-MyAccount-content {
	min-width: 0;
	font-size: 13px;
	line-height: 1.6;
}

.woocommerce-MyAccount-content > p:first-child {
	margin-top: 0;
}

.woocommerce-MyAccount-content a:not(.button) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

#customer_login {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 56px;
}

#customer_login h2 {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce-form-login__rememberme {
	margin-bottom: 12px;
}

.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-EditAccountForm .button,
.woocommerce-address-fields .button,
.woocommerce-ResetPassword .button {
	background: var(--dk-text);
	color: var(--dk-bg);
}

.woocommerce-LostPassword {
	margin: 12px 0 0;
	font-size: 12px;
}

.woocommerce-LostPassword a {
	text-decoration: underline;
}

.woocommerce-EditAccountForm {
	display: flex;
	flex-wrap: wrap;
	gap: 0 12px;
}

.woocommerce-EditAccountForm > * {
	flex: 1 1 100%;
}

.woocommerce-EditAccountForm > .form-row-first,
.woocommerce-EditAccountForm > .form-row-last {
	flex: 1 1 calc(50% - 6px);
}

.woocommerce-EditAccountForm > .clear {
	display: none;
}

.woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.woocommerce-Address-title {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 10px;
}

.woocommerce-Address-title h2,
.woocommerce-Address-title h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce-Address address {
	font-style: normal;
}

fieldset {
	margin: 24px 0;
	padding: 20px;
	border: 1px solid var(--dk-line);
}

legend {
	padding: 0 8px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media (max-width: 759px) {
	.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.woocommerce-EditAccountForm > .form-row-first,
	.woocommerce-EditAccountForm > .form-row-last {
		flex-basis: 100%;
	}
}
