/* ===== Estigma Store — custom.css ===== */

/* ---- General ---- */
body {
	background-color: #F6F5F1;
}

a {
	transition: color 0.15s ease;
}

/* ---- Header ---- */
.estigma-header {
	position: sticky;
	top: 0;
	z-index: 100;
}

.estigma-header .wp-block-site-title a {
	color: #ffffff !important;
	text-decoration: none;
	letter-spacing: 0.08em;
}

.estigma-header .wp-block-navigation a {
	color: #ffffff !important;
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.estigma-header .wp-block-navigation a:hover {
	color: #B7935A !important;
}

.estigma-header .wc-block-mini-cart__button,
.estigma-header .wc-block-customer-account .wc-block-customer-account__link,
.estigma-header .wc-block-customer-account .wc-block-customer-account__toggle {
	color: #ffffff !important;
}

.estigma-header .wc-block-mini-cart__quantity-badge {
	background-color: #B7935A;
}

/* ---- Hero ---- */
.estigma-hero {
	background-color: #111111;
	color: #ffffff;
	text-align: center;
	padding: 64px 24px 56px;
}

.estigma-hero img {
	max-width: 220px;
	margin: 0 auto 24px;
	display: block;
}

.estigma-hero h1 {
	color: #ffffff;
	font-size: clamp(2.2rem, 6vw, 3.6rem);
	margin: 0 0 16px;
}

.estigma-hero p {
	color: #d8d8d8;
	max-width: 560px;
	margin: 0 auto 28px;
	font-size: 1.05rem;
	line-height: 1.7;
}

.estigma-hero .wp-block-button__link {
	background-color: #ffffff;
	color: #111111 !important;
}

.estigma-hero .wp-block-button__link:hover {
	background-color: #B7935A;
	color: #111111 !important;
}

/* ---- Pre-sale banner ---- */
.estigma-banner {
	background-color: #B7935A;
	color: #111111;
	text-align: center;
	padding: 12px 16px;
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
}

/* ---- Hero carousel ---- */
.estigma-carousel {
	position: relative;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #111111;
}

.estigma-carousel__track {
	display: flex;
	width: 200%;
	height: 100%;
	transition: transform 0.6s ease;
}

.estigma-carousel__slide {
	width: 50%;
	height: 100%;
	position: relative;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
	background-color: #eceae5;
	display: flex;
	align-items: flex-end;
}

.estigma-carousel__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 55%);
}

.estigma-carousel__caption {
	position: relative;
	z-index: 2;
	padding: 32px;
	color: #ffffff;
}

.estigma-carousel__eyebrow {
	display: block;
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	color: #B7935A;
	margin-bottom: 6px;
}

.estigma-carousel__caption h2 {
	color: #ffffff;
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.estigma-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	background: rgba(255,255,255,0.15);
	color: #ffffff;
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
}

.estigma-carousel__arrow--prev { left: 16px; }
.estigma-carousel__arrow--next { right: 16px; }
.estigma-carousel__arrow:hover { background: rgba(255,255,255,0.3); }

.estigma-carousel__dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}

.estigma-carousel__dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.4);
	padding: 0;
	cursor: pointer;
}

.estigma-carousel__dots button.is-active {
	background: #ffffff;
	width: 22px;
	border-radius: 4px;
}

@media (max-width: 640px) {
	.estigma-carousel {
		aspect-ratio: 4 / 5;
	}
	.estigma-carousel__caption { padding: 20px; }
}

/* ---- Camisa → Fé → Identidade → Missão chain ---- */
.estigma-chain {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 40px 24px;
	font-family: 'Anton', Impact, sans-serif;
	text-transform: uppercase;
	font-size: clamp(1rem, 3vw, 1.5rem);
	color: #111111;
}

.estigma-chain__arrow {
	color: #B7935A;
	font-family: 'Work Sans', Arial, sans-serif;
	font-size: 1rem;
}

/* ---- Mission section (emotional) ---- */
.estigma-mission-section {
	padding: 24px 24px 64px;
	text-align: center;
}

.estigma-mission-section__lead {
	font-family: 'Anton', Impact, sans-serif;
	text-transform: none;
	font-size: clamp(1.4rem, 3.5vw, 2rem);
	line-height: 1.3;
	max-width: 720px;
	margin: 0 auto 20px;
	color: #111111;
}

.estigma-mission-section p:not(.estigma-mission-section__lead) {
	color: #3a3a3a;
	max-width: 480px;
	margin: 0 auto 24px;
}

/* ---- Final CTA ---- */
.estigma-final-cta {
	background-color: #111111;
	color: #ffffff;
	text-align: center;
	padding: 72px 24px;
}

.estigma-final-cta h2 {
	color: #ffffff;
	font-size: clamp(2rem, 5vw, 3.2rem);
	margin: 0 0 16px;
	line-height: 1.1;
}

.estigma-final-cta p {
	color: #d8d8d8;
	font-size: 1.1rem;
	margin: 0 0 24px;
}

.estigma-final-cta .wp-block-button__link {
	background-color: #ffffff;
	color: #111111 !important;
}

.estigma-final-cta .wp-block-button__link:hover {
	background-color: #B7935A;
	color: #111111 !important;
}

.estigma-final-cta__note {
	margin-top: 20px !important;
	font-size: 0.85rem !important;
	color: #999 !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ---- Section headings ---- */
.estigma-section {
	padding: 64px 24px;
}

.estigma-section h2 {
	text-align: center;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin-bottom: 8px;
}

.estigma-section .estigma-section__subtitle {
	text-align: center;
	color: #6b6b6b;
	margin-bottom: 40px;
}

/* ---- Product grid (Product Collection block) ---- */
.estigma-product-grid {
	max-width: 900px;
	margin: 0 auto;
}

.estigma-product-grid ul.wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	list-style: none;
	padding: 0;
}

.estigma-product-grid li.wc-block-product {
	text-align: center;
}

.estigma-product-grid li.wc-block-product a {
	text-decoration: none;
	color: inherit;
}

.estigma-product-media-wrap {
	position: relative;
	background: #eceae5;
	border-radius: 6px;
	overflow: hidden;
	padding: 28px;
	margin-bottom: 16px;
}

.estigma-product-media-wrap img {
	width: 100%;
	height: auto;
	display: block;
}

.estigma-pre-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: #111111;
	color: #fff;
	font-size: 0.75rem;
	border-radius: 999px;
	padding: 6px 14px;
	margin: 0 !important;
	font-weight: 700;
	line-height: 1;
}

.estigma-product-grid .wp-block-post-title {
	font-family: 'Work Sans', Arial, sans-serif;
	text-transform: none;
	font-weight: 600;
	font-size: 1rem;
	margin: 0 0 8px;
}

.estigma-product-grid .wp-block-post-title a {
	color: #111111;
}

.estigma-product-grid .wc-block-components-product-price {
	justify-content: center;
	margin-bottom: 16px !important;
}

.estigma-product-grid .wc-block-components-product-price .woocommerce-Price-amount {
	color: #B7935A;
	font-weight: 700;
	font-size: 1.15rem;
}

.estigma-product-grid .wc-block-components-product-button__button {
	background-color: #111111 !important;
	color: #ffffff !important;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	border-radius: 2px !important;
	border: none !important;
	min-height: 48px;
	width: 100%;
}

.estigma-product-grid .wc-block-components-product-button__button:hover {
	background-color: #B7935A !important;
	color: #111111 !important;
}

@media (max-width: 640px) {
	.estigma-product-grid ul.wc-block-product-template {
		grid-template-columns: 1fr;
	}
	.estigma-product-grid {
		max-width: 420px;
	}
}

/* ---- Trust badges ---- */
.estigma-badges {
	display: flex;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
	padding: 40px 24px;
	border-top: 1px solid #e0ddd3;
	border-bottom: 1px solid #e0ddd3;
	text-align: center;
}

.estigma-badges > div {
	max-width: 220px;
}

.estigma-badges strong {
	display: block;
	font-family: 'Anton', Impact, sans-serif;
	text-transform: uppercase;
	font-size: 0.95rem;
	margin-bottom: 6px;
}

.estigma-badges span {
	color: #6b6b6b;
	font-size: 0.85rem;
}

/* ---- Single product page ---- */
.estigma-eyebrow {
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	color: #B7935A;
	margin-bottom: 8px;
	display: block;
}

.product .price {
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 700;
	font-size: 1.4rem !important;
}

.product .price del {
	opacity: 0.5;
	font-weight: 400;
}

.product .price ins {
	text-decoration: none;
	color: #B7935A;
}

.estigma-trust-box {
	margin-top: 24px;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid #e8e6df;
	font-size: 0.9rem;
	line-height: 1.7;
}

.estigma-trust-box p {
	margin: 0;
}

/* Size chart, right under the size selector */
.estigma-size-chart {
	margin-top: 12px;
	max-width: 320px;
}

.estigma-size-chart__title {
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.7rem;
	color: #111111;
	margin: 0 0 4px;
}

.estigma-size-chart table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.78rem;
}

.estigma-size-chart th,
.estigma-size-chart td {
	border: 1px solid #e8e6df;
	padding: 4px 6px;
	text-align: center;
}

.estigma-size-chart th {
	background: #f6f5f1;
	font-weight: 700;
	color: #111111;
}

.estigma-size-chart td:first-child {
	font-weight: 700;
	color: #B7935A;
}

/* Variation form buttons */
.variations select {
	border: 1px solid #111111;
	padding: 10px 14px;
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
}

/* Variation Swatches for WooCommerce — label/button style for Tamanho */
.variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 12px;
}

.swatch-item-wrapper {
	display: inline-flex;
}

.swatch.swatch-type-label {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #111111 !important;
	border-radius: 2px !important;
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	color: #111111;
	background: #ffffff !important;
	cursor: pointer;
}

.swatch.swatch-type-label .text {
	color: inherit;
}

.swatch.swatch-type-label:hover,
.swatch.swatch-type-label.selected {
	background: #111111 !important;
	color: #ffffff;
}

.swatch.swatch-type-label:hover .text,
.swatch.swatch-type-label.selected .text {
	color: #ffffff;
}

.swatch.swatch-type-label.disabled,
.swatch-item-wrapper.disabled .swatch {
	opacity: 0.35;
	cursor: not-allowed;
}

.stock,
.woocommerce-variation-availability,
.wc-block-components-product-stock-indicator {
	display: none !important;
}

a.reset_variations {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.85rem;
	color: #8C8C8C !important;
}

.single_add_to_cart_button,
.wp-block-woocommerce-add-to-cart-form .button,
a.checkout-button,
.wc-block-components-button,
#place_order,
.wc-block-cart__submit-button {
	background-color: #111111 !important;
	color: #ffffff !important;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.05em;
	border-radius: 2px !important;
	border: none !important;
	padding: 16px 32px !important;
}

.single_add_to_cart_button:hover,
.wp-block-woocommerce-add-to-cart-form .button:hover,
a.checkout-button:hover,
.wc-block-components-button:hover,
#place_order:hover {
	background-color: #B7935A !important;
	color: #111111 !important;
}

/* ---- Declare box (product description) ---- */
.estigma-declare-box {
	border: 1px solid #e0ddd3;
	background: #ffffff;
	padding: 24px 28px;
	margin: 24px 0;
}

.estigma-declare-box__title {
	font-family: 'Work Sans', Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.8rem;
	color: #8C8C8C;
	margin: 0 0 12px !important;
}

.estigma-declare-box ul {
	margin: 0;
}

.estigma-declare-box li {
	margin-bottom: 10px;
	line-height: 1.6;
}

.wp-block-quote {
	border-left: 3px solid #B7935A;
	padding-left: 20px;
	font-style: italic;
	color: #3A3A3A;
}

/* ---- Checkout (Shopify-style layout, Estigma palette) ---- */
.wc-block-checkout {
	gap: 64px !important;
	align-items: start;
}

.wc-block-checkout__main {
	max-width: 620px;
}

.wc-block-checkout__sidebar {
	background: #ffffff;
	border: 1px solid #e8e6df;
	border-radius: 8px;
	padding: 28px;
	position: sticky;
	top: 90px;
}

.wc-block-components-checkout-step__title {
	font-family: 'Anton', Impact, sans-serif;
	text-transform: uppercase;
	font-size: 1.3rem;
	color: #111111;
	letter-spacing: 0.01em;
}

.wc-block-components-checkout-step__description {
	color: #6b6b6b;
	font-size: 0.9rem;
}

.wc-block-components-checkout-step {
	border-bottom: 1px solid #e8e6df;
	padding-bottom: 28px;
	margin-bottom: 28px !important;
}

.wc-block-components-checkout-step:last-child {
	border-bottom: none;
}

/* Inputs */
.wc-block-components-text-input input,
.wc-block-components-combobox-control input,
.wc-block-components-checkout-step select,
.wc-blocks-components-select select {
	border: 1px solid #d8d5cc !important;
	border-radius: 6px !important;
	background: #ffffff;
	font-family: 'Work Sans', Arial, sans-serif;
	padding-top: 18px !important;
	padding-bottom: 8px !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox-control input:focus {
	border-color: #111111 !important;
	box-shadow: none !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox-control label {
	font-family: 'Work Sans', Arial, sans-serif;
	color: #8c8c8c;
}

/* Payment method + shipping rate options
   Note: keep WooCommerce's own display/padding (48px left padding makes room
   for the absolutely-positioned radio dot at left:16px) — only recolor. */
.wc-block-components-radio-control__option {
	border: 1px solid #d8d5cc !important;
	border-radius: 6px !important;
	margin-bottom: 10px;
}

.wc-block-components-radio-control__input:checked + * ,
.wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked {
	border-color: #111111 !important;
	background: #faf9f6;
}

.wc-block-components-radio-control__option-checked .wc-block-components-radio-control__input {
	accent-color: #111111;
}

.wc-block-components-radio-control__label {
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 600;
	color: #111111;
}

.wc-block-components-radio-control__secondary-label {
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 700;
	color: #111111;
}

/* Place order button */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
	background-color: #111111 !important;
	color: #ffffff !important;
	width: 100%;
	min-height: 52px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.05em;
	border-radius: 4px !important;
	font-family: 'Work Sans', Arial, sans-serif;
}

.wc-block-components-checkout-place-order-button:hover {
	background-color: #B7935A !important;
	color: #111111 !important;
}

/* Order summary sidebar */
.wc-block-components-product-metadata,
.wc-block-components-order-summary-item__quantity {
	color: #8c8c8c;
	font-size: 0.85rem;
}

.wc-block-components-order-summary-item__image img {
	border-radius: 4px;
	border: 1px solid #e8e6df;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 600;
	color: #111111;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
	font-family: 'Work Sans', Arial, sans-serif;
	color: #111111;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: 'Anton', Impact, sans-serif;
	text-transform: uppercase;
	font-size: 1.1rem;
}

.wc-block-components-totals-coupon input {
	border: 1px solid #d8d5cc !important;
	border-radius: 6px !important;
}

.wc-block-components-totals-coupon__button {
	background: #eceae5 !important;
	color: #111111 !important;
	border-radius: 6px !important;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.8rem;
}

@media (max-width: 800px) {
	.wc-block-checkout__sidebar {
		position: static;
	}
}

/* ---- Footer ---- */
.estigma-footer {
	background-color: #111111;
	color: #cfcfcf;
	padding: 56px 24px 24px;
}

.estigma-footer h3 {
	color: #ffffff;
	font-size: 1rem;
	margin-bottom: 12px;
}

.estigma-footer a {
	color: #cfcfcf;
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 2;
}

.estigma-footer a:hover {
	color: #B7935A;
}

.estigma-footer .estigma-footer__bottom {
	border-top: 1px solid #333;
	margin-top: 32px;
	padding-top: 20px;
	text-align: center;
	font-size: 0.8rem;
	color: #888;
}

/* Size swatches (Tamanho): bigger rounded buttons instead of the plugin's tiny default boxes */
.tawcvs-swatches {
	gap: 10px;
}

.tawcvs-swatches .swatch {
	min-width: 48px;
	height: auto;
	padding: 12px 16px;
	border: 1.5px solid #ddd8cd;
	border-radius: 10px;
	background: #ffffff;
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	color: #111111;
	line-height: 1;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.tawcvs-swatches .swatch:hover {
	border-color: #B7935A;
}

.tawcvs-swatches .swatch.selected {
	border: 2px solid #B7935A;
	color: #111111;
	background: #fbf7ef;
}

/* Shop page only: hide the price in the product grid, show "Pré-venda" instead. The
   single product page is untouched — the real price still shows there and at checkout. */
.woocommerce-shop .wc-block-components-product-price {
	visibility: hidden;
	position: relative;
	display: inline-block;
}

.woocommerce-shop .wc-block-components-product-price::before {
	content: "Pré-venda";
	visibility: visible;
	position: absolute;
	left: 0;
	top: 0;
	white-space: nowrap;
	font-weight: 700;
}

.tawcvs-swatches .swatch.unavailable,
.tawcvs-swatches .swatch.outofstock {
	opacity: 0.4;
}
