/* TattooClub — Product Page (PDP) styling.
   Design tokens match the rest of the site (shop.css / cart.css / journal.css). */
:root {
	--tc-black: #111111;
	--tc-ivory: #F9F5EF;
	--tc-green: #B7E41C;
	--tc-grey: #68645E;
	--tc-line: #DAD4C8;
}

#tc-pdp-root { max-width: 100%; overflow-x: hidden; }
[hidden] { display: none !important; }
#tc-pdp-root * { box-sizing: border-box; }

.tc-pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.tc-pdp-gallery__stage {
	position: relative; width: 100%; aspect-ratio: 1 / 1; background: #F9F5EF;
	border-radius: 16px; overflow: hidden; border: 1px solid var(--tc-line);
}
.tc-pdp-gallery__main { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.tc-pdp-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.tc-pdp-gallery__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(249,245,239,.9);
	color: var(--tc-black); display: flex; align-items: center; justify-content: center; cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.tc-pdp-gallery__nav--prev { left: 12px; }
.tc-pdp-gallery__nav--next { right: 12px; }
.tc-pdp-gallery__zoom {
	position: absolute; bottom: 12px; right: 12px; z-index: 2;
	width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(17,17,17,.75); color: #fff;
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.tc-pdp-gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.tc-pdp-gallery__thumb {
	flex: 0 0 auto; width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
	border: 2px solid transparent; padding: 0; cursor: pointer; background: #F0EBE2;
}
.tc-pdp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-pdp-gallery__thumb.is-active { border-color: var(--tc-green); }

.tc-pdp-variations-wrap { margin-top: 4px; }
.tc-pdp-variations-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tc-pdp-variations-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tc-black); }
.tc-pdp-sizeguide-btn {
	background: none; border: none; padding: 0; font-size: 12px; color: var(--tc-grey);
	text-decoration: underline; cursor: pointer; font-family: inherit;
}
.tc-pdp-variations { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-pdp-variation-btn {
	position: relative; min-width: 52px; height: 46px; padding: 0 14px; border-radius: 10px;
	border: 1.5px solid var(--tc-line); background: #fff; color: var(--tc-black);
	font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: border-color .15s, background .15s;
}
.tc-pdp-variation-btn:hover:not(.is-unavailable) { border-color: var(--tc-black); }
.tc-pdp-variation-btn.is-selected { background: var(--tc-green); border-color: var(--tc-green); color: var(--tc-black); }
.tc-pdp-variation-btn.is-unavailable { color: #B7B0A3; border-color: var(--tc-line); background: #F5F2EC; cursor: not-allowed; }
.tc-pdp-variation-badge {
	position: absolute; top: -9px; right: -6px; background: #E24C4C; color: #fff; font-size: 9px;
	font-weight: 700; padding: 2px 6px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.tc-pdp-stock-msg { margin-top: 10px; font-size: 13px; color: var(--tc-grey); min-height: 18px; }
.tc-pdp-stock-msg.is-out { color: #C0392B; font-weight: 600; }

.tc-pdp-notify { margin-top: 12px; padding: 14px; background: #F5F2EC; border-radius: 12px; }
.tc-pdp-notify__label { margin: 0 0 10px; font-size: 13px; color: var(--tc-black); }
.tc-pdp-notify__form { display: flex; gap: 8px; flex-wrap: wrap; }
.tc-pdp-notify__form input {
	flex: 1 1 180px; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--tc-line);
	background: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 13px; outline: none;
}
.tc-pdp-notify__form button {
	padding: 11px 18px; border-radius: 999px; border: none; background: var(--tc-black); color: var(--tc-ivory);
	font-weight: 700; font-size: 12px; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.tc-pdp-notify__msg { margin: 8px 0 0; font-size: 12px; color: var(--tc-green); font-weight: 600; }
.tc-pdp-notify__msg.is-error { color: #C0392B; }

.tc-pdp-qty-wrap { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.tc-pdp-qty-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tc-black); }
.tc-pdp-qty { display: flex; align-items: center; border: 1.5px solid var(--tc-line); border-radius: 999px; overflow: hidden; }
.tc-pdp-qty__btn { width: 34px; height: 34px; border: none; background: none; font-size: 18px; cursor: pointer; color: var(--tc-black); }
.tc-pdp-qty__btn:hover { background: #F0EBE2; }
.tc-pdp-qty__value { min-width: 28px; text-align: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; }

.tc-pdp-cta-row { display: flex; gap: 10px; margin-top: 8px; }
.tc-pdp-addtocart {
	flex: 1 1 auto; height: 52px; border-radius: 999px; border: none; background: var(--tc-green);
	color: var(--tc-black); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
	text-transform: none; letter-spacing: 0; cursor: pointer; transition: background .15s, opacity .15s;
}
.tc-pdp-addtocart:hover:not(:disabled) { background: var(--tc-black); color: var(--tc-ivory); }
.tc-pdp-addtocart:disabled { opacity: .4; cursor: not-allowed; }
.tc-pdp-wishlist-btn {
	width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; border: 1.5px solid var(--tc-line);
	background: #fff; color: var(--tc-black); display: flex; align-items: center; justify-content: center;
	cursor: pointer; font-size: 18px; transition: border-color .15s, color .15s;
}
.tc-pdp-wishlist-btn.is-active { border-color: #E24C4C; color: #E24C4C; }
.tc-pdp-cta-feedback { margin: 8px 0 0; font-size: 13px; min-height: 18px; color: var(--tc-grey); }
.tc-pdp-cta-feedback.is-success { color: #3F8E3F; font-weight: 600; }
.tc-pdp-cta-feedback.is-error { color: #C0392B; font-weight: 600; }

.tc-pdp-tabs-head { display: flex; gap: 28px; flex-wrap: wrap; border-bottom: 1px solid var(--tc-line); padding-bottom: 0; }
.tc-pdp-tab-btn {
	background: none; border: none; padding: 16px 0; font-family: 'Space Grotesk', sans-serif;
	font-size: 14px; font-weight: 600; color: var(--tc-grey); cursor: pointer; position: relative; text-transform: uppercase; letter-spacing: .02em;
}
.tc-pdp-tab-btn.is-active { color: var(--tc-black); }
.tc-pdp-tab-btn.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tc-green); }
.tc-pdp-tabs-panels { padding-top: 24px; }
.tc-pdp-tab-panel { display: none; }
.tc-pdp-tab-panel.is-active { display: block; }
.tc-pdp-accordion-head { display: none; }
.tc-pdp-tab-panel .tc-pdp-accordion-body p,
.tc-pdp-tab-panel .tc-pdp-accordion-body li { font-size: 15px; line-height: 1.75; color: var(--tc-grey); }
.tc-pdp-howto-list, .tc-pdp-shipping-list { padding-left: 20px; }
.tc-pdp-howto-list li, .tc-pdp-shipping-list li { margin-bottom: 8px; }

.tc-pdp-reviews-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.tc-pdp-reviews-summary__score { font-family: 'Archivo Black', sans-serif; font-size: 28px; color: var(--tc-black); }
.tc-pdp-reviews-summary__stars i { color: var(--tc-green); font-size: 15px; margin-right: 2px; }
.tc-pdp-reviews-summary__count { font-size: 13px; color: var(--tc-grey); }
.tc-pdp-reviews-list { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-bottom: 20px; }
.tc-pdp-review { background: #F9F5EF; border-radius: 12px; padding: 16px; }
.tc-pdp-review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tc-pdp-review__author { font-weight: 700; font-size: 13px; color: var(--tc-black); }
.tc-pdp-review__stars i { color: var(--tc-green); font-size: 12px; }
.tc-pdp-review__content { font-size: 13px; color: var(--tc-grey); line-height: 1.6; margin: 0 0 8px; }
.tc-pdp-review__date { font-size: 11px; color: #A39D90; }
.tc-pdp-reviews-empty { padding: 24px; text-align: center; background: #F9F5EF; border-radius: 12px; color: var(--tc-grey); font-size: 14px; margin-bottom: 16px; }
.tc-pdp-write-review-btn, .tc-pdp-more-reviews-btn {
	padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--tc-black); background: none; color: var(--tc-black);
	font-weight: 700; font-size: 12px; text-transform: none; letter-spacing: 0; cursor: pointer; margin-right: 10px;
}
.tc-pdp-write-review-btn:hover, .tc-pdp-more-reviews-btn:hover { background: var(--tc-black); color: var(--tc-ivory); }
.tc-pdp-review-form-wrap { max-width: 1240px; margin: 0 auto 56px; padding: 0 24px; }
.tc-pdp-review-form-wrap #respond { background: #F9F5EF; border-radius: 16px; padding: 28px; }
.tc-pdp-review-form-wrap .comment-form-rating select { margin-bottom: 12px; }
.tc-pdp-review-submit {
	background: var(--tc-green); border: none; border-radius: 999px; padding: 12px 26px; font-weight: 700;
	text-transform: none; font-size: 12px; letter-spacing: 0; cursor: pointer;
}

.tc-pdp-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tc-pdp-related-card { display: block; text-decoration: none; color: inherit; position: relative; }
.tc-pdp-related-card__img { position: relative; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: #F0EBE2; }
.tc-pdp-related-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tc-pdp-related-card__heart {
	position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: none;
	background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; color: var(--tc-black);
}
.tc-pdp-related-card__heart.is-active { color: #E24C4C; }
.tc-pdp-related-card__heart i.fas { color: #E24C4C; }
.tc-pdp-related-card__body { padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.tc-pdp-related-card__name { font-weight: 700; font-size: 14px; color: var(--tc-black); }
.tc-pdp-related-card__price { font-size: 13px; color: var(--tc-grey); }
.tc-pdp-related-empty { padding: 20px; color: var(--tc-grey); font-size: 14px; }

.tc-pdp-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.tc-pdp-modal__backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.6); }
.tc-pdp-modal__panel { position: relative; background: #fff; border-radius: 16px; padding: 28px; max-width: 420px; width: calc(100% - 40px); }
.tc-pdp-modal__panel h3 { font-family: 'Archivo Black', sans-serif; font-size: 18px; text-transform: uppercase; margin: 0 0 16px; }
.tc-pdp-modal__close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; line-height: 1; color: var(--tc-grey); }
.tc-pdp-sizeguide-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tc-pdp-sizeguide-table th { text-align: left; padding: 8px 6px; color: var(--tc-grey); font-weight: 600; border-bottom: 1px solid var(--tc-line); }
.tc-pdp-sizeguide-table td { padding: 10px 6px; border-bottom: 1px solid var(--tc-line); }

.tc-pdp-zoom-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(17,17,17,.96); display: flex; align-items: center; justify-content: center; }
.tc-pdp-zoom-overlay__image { max-width: 90vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
.tc-pdp-zoom-overlay__image img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.tc-pdp-zoom-overlay__close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }
.tc-pdp-zoom-overlay__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
	border: none; background: rgba(249,245,239,.15); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.tc-pdp-zoom-overlay__nav--prev { left: 20px; }
.tc-pdp-zoom-overlay__nav--next { right: 20px; }
body.tc-pdp-locked { overflow: hidden; }

.tc-pdp-mobile-bar {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
	background: #fff; border-top: 1px solid var(--tc-line); padding: 10px 16px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	align-items: center; gap: 10px; box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.tc-pdp-mobile-bar__price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: #111111; min-width: 76px; }
.tc-pdp-mobile-bar__wl {
	width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; border: 1.5px solid var(--tc-line); background: #fff;
	display: flex; align-items: center; justify-content: center; color: var(--tc-black);
}
.tc-pdp-mobile-bar__wl.is-active { border-color: #E24C4C; color: #E24C4C; }
.tc-pdp-mobile-bar__cta {
	flex: 1 1 auto; height: 44px; border-radius: 999px; border: none; background: var(--tc-green); color: var(--tc-black);
	font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; text-transform: none; letter-spacing: 0;
}
.tc-pdp-mobile-bar__cta:disabled { opacity: .4; }

@media (max-width: 1024px) {
	.tc-pdp-related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
	.tc-pdp-mobile-bar { display: flex; }
	body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
	.tc-pdp-related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; overflow-x: visible; }
	.tc-pdp-reviews-list { grid-template-columns: 1fr; }

	.tc-pdp-tabs-head { display: none; }
	.tc-pdp-tab-panel { display: block; border-bottom: 1px solid var(--tc-line); }
	.tc-pdp-tab-panel:last-child { border-bottom: none; }
	.tc-pdp-accordion-head {
		display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer;
		font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: var(--tc-black);
	}
	.tc-pdp-accordion-head i { transition: transform .2s; color: var(--tc-grey); }
	.tc-pdp-tab-panel.is-open .tc-pdp-accordion-head i { transform: rotate(180deg); }
	.tc-pdp-accordion-body { display: none; padding-bottom: 18px; }
	.tc-pdp-tab-panel.is-open .tc-pdp-accordion-body { display: block; }
	.tc-pdp-tabs-panels { padding-top: 0; }

	.tc-pdp-gallery__stage { border-radius: 0; }
	#tc-pdp-main-row { padding-left: 0 !important; padding-right: 0 !important; }
	.tc-pdp-gallery-wrap, #tc-pdp-gallery { padding: 0; }
	#tc-pdp-gallery { padding: 0 0 0 0; }
	.tc-pdp-gallery__stage { margin: 0; }
}

@media (min-width: 768px) {
	.tc-pdp-notify__form input { max-width: 260px; }
}

/* ---------------------------------------------------------------------
   Product Reviews — rating distribution bars, review card extras
   (verified badge, title), and the "Write a review" modal.
   All data-driven from real WooCommerce reviews (see pdp.js loadReviews()
   / reviewCardHtml() / submitReview()) — no fake states, no fake counters.
--------------------------------------------------------------------- */
.tc-pdp-reviews-summary__top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.tc-pdp-dist { display: flex; flex-direction: column; gap: 6px; max-width: 320px; }
.tc-pdp-dist-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tc-grey); }
.tc-pdp-dist-row__label { width: 14px; flex: 0 0 14px; text-align: right; font-weight: 700; color: var(--tc-black); }
.tc-pdp-dist-row__track { flex: 1 1 auto; height: 6px; border-radius: 999px; background: #F0EBE2; overflow: hidden; }
.tc-pdp-dist-row__fill { height: 100%; background: var(--tc-green); border-radius: 999px; }
.tc-pdp-dist-row__pct { width: 34px; flex: 0 0 34px; text-align: right; }

.tc-pdp-review__verified {
	display: inline-flex; align-items: center; gap: 4px; margin-left: 8px;
	font-size: 11px; font-weight: 700; color: #3F8E3F; text-transform: uppercase; letter-spacing: .03em;
}
.tc-pdp-review__verified i { font-size: 11px; }
.tc-pdp-review__title { font-weight: 700; font-size: 13px; color: var(--tc-black); margin: 0 0 4px; }

/* -----------------------------------------------------------------
   Write-a-review modal — desktop: centered popup (same pattern as
   .tc-pdp-modal); mobile: bottom sheet (see @media 767px below).
   Elementor Library post 176 ("TattooClub Review Form"), rendered into
   wp_footer on product pages only — same technique as Cart Drawer /
   Wishlist Dropdown / Search Overlay.
----------------------------------------------------------------- */
#tc-review-modal {
	display: none; position: fixed; inset: 0; z-index: 10000;
	align-items: center; justify-content: center; padding: 20px;
}
#tc-review-modal.is-open { display: flex; }
#tc-review-modal > .e-con-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
#tc-review-modal-backdrop { position: fixed; inset: 0; background: rgba(17,17,17,.6); cursor: pointer; }
#tc-review-modal-panel {
	position: relative; z-index: 1; display: flex; flex-direction: column;
	background: #fff; border-radius: 20px; padding: 32px;
	max-width: 520px; width: 100%; max-height: 88vh; overflow-y: auto;
}
.tc-review-modal-close {
	position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
	background: none; border: none; font-size: 18px; color: var(--tc-grey); cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.tc-review-modal-close:hover { background: #F0EBE2; color: var(--tc-black); }
.tc-review-modal-title {
	font-family: 'Archivo Black', sans-serif; font-size: 20px; text-transform: uppercase;
	margin: 0 0 20px; padding-right: 30px; color: var(--tc-black);
}

#tc-review-modal .tc-review-state { display: none; }
#tc-review-modal .tc-review-state.is-active { display: block; }

.tc-review-product-preview { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px; background: #F9F5EF; border-radius: 12px; }
.tc-review-product-preview__img { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 8px; overflow: hidden; background: #F0EBE2; }
.tc-review-product-preview__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-review-product-preview__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tc-review-product-name { font-weight: 700; font-size: 14px; color: var(--tc-black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-review-product-variation { font-size: 12px; color: var(--tc-grey); }

.tc-review-field { margin-bottom: 16px; }
.tc-review-field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--tc-black); margin-bottom: 8px; }
.tc-review-req { color: #C0392B; }
.tc-review-field input[type="text"], .tc-review-field input[type="email"], .tc-review-field textarea {
	width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--tc-line);
	background: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--tc-black); outline: none; resize: vertical;
	transition: border-color .15s;
}
.tc-review-field input:focus, .tc-review-field textarea:focus { border-color: var(--tc-black); }
.tc-review-field.has-error input, .tc-review-field.has-error textarea { border-color: #C0392B; }
.tc-review-error { margin: 6px 0 0; font-size: 12px; color: #C0392B; font-weight: 600; }
.tc-review-hint { margin: 6px 0 0; font-size: 11px; color: var(--tc-grey); }
.tc-review-charcount { text-align: right; font-size: 11px; color: var(--tc-grey); margin-top: 4px; }
.tc-review-field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tc-review-field-row .tc-review-field { flex: 1 1 200px; margin-bottom: 16px; }

.tc-review-stars { display: flex; gap: 6px; }
.tc-review-star { background: none; border: none; padding: 4px; cursor: pointer; font-size: 24px; line-height: 1; }
.tc-review-star i { color: var(--tc-grey); transition: color .15s, transform .1s; }
.tc-review-star:hover i, .tc-review-star.is-selected i { color: var(--tc-green); }
.tc-review-star:hover { transform: scale(1.05); }

.tc-review-verified-badge {
	display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 8px 14px; border-radius: 999px;
	background: rgba(183,228,28,.18); color: #3F8E3F; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.tc-review-verified-info { cursor: help; color: var(--tc-grey); font-size: 12px; }

.tc-review-submit-btn {
	width: 100%; height: 52px; border-radius: 999px; border: none; background: var(--tc-green); color: var(--tc-black);
	font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; text-transform: none; letter-spacing: 0;
	cursor: pointer; transition: background .15s, opacity .15s;
}
.tc-review-submit-btn:hover:not(:disabled) { background: var(--tc-black); color: var(--tc-ivory); }
.tc-review-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

#tc-review-error-general:not([hidden]) { margin: 0 0 16px; text-align: center; }

.tc-review-state-icon {
	width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 26px; margin: 0 auto 16px;
}
.tc-review-state-icon--success { background: var(--tc-green); color: var(--tc-black); }
.tc-review-state-icon--error { background: #FBE4E1; color: #C0392B; }
#tc-review-state-success h3, #tc-review-state-error h3 {
	font-family: 'Archivo Black', sans-serif; font-size: 18px; text-transform: uppercase; text-align: center; margin: 0 0 10px; color: var(--tc-black);
}
#tc-review-state-success p, #tc-review-state-error p { text-align: center; font-size: 14px; color: var(--tc-grey); line-height: 1.6; margin: 0 0 24px; }
.tc-review-cta-btn {
	display: block; width: 100%; height: 48px; border-radius: 999px; border: none; background: var(--tc-black); color: var(--tc-ivory);
	font-weight: 700; font-size: 13px; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.tc-review-cta-btn--ghost { background: none; border: 1.5px solid var(--tc-line); color: var(--tc-black); margin-top: 10px; }
#tc-review-state-error .tc-review-submit-btn { margin-bottom: 10px; }

@media (max-width: 767px) {
	#tc-review-modal { align-items: flex-end; padding: 0; }
	#tc-review-modal-panel {
		max-width: 100%; width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0;
		padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
	}
	.tc-pdp-dist { max-width: 100%; }
	.tc-pdp-reviews-summary { gap: 10px; }
	.tc-review-field-row { flex-direction: column; gap: 0; }
	.tc-review-product-preview { padding: 10px; }
}

/* Add-to-cart loading state (cart engine) */
#tc-pdp-addtocart.is-adding, #tc-pdp-mobile-addtocart.is-adding { opacity: 1 !important; cursor: progress; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tc-pdp-spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: tc-pdp-spin .7s linear infinite; flex: 0 0 auto; }
@keyframes tc-pdp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tc-pdp-spin { animation-duration: 2s; } }


/* ---------- layout fixes 2026-10-04: one gutter on mobile, no dead space ---------- */
.tc-pdp-cta-feedback:empty { min-height: 0; margin: 0; }
@media (max-width: 767px) {
	.elementor-element-pdpgalc1, .elementor-element-pdpftrow1 { --padding-left: 0px !important; --padding-right: 0px !important; padding-left: 0 !important; padding-right: 0 !important; }
	.elementor-element-pdpftrow1 { margin-top: 4px !important; }
	.elementor-element-pdptabsec1, .elementor-element-rvpdps1, .elementor-element-pdprelsec1, .elementor-element-pdpnlwrap1 { --padding-left: 0px !important; --padding-right: 0px !important; padding-left: 0 !important; padding-right: 0 !important; }
}
