/**
 * Public storefront styles (Tienda Digital El Referente).
 *
 * Storefront landing stylesheet matching the reference mockup: light canvas,
 * horizontal product cards, "Lo más vendido" and "Paquetes" carousels and a
 * 3-column "Todas las guías de inversión" grid with a "Ver más" action.
 *
 * @package    Tienda_Digital_El_Referente
 * @subpackage Tienda_Digital_El_Referente/public/css
 */

/* ---- Storefront base --------------------------------------------------- */

.tder-storefront {
	background: #f8f8f8;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #06080f;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.tder-landing {
	padding: 32px 24px 64px;
}

.tder-store-header,
.tder-section {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/* ---- Header ------------------------------------------------------------ */

.tder-store-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}

.tder-store-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tder-store-header__logo {
	width: 28px;
	height: 28px;
	background: #06080f;
	border-radius: 4px;
	flex: 0 0 auto;
}

.tder-store-header__title {
	font-size: 36px;
	font-weight: 700;
	color: #06080f;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.tder-store-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.tder-store-header__search {
	position: relative;
	display: flex;
	align-items: center;
}

.tder-store-header__search-icon {
	position: absolute;
	left: 10px;
	color: #64748d;
	pointer-events: none;
	display: flex;
}

.tder-store-header__search-input {
	width: 260px;
	padding: 10px 12px 10px 34px;
	border: 1px solid #d1d9e6;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	color: #06080f;
	background: #fff;
	transition: border-color 150ms ease;
}

.tder-store-header__search-input::placeholder {
	color: #94a3b8;
}

.tder-store-header__search-input:focus {
	outline: none;
	border-color: #0076a6;
}

.tder-store-header__cart {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid #0076a6;
	border-radius: 4px;
	background: #fff;
	color: #0076a6;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-store-header__cart:hover,
.tder-store-header__cart:focus {
	background: #eef6f9;
}

.tder-store-header__cart-icon {
	display: flex;
}

/* ---- Sections ---------------------------------------------------------- */

.tder-section {
	margin-bottom: 48px;
}

.tder-section__title {
	font-size: 22px;
	font-weight: 700;
	color: #06080f;
	margin: 0 0 20px;
	line-height: 1.25;
}
/* ---- Search empty state ------------------------------------------------ */

.tder-search-empty {
	text-align: center;
	padding: 48px 24px;
	color: #64748d;
}

.tder-search-empty__icon {
	color: #94a3b8;
	margin-bottom: 16px;
}

.tder-search-empty__title {
	font-size: 18px;
	font-weight: 700;
	color: #06080f;
	margin: 0 0 8px;
}

.tder-search-empty__hint {
	font-size: 14px;
	margin: 0;
}
/* ---- Carousel ---------------------------------------------------------- */

.tder-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 40px) / 3);
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.tder-carousel__track::-webkit-scrollbar {
	display: none;
}

.tder-carousel__nav {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.tder-carousel__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	border: 1px solid #0076a6;
	border-radius: 4px;
	background: #fff;
	color: #0076a6;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-carousel__arrow:hover,
.tder-carousel__arrow:focus {
	background: #eef6f9;
}

/* ---- Grid ("Todas las guías de inversión") ----------------------------- */

.tder-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.tder-grid .tder-product--more {
	display: none;
}

.tder-grid--expanded .tder-product--more {
	display: flex;
}

.tder-view-more-wrap {
	text-align: center;
	margin-top: 32px;
}

.tder-view-more {
	display: inline-block;
	padding: 12px 40px;
	border: none;
	border-radius: 4px;
	background: #0076a6;
	color: #fff;
	font-size: 15px;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-view-more:hover,
.tder-view-more:focus {
	background: #005f87;
}

/* ---- Product card ------------------------------------------------------ */

.tder-product {
	display: flex;
	gap: 16px;
	background: #fff;
	border: 1px solid #e3edf4;
	border-radius: 6px;
	padding: 16px;
	min-width: 0;
}

.tder-product__image-wrap {
	flex: 0 0 40%;
	min-width: 0;
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: #eef2f6;
}

.tder-product__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #eef2f6;
}

.tder-product__image--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background: #eef2f6;
}

.tder-product__content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.tder-product__title {
	font-size: 16px;
	font-weight: 700;
	color: #06080f;
	line-height: 1.3;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tder-product__title a {
	color: #06080f;
	text-decoration: none;
}

.tder-product__title a:hover {
	color: #0076a6;
}

.tder-product__subtitle {
	font-size: 14px;
	color: #64748d;
	line-height: 1.4;
	margin: 0 0 12px;
}

.tder-product__separator {
	border-top: 1px solid #e3edf4;
	margin: auto 0 12px;
}

.tder-product__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.tder-product__price-group {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.tder-product__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.tder-product__price-value {
	font-size: 22px;
	font-weight: 700;
	color: #06080f;
	line-height: 1;
}

.tder-product__price-currency {
	font-size: 13px;
	color: #64748d;
}

.tder-product__price-original {
	font-size: 13px;
	color: #94a3b8;
	text-decoration: line-through;
}

.tder-product__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 36px;
	border: none;
	border-radius: 4px;
	background: #0076a6;
	color: #fff;
	flex: 0 0 auto;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-product__cart:hover,
.tder-product__cart:focus {
	background: #005f87;
}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 992px) {
	.tder-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tder-carousel__track {
		grid-auto-columns: calc((100% - 20px) / 2);
	}
}

@media (max-width: 600px) {
	.tder-grid {
		grid-template-columns: 1fr;
	}

	.tder-carousel__track {
		grid-auto-columns: 85%;
	}

	.tder-store-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.tder-store-header__actions {
		width: 100%;
	}

	.tder-store-header__search {
		flex: 1 1 auto;
	}

	.tder-store-header__search-input {
		width: 100%;
	}

	.tder-store-header__title {
		font-size: 28px;
	}
}

    /* ---- Product detail --------------------------------------------------- */

    .tder-detail {
    	padding: 32px 24px 64px;
    }

    .tder-detail__layout {
    	display: grid;
    	grid-template-columns: 45% 55%;
    	gap: 40px;
    	align-items: start;
    	max-width: 1200px;
    	margin: 0 auto;
    }

    .tder-detail .tder-section {
    	margin-top: 56px;
    	border-top: 1px solid #e3edf4;
    	padding-top: 32px;
    }

    .tder-detail__gallery {
    	min-width: 0;
    }

    .tder-detail__cover {
    	display: block;
    	width: 100%;
    	border-radius: 8px;
    	overflow: hidden;
    	background: #fff;
    	border: 1px solid #e3edf4;
    }

    .tder-detail__cover img {
    	display: block;
    	width: 100%;
    	height: auto;
    	object-fit: cover;
    }

    .tder-detail__cover--placeholder {
    	display: block;
    	width: 100%;
    	min-height: 320px;
    	background: #eef2f6;
    }

    .tder-detail__info {
    	min-width: 0;
    }

    .tder-detail__title {
    	font-size: 28px;
    	font-weight: 700;
    	color: #06080f;
    	line-height: 1.25;
    	margin: 0 0 12px;
    }

    .tder-detail__rating {
    	display: flex;
    	align-items: center;
    	gap: 12px;
    	margin-bottom: 20px;
    }

    .tder-detail__stars {
    	display: flex;
    	align-items: center;
    	gap: 2px;
    }

    .tder-detail__star {
    	display: block;
    }

    .tder-detail__sold {
    	font-size: 14px;
    	color: #64748d;
    }

    .tder-detail__description {
    	margin-bottom: 20px;
    }

    .tder-detail__description-text {
    	font-size: 15px;
    	line-height: 1.6;
    	color: #334155;
    	display: -webkit-box;
    	-webkit-line-clamp: 4;
    	-webkit-box-orient: vertical;
    	overflow: hidden;
    }

    .tder-detail__description--expanded .tder-detail__description-text {
    	-webkit-line-clamp: unset;
    	display: block;
    	overflow: visible;
    }

    .tder-detail__read-more {
    	margin-top: 8px;
    	border: none;
    	background: none;
    	padding: 0;
    	border-radius: 0;
    	color: #0076a6;
    	font-size: 14px;
    	font-family: inherit;
    	font-weight: inherit;
    	line-height: inherit;
    	cursor: pointer;
    	text-decoration: underline;
    }

    .tder-detail__read-more:hover,
    .tder-detail__read-more:focus {
    	color: #005f87;
    }

    .tder-detail__description--expanded .tder-detail__read-more {
    	display: none;
    }

    .tder-detail__read-more[hidden] {
    	display: none;
    }

    .tder-detail__attributes {
    	display: grid;
    	grid-template-columns: repeat(3, 1fr);
    	gap: 12px;
    	margin-bottom: 20px;
    }

    .tder-detail__attr {
    	background: #f1f5f9;
    	border-radius: 6px;
    	padding: 16px;
    }

    .tder-detail__attr-label {
    	display: block;
    	font-size: 12px;
    	text-transform: uppercase;
    	letter-spacing: 0.04em;
    	color: #94a3b8;
    	margin-bottom: 6px;
    }

    .tder-detail__attr-value {
    	display: block;
    	font-size: 15px;
    	font-weight: 600;
    	color: #06080f;
    }

    .tder-detail__formats {
    	display: flex;
    	flex-wrap: wrap;
    	gap: 12px;
    	margin-bottom: 20px;
    }

    .tder-detail__format-option {
    	display: inline-flex;
    	align-items: center;
    	justify-content: center;
    	min-width: 140px;
    	padding: 12px 16px;
    	border: 1px solid #d1d9e6;
    	border-radius: 6px;
    	background: #fff;
    	text-align: center;
    	cursor: pointer;
    	transition: border-color 150ms ease, background-color 150ms ease;
    }

    .tder-detail__format-option:hover,
    .tder-detail__format-option:focus {
    	border-color: #0076a6;
    }

    .tder-detail__format-option--active {
    	border-color: #0076a6;
    	background: #eef6f9;
    }

    .tder-detail__format-label {
    	font-size: 15px;
    	font-weight: 700;
    	color: #06080f;
    }

    .tder-detail__price-row {
    	display: flex;
    	align-items: center;
    	justify-content: space-between;
    	gap: 20px;
    	background: #fff;
    	border: 1px solid #e3edf4;
    	border-radius: 6px;
    	padding: 20px;
    	margin-bottom: 12px;
    }

    .tder-detail__price {
    	display: flex;
    	align-items: baseline;
    	gap: 8px;
    }

    .tder-detail__price-value {
    	font-size: 28px;
    	font-weight: 700;
    	color: #06080f;
    	line-height: 1;
    }

    .tder-detail__currency {
    	font-size: 14px;
    	color: #64748d;
    }

    .tder-detail__price-original {
    	font-size: 14px;
    	color: #94a3b8;
    	text-decoration: line-through;
    }

    .tder-detail__cart {
    	display: inline-block;
    	padding: 12px 28px;
    	border: none;
    	border-radius: 4px;
    	background: #0076a6;
    	color: #fff;
    	font-size: 15px;
    	font-family: inherit;
    	font-weight: 600;
    	cursor: pointer;
    	transition: background-color 150ms ease;
    }

    .tder-detail__cart:hover,
    .tder-detail__cart:focus {
    	background: #005f87;
    }

    .tder-detail__vat {
    	font-size: 12px;
    	color: #94a3b8;
    	margin: 0;
    }

    @media (max-width: 768px) {
    	.tder-detail__layout {
    		grid-template-columns: 1fr;
    		gap: 24px;
    	}

    	.tder-detail__attributes {
    		grid-template-columns: 1fr;
    	}

    	.tder-detail__price-row {
    		flex-direction: column;
    		align-items: flex-start;
    	}
    }

    /* ---- Cart drawer ------------------------------------------------------ */

    /* Lock the page behind the open drawer. */
    body.tder-cart-open {
    	overflow: hidden;
    }

    .tder-cart-drawer {
    	position: fixed;
    	inset: 0;
    	z-index: 9999;
    	visibility: hidden;
    	pointer-events: none;
    	/* Keep the panel visible during the 300ms close transition before
    	   flipping to hidden (visibility is not animatable). */
    	transition: visibility 0s linear 300ms;
    }

    .tder-cart-drawer--open {
    	visibility: visible;
    	pointer-events: auto;
    	/* Reveal instantly so the open transition plays. */
    	transition: visibility 0s;
    }

    .tder-cart-drawer__overlay {
    	position: absolute;
    	inset: 0;
    	background: rgba(6, 8, 15, 0.4);
    	opacity: 0;
    	pointer-events: none;
    	transition: opacity 250ms ease;
    }

    .tder-cart-drawer--open .tder-cart-drawer__overlay {
    	opacity: 1;
    	pointer-events: auto;
    }

    .tder-cart-drawer__panel {
    	position: absolute;
    	top: 0;
    	right: 0;
    	height: 100%;
    	width: min(480px, 100%);
    	background: #fff;
    	border-radius: 12px 0 0 12px;
    	box-shadow: -12px 0 30px rgba(6, 8, 15, 0.14);
    	display: flex;
    	flex-direction: column;
    	min-height: 0;
    	transform: translateX(100%);
    	transition: transform 300ms ease;
    }

    .tder-cart-drawer--open .tder-cart-drawer__panel {
    	transform: translateX(0);
    }

    .tder-cart-drawer__header {
    	display: flex;
    	align-items: center;
    	justify-content: space-between;
    	gap: 16px;
    	padding: 24px 28px;
    	border-bottom: 1px solid #e3edf4;
    	flex: 0 0 auto;
    }

    .tder-cart-drawer__title {
    	font-size: 28px;
    	font-weight: 700;
    	color: #06080f;
    	letter-spacing: -0.02em;
    	line-height: 1.1;
    	margin: 0;
    }

    .tder-cart-drawer__close {
    	display: inline-flex;
    	align-items: center;
    	justify-content: center;
    	width: 40px;
    	min-width: 40px;
    	height: 40px;
    	border: none;
    	border-radius: 4px;
    	background: none;
    	color: #0076a6;
    	flex: 0 0 auto;
    	cursor: pointer;
    	transition: background-color 150ms ease;
    }

    .tder-cart-drawer__close:hover,
    .tder-cart-drawer__close:focus {
    	background: #eef6f9;
    }

    .tder-cart-drawer__body {
    	flex: 1 1 auto;
    	min-height: 0;
    	overflow-y: auto;
    	padding: 20px 28px;
    }

    .tder-cart-drawer__items {
    	display: flex;
    	flex-direction: column;
    	gap: 16px;
    }

    .tder-cart-item {
    	display: flex;
    	gap: 16px;
    	padding: 14px;
    	border: 1px solid #e3edf4;
    	border-radius: 8px;
    	background: #fff;
    	position: relative;
    }

    .tder-cart-item__cover {
    	position: relative;
    	flex: 0 0 88px;
    	width: 88px;
    	height: 124px;
    	border-radius: 6px;
    	overflow: hidden;
    	background: #eef2f6;
    }

    .tder-cart-item__content {
    	flex: 1 1 auto;
    	min-width: 0;
    	display: flex;
    	flex-direction: column;
    }

    .tder-cart-item__remove {
    	position: absolute;
    	top: 12px;
    	right: 12px;
    	display: inline-flex;
    	align-items: center;
    	justify-content: center;
    	width: 26px;
    	min-width: 26px;
    	height: 26px;
    	border: none;
    	border-radius: 4px;
    	background: none;
    	color: #64748d;
    	flex: 0 0 auto;
    	cursor: pointer;
    	transition: color 150ms ease, background-color 150ms ease;
    }

    .tder-cart-item__remove:hover,
    .tder-cart-item__remove:focus {
    	color: #06080f;
    	background: #eef2f6;
    }

    .tder-cart-item__title {
    	font-size: 16px;
    	font-weight: 700;
    	color: #06080f;
    	line-height: 1.35;
    	margin: 0 32px 6px 0;
    }

    .tder-cart-item__meta {
    	font-size: 14px;
    	color: #64748d;
    	line-height: 1.4;
    	margin: 0 0 12px;
    }

    .tder-cart-item__row {
    	margin-top: auto;
    	display: flex;
    	align-items: flex-end;
    	justify-content: space-between;
    	gap: 12px;
    	padding-top: 12px;
    	border-top: 1px solid #eef1f4;
    }

    .tder-cart-item__price {
    	display: flex;
    	align-items: baseline;
    	gap: 6px;
    }

    .tder-cart-item__price-value {
    	font-size: 22px;
    	font-weight: 700;
    	color: #06080f;
    	line-height: 1;
    }

    .tder-cart-item__price-currency {
    	font-size: 13px;
    	color: #64748d;
    }

    .tder-cart-item__qty {
    	display: inline-flex;
    	align-items: stretch;
    	height: 36px;
    	border: 1px solid #0076a6;
    	border-radius: 4px;
    	overflow: hidden;
    }

    .tder-cart-item__qty-btn {
    	display: inline-flex;
    	align-items: center;
    	justify-content: center;
    	width: 36px;
    	min-width: 36px;
    	border: none;
    	background: #fff;
    	color: #0076a6;
    	font-size: 20px;
    	line-height: 1;
    	cursor: pointer;
    	transition: background-color 150ms ease;
    }

    .tder-cart-item__qty-btn:hover,
    .tder-cart-item__qty-btn:focus {
    	background: #eef6f9;
    }

    .tder-cart-item__qty-value {
    	display: inline-flex;
    	align-items: center;
    	justify-content: center;
    	min-width: 34px;
    	padding: 0 6px;
    	border-left: 1px solid #d1d9e6;
    	border-right: 1px solid #d1d9e6;
    	font-size: 15px;
    	font-weight: 600;
    	color: #06080f;
    }

    .tder-cart-drawer__footer {
    	padding: 20px 28px 28px;
    	border-top: 1px solid #e3edf4;
    	background: #fff;
    	flex: 0 0 auto;
    }

    .tder-cart-drawer__summary {
    	margin-bottom: 16px;
    }

    .tder-cart-drawer__summary-label {
    	display: block;
    	font-size: 13px;
    	text-transform: uppercase;
    	letter-spacing: 0.04em;
    	color: #64748d;
    	margin-bottom: 6px;
    }

    .tder-cart-drawer__summary-price {
    	display: flex;
    	align-items: baseline;
    	gap: 8px;
    }

    .tder-cart-drawer__summary-value {
    	font-size: 34px;
    	font-weight: 700;
    	color: #06080f;
    	line-height: 1;
    }

    .tder-cart-drawer__summary-currency {
    	font-size: 14px;
    	color: #64748d;
    }

    .tder-cart-drawer__summary-note {
    	font-size: 13px;
    	font-style: italic;
    	color: #64748d;
    	margin: 8px 0 0;
    }

    .tder-cart-drawer__checkout {
    	display: inline-flex;
    	align-items: center;
    	justify-content: center;
    	gap: 10px;
    	width: 100%;
    	padding: 14px 20px;
    	border: none;
    	border-radius: 4px;
    	background: #0076a6;
    	color: #fff;
    	font-size: 16px;
    	font-weight: 600;
    	font-family: inherit;
    	text-decoration: none;
    	cursor: pointer;
    	transition: background-color 150ms ease;
    }

    .tder-cart-drawer__checkout:hover,
    .tder-cart-drawer__checkout:focus {
    	background: #005f87;
    }

    .tder-cart-drawer__checkout-icon {
    	display: flex;
    }

    .tder-cart-drawer__payments {
    	display: flex;
    	align-items: center;
    	gap: 12px;
    	margin-top: 20px;
    }

    .tder-cart-drawer__payments-label {
    	font-size: 13px;
    	color: #64748d;
    }

    .tder-cart-drawer__payments-badges {
    	display: inline-flex;
    	align-items: center;
    	gap: 6px;
    }

    .tder-pay-badge {
    	display: inline-flex;
    	align-items: center;
    	justify-content: center;
    	height: 26px;
    	padding: 0 8px;
    	border-radius: 4px;
    	border: 1px solid #e3edf4;
    	background: #fff;
    	font-size: 12px;
    	font-weight: 700;
    	letter-spacing: 0.02em;
    }

    .tder-pay-badge--visa {
    	color: #1a1f71;
    }

    .tder-pay-badge--mastercard {
    	gap: 2px;
    }

    .tder-pay-badge__dot {
    	display: inline-block;
    	width: 14px;
    	height: 14px;
    	border-radius: 50%;
    }

    .tder-pay-badge__dot--red {
    	background: #eb001b;
    	margin-right: -5px;
    }

    .tder-pay-badge__dot--orange {
    	background: #f79e1b;
    }

    .tder-pay-badge--amex {
    	color: #fff;
    	background: #2e77bc;
    	border-color: #2e77bc;
    }

    @media (max-width: 600px) {
    	.tder-cart-drawer__panel {
    		width: 100%;
    		border-radius: 0;
    	}

    	.tder-cart-drawer__header,
    	.tder-cart-drawer__body,
    	.tder-cart-drawer__footer {
    		padding-left: 20px;
    		padding-right: 20px;
    	}
    }

/* ---- Cart page (Tienda → /tienda/carrito/) ----------------------------- */

.tder-cart-page {
	background: #f8f8f8;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #06080f;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.tder-cart-page__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 24px 48px;
}

/* ---- Header ----------------------------------------------------------- */

.tder-cart-page__header {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 28px;
}

.tder-cart-page__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 44px;
	border: 1px solid #0076a6;
	border-radius: 6px;
	background: #fff;
	color: #0076a6;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-cart-page__back:hover,
.tder-cart-page__back:focus {
	background: #eef6f9;
}

.tder-cart-page__title {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #06080f;
	margin: 0;
}

/* ---- Layout ----------------------------------------------------------- */

.tder-cart-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	align-items: start;
}

.tder-cart-page__main {
	min-width: 0;
}

.tder-cart-lines {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ---- Cart line -------------------------------------------------------- */

.tder-cart-line {
	position: relative;
	display: flex;
	gap: 22px;
	background: #fff;
	border: 1px solid #e3edf4;
	border-radius: 10px;
	padding: 20px;
	transition: opacity 200ms ease;
}

.tder-cart-line--removing {
	opacity: 0;
}

.tder-cart-line__cover {
	flex: 0 0 108px;
	width: 108px;
	height: 152px;
	border-radius: 6px;
	overflow: hidden;
	background: #eef2f6;
}

.tder-cart-line__content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.tder-cart-line__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.tder-cart-line__title {
	font-size: 20px;
	font-weight: 700;
	color: #06080f;
	line-height: 1.3;
	margin: 0;
}

.tder-cart-line__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	min-width: 30px;
	height: 30px;
	border: none;
	border-radius: 4px;
	background: none;
	color: #64748d;
	flex: 0 0 auto;
	cursor: pointer;
	transition: color 150ms ease, background-color 150ms ease;
}

.tder-cart-line__remove:hover,
.tder-cart-line__remove:focus {
	color: #06080f;
	background: #eef2f6;
}

.tder-cart-line__rating {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.tder-cart-line__stars {
	display: flex;
	align-items: center;
	gap: 2px;
	color: #f5b301;
}

.tder-cart-line__sold {
	font-size: 14px;
	color: #64748d;
}

.tder-cart-line__attrs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 20px;
}

.tder-cart-line__attr {
	background: #f5f6f8;
	border-radius: 6px;
	padding: 14px 16px;
	min-width: 0;
}

.tder-cart-line__attr-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
	margin: 0 0 6px;
}

.tder-cart-line__attr-value {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #06080f;
	margin: 0;
}

.tder-cart-line__footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid #eef1f4;
}

.tder-cart-line__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.tder-cart-line__price-value {
	font-size: 22px;
	font-weight: 700;
	color: #06080f;
	line-height: 1;
}

.tder-cart-line__price-currency {
	font-size: 13px;
	color: #64748d;
}

.tder-cart-line__qty {
	display: inline-flex;
	align-items: stretch;
	height: 38px;
	border: 1px solid #0076a6;
	border-radius: 4px;
	overflow: hidden;
}

.tder-cart-line__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	min-width: 38px;
	border: none;
	background: #fff;
	color: #0076a6;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-cart-line__qty-btn:hover,
.tder-cart-line__qty-btn:focus {
	background: #eef6f9;
}

.tder-cart-line__qty-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	padding: 0 6px;
	border-left: 1px solid #d1d9e6;
	border-right: 1px solid #d1d9e6;
	font-size: 15px;
	font-weight: 600;
	color: #06080f;
}

/* ---- Related rail ----------------------------------------------------- */

.tder-cart-page__related {
	min-width: 0;
}

.tder-cart-page__related-title {
	font-size: 18px;
	font-weight: 700;
	color: #06080f;
	margin: 0 0 16px;
}

.tder-cart-page__related-scroll {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 560px;
	overflow-y: auto;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: #d1d9e6 transparent;
}

.tder-related-card {
	display: flex;
	gap: 14px;
	background: #fff;
	border: 1px solid #e3edf4;
	border-radius: 8px;
	padding: 14px;
	min-width: 0;
}

.tder-related-card__cover {
	flex: 0 0 60px;
	width: 60px;
	height: 84px;
	border-radius: 4px;
	overflow: hidden;
	background: #eef2f6;
}

.tder-related-card__content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.tder-related-card__title {
	font-size: 15px;
	font-weight: 700;
	color: #06080f;
	line-height: 1.35;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tder-related-card__meta {
	font-size: 13px;
	color: #64748d;
	line-height: 1.4;
	margin: 0 0 10px;
}

.tder-related-card__separator {
	border-top: 1px solid #e3edf4;
	margin: auto 0 10px;
}

.tder-related-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.tder-related-card__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.tder-related-card__price-value {
	font-size: 18px;
	font-weight: 700;
	color: #06080f;
	line-height: 1;
}

.tder-related-card__price-currency {
	font-size: 12px;
	color: #64748d;
}

.tder-related-card__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 34px;
	border: none;
	border-radius: 4px;
	background: #0076a6;
	color: #fff;
	flex: 0 0 auto;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-related-card__cart:hover,
.tder-related-card__cart:focus {
	background: #005f87;
}

/* ---- Cart / rail cover images (real product artwork) ------------------ */

/* Cart, cart-page line and related-rail thumbnails show the product's own
 * cover image (featured attachment), filled to the box. Products without
 * an image keep the neutral placeholder background on the container. */
.tder-cart-item__cover-img,
.tder-cart-line__cover-img,
.tder-related-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---- Checkout summary bar --------------------------------------------- */

.tder-cart-page__bar {
	position: sticky;
	bottom: 0;
	z-index: 10;
	background: #fff;
	border-top: 1px solid #e3edf4;
	box-shadow: 0 -6px 18px rgba(6, 8, 15, 0.05);
}

.tder-cart-page__bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.tder-cart-page__total {
	min-width: 0;
}

.tder-cart-page__total-label {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748d;
	margin-bottom: 6px;
}

.tder-cart-page__total-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.tder-cart-page__total-value {
	font-size: 36px;
	font-weight: 700;
	color: #06080f;
	line-height: 1;
}

.tder-cart-page__total-currency {
	font-size: 14px;
	color: #64748d;
}

.tder-cart-page__total-note {
	font-size: 13px;
	font-style: italic;
	color: #64748d;
	margin: 8px 0 0;
}

.tder-cart-page__actions {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.tder-cart-page__payments {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tder-cart-page__payments-label {
	font-size: 13px;
	color: #64748d;
}

.tder-cart-page__payments-badges {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tder-cart-page__checkout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border: none;
	border-radius: 4px;
	background: #0076a6;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-cart-page__checkout:hover,
.tder-cart-page__checkout:focus {
	background: #005f87;
}

.tder-cart-page__checkout-icon {
	display: flex;
}

/* ---- Cart page responsive --------------------------------------------- */

@media (max-width: 992px) {
	.tder-cart-page__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.tder-cart-page__related-scroll {
		max-height: none;
	}

	.tder-cart-page__bar-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.tder-cart-line {
		flex-direction: column;
		gap: 16px;
	}

	.tder-cart-line__cover {
		flex: 0 0 auto;
		width: min( 100%, 216px );
		height: auto;
		aspect-ratio: 108 / 152;
		align-self: center;
	}

	.tder-cart-line__attrs {
		grid-template-columns: 1fr;
	}

	.tder-cart-line__footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.tder-cart-page__title {
		font-size: 26px;
	}

	.tder-cart-page__actions {
		width: 100%;
		justify-content: space-between;
	}
}

/* ---- Client cart: added state, empty states, disabled checkout ---------- */

/* Keep the detail add button width stable while its label swaps to "Añadido". */
.tder-detail__cart {
	min-width: 216px;
}

.tder-product__cart.tder-is-added,
.tder-related-card__cart.tder-is-added {
	background: #0e8f63;
}

.tder-detail__cart.tder-is-added {
	background: #0e8f63;
}

.tder-cart-page__checkout:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}


/* ---- Drawer empty state -------------------------------------------------- */

.tder-cart-drawer__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 40px 12px 48px;
	color: #64748d;
}

.tder-cart-drawer__empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: #eef6f9;
	color: #0076a6;
}

.tder-cart-drawer__empty-title {
	font-size: 16px;
	font-weight: 700;
	color: #06080f;
	margin: 0;
}

.tder-cart-drawer__empty-hint {
	font-size: 13px;
	margin: 0;
}

/* ---- Cart page empty state ----------------------------------------------- */

.tder-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding: 72px 32px;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	background: #fff;
	color: #64748d;
}

.tder-cart-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: #eef6f9;
	color: #0076a6;
}

.tder-cart-empty__title {
	font-size: 20px;
	font-weight: 700;
	color: #06080f;
	margin: 0;
}

.tder-cart-empty__hint {
	font-size: 14px;
	margin: 0 0 10px;
}

.tder-cart-empty__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border-radius: 4px;
	background: #0076a6;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 150ms ease;
}

.tder-cart-empty__cta:hover,
.tder-cart-empty__cta:focus {
	background: #005f87;
	color: #fff;
}

/* ---- Checkout page (Stripe-inspired) ------------------------------------- */

.tder-checkout-body {
	margin: 0;
	padding: 0;
	background: #f6f9fc;
}

.tder-checkout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
	background: #f6f9fc;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #1a1f36;
	-webkit-font-smoothing: antialiased;
}

/* ---- Left column: Summary (sticky) -------------------------------------- */

.tder-checkout__summary {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 40px 80px 40px 48px;
	background: #f6f9fc;
	border-right: 1px solid #e3e8ee;
}

.tder-checkout__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #0076a6;
	border-radius: 8px;
	background: #fff;
	color: #0076a6;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 150ms ease;
	margin-bottom: 32px;
	align-self: flex-start;
}

.tder-checkout__brand {
	margin-bottom: 24px;
	width: 100%;
	text-align: right;
}

.tder-checkout__back:hover,
.tder-checkout__back:focus {
	background: #eef6f9;
}

.tder-checkout__brand {
	margin-bottom: 24px;
}

.tder-checkout__brand-logo {
	height: 32px;
	width: auto;
	display: block;
}

.tder-checkout__total-hero {
	margin-bottom: 40px;
	width: 100%;
	text-align: right;
}

.tder-checkout__total-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #697386;
	margin-bottom: 4px;
}

.tder-checkout__total-amount {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.tder-checkout__total-value {
	font-size: 44px;
	font-weight: 700;
	color: #1a1f36;
	letter-spacing: -0.02em;
	line-height: 1;
}

.tder-checkout__total-currency {
	font-size: 18px;
	font-weight: 500;
	color: #697386;
}

/* ---- Product cards ------------------------------------------------------ */

.tder-checkout__products {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 32px;
	flex: 1;
	width: 100%;
}

.tder-checkout__products-loading {
	font-size: 14px;
	color: #697386;
	text-align: center;
	padding: 24px 0;
	margin: 0;
}

.tder-checkout-product {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: 10px;
	padding: 16px;
}

.tder-checkout-product__cover {
	flex: 0 0 64px;
	width: 64px;
	height: 88px;
	border-radius: 6px;
	overflow: hidden;
	background: #f0f4f8;
}

.tder-checkout-product__cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tder-checkout-product__info {
	flex: 1 1 auto;
	min-width: 0;
}

.tder-checkout-product__title {
	font-size: 15px;
	font-weight: 600;
	color: #1a1f36;
	margin: 0 0 4px;
	line-height: 1.3;
}

.tder-checkout-product__meta {
	font-size: 13px;
	color: #697386;
	margin: 0;
}

.tder-checkout-product__qty {
	font-size: 13px;
	color: #697386;
	margin: 8px 0 0;
}

.tder-checkout-product__price {
	font-size: 15px;
	font-weight: 600;
	color: #1a1f36;
	white-space: nowrap;
	flex-shrink: 0;
}

.tder-checkout-product__price-currency {
	font-size: 12px;
	font-weight: 500;
	color: #697386;
	margin-left: 2px;
}

/* ---- Breakdown ---------------------------------------------------------- */

.tder-checkout__breakdown {
	border-top: 1px solid #e3e8ee;
	padding-top: 20px;
	width: 100%;
}

.tder-checkout__breakdown-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: #1a1f36;
	padding: 6px 0;
}

.tder-checkout__breakdown-row--muted {
	color: #697386;
}

.tder-checkout__breakdown-row--muted span:last-child {
	font-size: 13px;
}

.tder-checkout__breakdown-row--total {
	font-size: 16px;
	font-weight: 700;
	padding-top: 12px;
	margin-top: 4px;
	border-top: 1px solid #e3e8ee;
}

/* ---- Right column: Form ------------------------------------------------- */

.tder-checkout__form-wrapper {
	display: flex;
	flex-direction: column;
	padding: 40px 48px;
	background: #fff;
	overflow-y: auto;
}

.tder-checkout__form {
	max-width: 480px;
	width: 100%;
}

.tder-checkout__section-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1f36;
	margin: 0 0 20px;
}

.tder-checkout__field {
	margin-bottom: 16px;
}

.tder-checkout__field-row {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.tder-checkout__field--half {
	flex: 1 1 0;
	min-width: 0;
	margin-bottom: 0;
}

.tder-checkout__field-row--triple {
	display: flex;
	gap: 12px;
}

/* `min-width: 0` lets the columns shrink: a <select> min-content width is its
   widest option, which would otherwise overflow the row. */
.tder-checkout__field--third {
	flex: 1 1 0;
	min-width: 0;
	margin-bottom: 0;
}

/*
 * The theme sets `body { line-height: 22px }`. A native <select> inherits it
 * and clips its own label, so the fields declare it explicitly; `normal` also
 * keeps an input and a select the same height when they share a row.
 */
.tder-checkout__input {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d1d9e0;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	line-height: normal;
	color: #1a1f36;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.tder-checkout__input:focus {
	outline: none;
	border-color: #0076a6;
	box-shadow: 0 0 0 3px rgba(0, 118, 166, 0.15);
}

.tder-checkout__input::placeholder {
	color: #8898aa;
}

.tder-checkout__input--select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23697386'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	text-overflow: ellipsis;
	cursor: pointer;
	color: #8898aa;
	height: 100%;
}

.tder-checkout__input--select:valid {
	color: #1a1f36;
}

.tder-checkout__input[aria-invalid="true"] {
	border-color: #e5484d;
}

.tder-checkout__error {
	font-size: 13px;
	color: #e5484d;
	margin: 6px 0 0;
}

/* ---- Shipping notice ---------------------------------------------------- */

.tder-checkout__shipping-notice {
	background: #f6f9fc;
	border: 1px solid #e3e8ee;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 24px;
}

.tder-checkout__shipping-notice p {
	font-size: 14px;
	color: #697386;
	margin: 0;
}

/* ---- Global error ------------------------------------------------------- */

.tder-checkout__global-error {
	background: #fef1f1;
	border: 1px solid #f5c6c6;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 14px;
	color: #c53030;
	margin-bottom: 16px;
}

/* ---- Submit button ------------------------------------------------------ */

.tder-checkout__submit {
	display: block;
	width: 100%;
	padding: 16px 24px;
	border: none;
	border-radius: 8px;
	background: #0076a6;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 150ms ease;
	margin-bottom: 20px;
}

.tder-checkout__submit:hover,
.tder-checkout__submit:focus {
	background: #005f87;
}

.tder-checkout__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* ---- Powered by Stripe -------------------------------------------------- */

.tder-checkout__powered {
	text-align: center;
	font-size: 13px;
	color: #697386;
	margin: 0;
}

.tder-checkout__powered strong {
	font-weight: 700;
	color: #1a1f36;
}

.tder-checkout__powered-sep {
	margin: 0 6px;
}

.tder-checkout__powered a {
	color: #697386;
	text-decoration: none;
}

.tder-checkout__powered a:hover {
	text-decoration: underline;
}

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

@media ( max-width: 900px ) {
	.tder-checkout {
		grid-template-columns: 1fr;
	}

	.tder-checkout__summary {
		position: static;
		border-right: none;
		border-bottom: 1px solid #e3e8ee;
		padding: 24px 32px 24px 24px;
		align-items: flex-start;
	}

	.tder-checkout__brand,
	.tder-checkout__total-hero {
		text-align: left;
	}

	.tder-checkout__form-wrapper {
		padding: 24px;
	}

	.tder-checkout__total-value {
		font-size: 32px;
	}
}

/* Keep the [hidden] attribute authoritative where components declare display. */
.tder-cart-page [hidden],
.tder-cart-drawer [hidden] {
	display: none !important;
}

/* ---- Add-to-cart quantity badges ---------------------------------------- */

.tder-product__cart,
.tder-related-card__cart,
.tder-detail__cart {
	position: relative;
}

.tder-add-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #e5484d;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	box-sizing: border-box;
	pointer-events: none;
	user-select: none;
	z-index: 1;
}

/* ---- Product detail: quantity stepper (replaces the add CTA in cart) ----- */

.tder-detail__buy {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.tder-detail__qty {
	display: inline-flex;
	align-items: stretch;
	height: 46px;
	border: 1px solid #0076a6;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.tder-detail__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	min-width: 46px;
	border: none;
	background: #fff;
	color: #0076a6;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.tder-detail__qty-btn:hover,
.tder-detail__qty-btn:focus {
	background: #eef6f9;
}

.tder-detail__qty-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	padding: 0 8px;
	border-left: 1px solid #d1d9e6;
	border-right: 1px solid #d1d9e6;
	font-size: 17px;
	font-weight: 600;
	color: #06080f;
}

/* Checkout: shipping method radios (embedded quote). */
.tder-checkout__shipping-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tder-checkout-shipping-option {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #d1d9e6;
	border-radius: 8px;
	padding: 12px 14px;
	cursor: pointer;
	background: #fff;
}
.tder-checkout-shipping-option:has(input:checked) {
	border-color: #f0c14b;
	box-shadow: 0 0 0 1px #f0c14b;
}
.tder-checkout-shipping-option input[type="radio"] {
	accent-color: #f0c14b;
}
.tder-checkout-shipping-option__name {
	font-weight: 600;
}
.tder-checkout-shipping-option__eta {
	color: #6b7280;
	font-size: 13px;
}
.tder-checkout-shipping-option__cost {
	margin-left: auto;
	font-weight: 600;
}

/* ---- Thank-you page (tder-thanks) ---- */

.tder-thanks {
	background: #f6f9fc;
	padding: 48px 20px;
}

.tder-thanks__card {
	max-width: 560px;
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid #e6ebf2;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(26, 31, 54, 0.08);
	padding: 44px 40px 36px;
	text-align: center;
	box-sizing: border-box;
}

.tder-thanks__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #12a05c;
}

.tder-thanks__title {
	margin: 0 0 18px;
	color: #1a1f36;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.tder-thanks__divider {
	border: none;
	border-top: 1px solid #e4e9f0;
	margin: 0 0 22px;
}

.tder-thanks__summary {
	text-align: left;
}

.tder-thanks__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
}

.tder-thanks__label {
	color: #697386;
	font-size: 14px;
	flex: 0 0 auto;
}

.tder-thanks__value {
	color: #1a1f36;
	font-size: 15px;
	font-weight: 600;
	text-align: right;
	word-break: break-word;
}

.tder-thanks__value--amount {
	color: #1173c4;
}

.tder-thanks__value--payment {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tder-thanks__value--payment svg {
	flex: 0 0 auto;
	color: #697386;
}

.tder-thanks__notice {
	margin: 22px 0 0;
	padding: 12px 14px;
	background: #e9f1fa;
	border-radius: 8px;
	color: #1a1f36;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}

.tder-thanks__button {
	display: block;
	width: 100%;
	margin-top: 26px;
	padding: 14px 16px;
	background: #1073ad;
	border: none;
	border-radius: 6px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color 150ms ease;
}

.tder-thanks__button:hover,
.tder-thanks__button:focus {
	background: #0b5f91;
}

@media ( max-width: 560px ) {
	.tder-thanks {
		padding: 24px 14px;
	}

	.tder-thanks__card {
		padding: 32px 20px 26px;
	}

	.tder-thanks__title {
		font-size: 21px;
	}

	.tder-thanks__row {
		gap: 12px;
	}

	.tder-thanks__value {
		font-size: 14px;
	}
}
