/* Academia Mística · tienda, carrito y pago (sustituye los estilos de WooCommerce). */

/* ---------- Flujo de compra ---------- */
.am-flow-body { background: var(--am-surface); }
.am-flowbar { background: var(--am-night); }
.am-flowbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--am-space-5); min-height: 68px; }
.am-flowbar__logo img { height: 44px; width: auto; }
.am-steps { display: flex; align-items: center; gap: var(--am-space-3); list-style: none; margin: 0; padding: 0; }
.am-steps__item { display: flex; align-items: center; gap: 8px; color: #8E97B6; font-size: var(--am-fs-sm); font-weight: 600; }
.am-steps__item + .am-steps__item::before { content: ""; width: 36px; height: 1px; background: rgba(255, 255, 255, 0.2); margin-right: var(--am-space-2); }
.am-steps__item a { color: #D7DCEC; text-decoration: none; }
.am-steps__num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25); font-size: 12px; font-weight: 800; }
.am-steps__item.is-current { color: #FFFFFF; }
.am-steps__item.is-current .am-steps__num { background: var(--am-primary); border-color: var(--am-primary); color: #FFFFFF; }
.am-steps__item.is-done .am-steps__num { background: rgba(155, 78, 170, 0.35); border-color: transparent; color: #FFFFFF; }
.am-flowbar__safe { display: inline-flex; align-items: center; gap: 6px; color: #8FD9C9; font-size: var(--am-fs-sm); font-weight: 600; }
@media (max-width: 720px) {
	.am-steps__item span:not(.am-steps__num), .am-steps__item a { display: none; }
	.am-steps__item.is-current span:not(.am-steps__num) { display: inline; }
	.am-steps__item + .am-steps__item::before { width: 14px; }
	.am-flowbar__safe span { display: none; }
	.am-flowbar__logo img { height: 36px; }
}
.am-flow { padding: var(--am-space-7) 0 var(--am-space-9); min-height: 70vh; }
.am-flow__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--am-space-3); margin-bottom: var(--am-space-6); }
.am-flow__title { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; }
.am-flowfoot { border-top: 1px solid var(--am-line); padding: var(--am-space-5) 0; font-size: var(--am-fs-xs); color: var(--am-muted); }

/* ---------- Avisos de WooCommerce ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 var(--am-space-5); padding: var(--am-space-4) var(--am-space-5);
	border-radius: var(--am-radius-md); font-weight: 600; font-size: var(--am-fs-sm);
	background: var(--am-surface-2); color: var(--am-ink); border: 1px solid var(--am-line);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--am-space-3);
}
.woocommerce-error { flex-direction: column; align-items: flex-start; }
.woocommerce-message { background: color-mix(in srgb, var(--am-success) 12%, var(--am-bg)); border-color: color-mix(in srgb, var(--am-success) 35%, transparent); color: var(--am-success); }
.woocommerce-error { background: color-mix(in srgb, var(--am-error) 10%, var(--am-bg)); border-color: color-mix(in srgb, var(--am-error) 30%, transparent); color: var(--am-error); }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { font-weight: 700; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; padding: 6px 14px; border-radius: var(--am-radius-pill); border: 1px solid currentColor; text-decoration: none; font-size: var(--am-fs-xs); }

/* ---------- Carrito ---------- */
.am-cartgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--am-space-6); align-items: start; }
.am-cartgrid__main { display: flex; flex-direction: column; gap: var(--am-space-4); min-width: 0; }
.am-cartgrid__side { position: sticky; top: var(--am-space-5); display: flex; flex-direction: column; gap: var(--am-space-4); }
@media (max-width: 960px) { .am-cartgrid { grid-template-columns: 1fr; } .am-cartgrid__side { position: static; } }
.woocommerce-cart-form { display: flex; flex-direction: column; gap: var(--am-space-4); }

.am-tip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--am-space-4); padding: var(--am-space-5) var(--am-space-6); border-radius: var(--am-radius-lg); }
.am-tip > div { flex: 1 1 300px; }
.am-tip__title { font-size: var(--am-fs-lg); font-weight: 800; color: #FFFFFF; line-height: 1.3; }
.am-tip__text { color: var(--am-text-2); font-size: var(--am-fs-sm); margin-top: 4px; }

.am-cartlist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--am-line); border-radius: var(--am-radius-lg); background: var(--am-bg); overflow: hidden; }
.am-cartitem { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; gap: var(--am-space-4); align-items: center; padding: var(--am-space-4) var(--am-space-5); }
.am-cartitem + .am-cartitem { border-top: 1px solid var(--am-line); }
.am-cartitem__thumb img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: linear-gradient(135deg, var(--am-blue), var(--am-primary)); }
.am-cartitem__kind { font-size: var(--am-fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--am-accent); }
.am-cartitem__title { font-weight: 800; color: var(--am-ink); line-height: 1.3; }
.am-cartitem__title a { color: inherit; text-decoration: none; }
.am-cartitem__title a:hover { color: var(--am-accent); }
.am-cartitem__meta, .am-cartitem .variation { font-size: var(--am-fs-xs); color: var(--am-muted); margin-top: 2px; }
.am-cartitem .variation { display: grid; grid-template-columns: auto 1fr; gap: 0 6px; margin: 4px 0 0; }
.am-cartitem .variation dd, .am-cartitem .variation dd p { margin: 0; }
.am-cartitem__price { font-weight: 800; color: var(--am-ink); font-size: var(--am-fs-lg); text-align: right; }
.am-cartitem__price del { display: block; font-size: var(--am-fs-xs); color: var(--am-muted); font-weight: 600; }
.am-cartitem__price ins { text-decoration: none; }
.am-cartitem__remove a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--am-line); color: var(--am-muted); text-decoration: none; }
.am-cartitem__remove a:hover { border-color: var(--am-error); color: var(--am-error); }
@media (max-width: 560px) {
	.am-cartitem { grid-template-columns: 56px minmax(0, 1fr) auto; padding: var(--am-space-4); }
	.am-cartitem__thumb img { width: 56px; height: 56px; }
	.am-cartitem__price { grid-column: 2; text-align: left; font-size: var(--am-fs-base); }
	.am-cartitem__remove { grid-column: 3; grid-row: 1; }
}
.am-cartnote { display: flex; gap: var(--am-space-2); align-items: center; font-size: var(--am-fs-sm); color: var(--am-text-2); }
.am-cartnote .am-icon { color: var(--am-primary); }
.am-coupon summary { cursor: pointer; font-weight: 700; color: var(--am-accent); font-size: var(--am-fs-sm); list-style: none; }
.am-coupon summary::-webkit-details-marker { display: none; }
.am-coupon__row { display: flex; gap: var(--am-space-2); margin-top: var(--am-space-3); max-width: 460px; }
.am-coupon__row input { flex: 1; min-width: 0; }
.am-memberhint { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--am-space-3); padding: var(--am-space-4) var(--am-space-5); border: 1px dashed color-mix(in srgb, var(--am-primary) 50%, transparent); border-radius: var(--am-radius-md); background: var(--am-bg); font-size: var(--am-fs-sm); color: var(--am-text-2); }
.am-memberhint__title { font-weight: 800; color: var(--am-ink); }
.am-cross__title { font-size: var(--am-fs-lg); margin: var(--am-space-4) 0 var(--am-space-3); }
.am-cross__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--am-space-3); }
.am-cross__item { display: flex; align-items: center; gap: var(--am-space-3); padding: var(--am-space-3); border: 1px solid var(--am-line); border-radius: var(--am-radius-md); background: var(--am-bg); }
.am-cross__item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.am-cross__item > div { flex: 1; min-width: 0; }
.am-cross__name { font-weight: 700; font-size: var(--am-fs-sm); color: var(--am-ink); }
.am-cross__price { font-size: var(--am-fs-xs); color: var(--am-muted); }
.am-cross .am-btn { min-height: 38px; padding: 0 var(--am-space-4); }
.am-emptycart { text-align: center; padding: var(--am-space-8) var(--am-space-5); border-radius: var(--am-radius-lg); background: var(--am-bg); border: 1px solid var(--am-line); display: flex; flex-direction: column; align-items: center; gap: var(--am-space-3); color: var(--am-text-2); }
.am-emptycart__title { font-size: var(--am-fs-h3); font-weight: 800; color: var(--am-ink); font-stretch: var(--am-stretch-display); }
.am-emptycart__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--am-space-3); margin-top: var(--am-space-3); }

/* Resumen (carrito y checkout) */
.am-summary { padding: var(--am-space-6); border-radius: var(--am-radius-lg); border: 1px solid var(--am-line); background: var(--am-bg); }
.am-summary__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--am-space-4); }
.am-summary__title { font-size: var(--am-fs-lg); margin-bottom: var(--am-space-4); }
.am-summary__head .am-summary__title { margin-bottom: 0; }
.am-summary table { width: 100%; border-collapse: collapse; font-size: var(--am-fs-sm); }
.am-summary th, .am-summary td { padding: var(--am-space-2) 0; text-align: left; font-weight: 500; color: var(--am-text-2); vertical-align: top; }
.am-summary td { text-align: right; color: var(--am-text); }
.am-summary__good th, .am-summary__good td { color: var(--am-success); font-weight: 700; }
.am-summary .woocommerce-remove-coupon { font-size: var(--am-fs-xs); margin-left: 6px; }
.am-summary__total th, .am-summary__total td { border-top: 1px solid var(--am-line); padding-top: var(--am-space-4); font-weight: 800; color: var(--am-ink); }
.am-summary__total td strong, .am-summary__total td .amount { font-size: 2rem; font-stretch: var(--am-stretch-display); font-weight: 800; color: var(--am-ink); }
.am-summary__total small { display: block; font-size: var(--am-fs-xs); font-weight: 500; color: var(--am-muted); }
.am-summary__note { font-size: var(--am-fs-xs); color: var(--am-muted); margin: var(--am-space-2) 0 var(--am-space-4); }
.wc-proceed-to-checkout { display: flex; flex-direction: column; gap: var(--am-space-3); }
.am-trust { list-style: none; margin: 0; padding: var(--am-space-5); border-radius: var(--am-radius-lg); background: var(--am-bg); border: 1px solid var(--am-line); display: grid; gap: var(--am-space-3); font-size: var(--am-fs-sm); color: var(--am-text-2); }
.am-trust li { display: flex; gap: var(--am-space-2); align-items: flex-start; }
.am-trust .am-icon { color: var(--am-success); margin-top: 3px; }

/* ---------- Checkout ---------- */
.am-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--am-space-6); align-items: start; }
.am-checkout__main { display: flex; flex-direction: column; gap: var(--am-space-4); min-width: 0; }
.am-checkout__side { position: sticky; top: var(--am-space-5); display: flex; flex-direction: column; gap: var(--am-space-4); }
@media (max-width: 960px) { .am-checkout { grid-template-columns: 1fr; } .am-checkout__side { position: static; order: -1; } }
.am-paycard { padding: var(--am-space-6); border-radius: var(--am-radius-lg); border: 1px solid var(--am-line); background: var(--am-bg); }
.am-paycard__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--am-space-2); margin-bottom: var(--am-space-5); }
.am-paycard__title { font-size: var(--am-fs-h4); font-stretch: 105%; }
.am-paycard__title span { color: var(--am-primary); }
.am-paycard--pay .am-paycard__title { margin-bottom: var(--am-space-4); }
.am-after { padding: var(--am-space-5); border-radius: var(--am-radius-lg); font-size: var(--am-fs-sm); }
.am-after p:last-child { color: var(--am-text-2); }
.am-field-note { font-size: var(--am-fs-xs); color: var(--am-muted); margin-top: var(--am-space-2); }

/* Campos */
.woocommerce form .form-row { margin: 0 0 var(--am-space-4); display: flex; flex-direction: column; gap: 6px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--am-space-4); }
.woocommerce form .form-row-wide, .woocommerce form .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
@media (max-width: 560px) { .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; } }
.woocommerce form .form-row label { font-size: var(--am-fs-sm); font-weight: 600; color: var(--am-text-2); }
.woocommerce form .form-row .required { color: var(--am-error); text-decoration: none; }
.woocommerce form .form-row .optional { color: var(--am-muted); font-weight: 400; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .am-coupon__row input, .woocommerce form .form-row input[type="email"], .woocommerce form .form-row input[type="tel"], .woocommerce form .form-row input[type="password"] {
	width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--am-line-strong);
	background: var(--am-bg); color: var(--am-text); font: inherit; font-size: 16px;
}
.woocommerce textarea { padding: 12px 14px; min-height: 100px; }
.woocommerce input.input-text:focus, .woocommerce select:focus, .woocommerce textarea:focus { outline: 2px solid var(--am-focus); outline-offset: 1px; border-color: var(--am-primary); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--am-error); }
.woocommerce form .form-row .description { font-size: var(--am-fs-xs); color: var(--am-muted); }
.select2-container .select2-selection--single { height: 50px !important; border-radius: 12px !important; border-color: var(--am-line-strong) !important; display: flex !important; align-items: center; background: var(--am-bg) !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--am-text) !important; padding-left: 14px !important; line-height: 50px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px !important; right: 8px !important; }
.select2-dropdown { border-color: var(--am-line-strong) !important; border-radius: 12px !important; overflow: hidden; }
.select2-results__option--highlighted { background: var(--am-primary) !important; }
.woocommerce-form__label-for-checkbox { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: var(--am-space-3); cursor: pointer; font-weight: 500 !important; }
.woocommerce-form__label-for-checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--am-primary); flex-shrink: 0; }

/* Pasarelas */
#payment ul.payment_methods { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--am-space-3); }
#payment ul.payment_methods li { border: 1px solid var(--am-line); border-radius: var(--am-radius-md); padding: var(--am-space-4); }
#payment ul.payment_methods li:has(input:checked) { border-color: var(--am-primary); background: color-mix(in srgb, var(--am-primary) 5%, var(--am-bg)); }
#payment ul.payment_methods li > label { display: inline-flex; align-items: center; gap: var(--am-space-2); font-weight: 700; color: var(--am-ink); cursor: pointer; }
#payment ul.payment_methods li > input { accent-color: var(--am-primary); width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; }
#payment ul.payment_methods li img { display: inline-block; max-height: 24px; width: auto; margin-left: 6px; }
#payment .payment_box { margin-top: var(--am-space-3); font-size: var(--am-fs-sm); color: var(--am-text-2); }
#payment .payment_box p:only-child { margin: 0; }
#payment .place-order { margin-top: var(--am-space-5); display: flex; flex-direction: column; gap: var(--am-space-4); }
#payment .woocommerce-terms-and-conditions-wrapper { font-size: var(--am-fs-sm); color: var(--am-text-2); }
#payment .woocommerce-privacy-policy-text p { font-size: var(--am-fs-xs); color: var(--am-muted); }
#place_order, .woocommerce .button.alt {
	display: flex; width: 100%; align-items: center; justify-content: center; min-height: 58px; padding: 0 var(--am-space-6);
	border: 0; border-radius: var(--am-radius-pill); background: var(--am-primary); color: #FFFFFF;
	font: inherit; font-size: var(--am-fs-base); font-weight: 800; cursor: pointer;
	box-shadow: 0 14px 30px rgba(155, 78, 170, 0.3); transition: background-color var(--am-dur) var(--am-ease);
}
#place_order:hover, .woocommerce .button.alt:hover { background: var(--am-primary-hover); }
.woocommerce-checkout .blockUI.blockOverlay { background: rgba(255, 255, 255, 0.6) !important; }
.woocommerce .button:not(.alt):not(.am-btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--am-space-5); border-radius: var(--am-radius-pill); border: 1px solid var(--am-line-strong); background: var(--am-bg); color: var(--am-ink); font: inherit; font-weight: 700; font-size: var(--am-fs-sm); text-decoration: none; cursor: pointer; }

/* Resumen del pedido en el checkout */
.am-review tbody td { padding: var(--am-space-3) 0; border-bottom: 1px solid var(--am-line); }
.am-review__item { display: flex; gap: var(--am-space-3); align-items: center; }
.am-review__img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: linear-gradient(135deg, var(--am-blue), var(--am-primary)); }
.am-review__name { font-weight: 700; color: var(--am-ink); line-height: 1.3; }
.am-review__meta { font-size: var(--am-fs-xs); color: var(--am-muted); }
.am-review .product-total { font-weight: 800; color: var(--am-ink); white-space: nowrap; padding-left: var(--am-space-3); }
.am-review tfoot tr:first-child th, .am-review tfoot tr:first-child td { padding-top: var(--am-space-4); }

/* ---------- Confirmación ---------- */
.am-thanks { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--am-space-5); }
.am-thanks__card { text-align: center; padding: var(--am-space-8) var(--am-space-6); border-radius: var(--am-radius-lg); background: var(--am-bg); border: 1px solid var(--am-line); box-shadow: var(--am-shadow-float); display: flex; flex-direction: column; align-items: center; gap: var(--am-space-3); }
.am-thanks__icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--am-primary); color: #FFFFFF; box-shadow: 0 0 0 12px color-mix(in srgb, var(--am-primary) 18%, transparent); margin-bottom: var(--am-space-4); font-size: 2rem; font-weight: 800; }
.am-thanks__icon--warn { background: var(--am-warning); box-shadow: 0 0 0 12px color-mix(in srgb, var(--am-warning) 18%, transparent); }
.am-thanks__title { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; text-wrap: balance; }
.am-thanks__text { color: var(--am-text-2); max-width: 46ch; }
.am-thanks__order { color: var(--am-muted); font-size: var(--am-fs-sm); }
.am-thanks__actions { margin-top: var(--am-space-3); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--am-space-3); }
.am-thanks__details { padding: var(--am-space-6); border-radius: var(--am-radius-lg); background: var(--am-bg); border: 1px solid var(--am-line); }
.am-thanks__details:empty { display: none; }
.am-thanks__details h2 { font-size: var(--am-fs-lg); margin: 0 0 var(--am-space-4); }
.am-thanks__details table { width: 100%; border-collapse: collapse; font-size: var(--am-fs-sm); margin-bottom: var(--am-space-5); }
.am-thanks__details th, .am-thanks__details td { text-align: left; padding: var(--am-space-3) 0; border-bottom: 1px solid var(--am-line); }
.am-thanks__details address { font-style: normal; color: var(--am-text-2); }
.am-thanks__details .woocommerce-order-overview { display: none; }

/* ---------- Tienda ---------- */
.am-shop ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--am-space-6) var(--am-space-5); }
.am-shop ul.products li.product { display: flex; flex-direction: column; gap: var(--am-space-2); position: relative; }
.am-shop ul.products li.product a img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--am-radius-md); background: var(--am-surface); margin-bottom: var(--am-space-3); }
.am-shop ul.products li.product a { text-decoration: none; color: inherit; }
.am-shop .woocommerce-loop-product__title { font-size: var(--am-fs-base); font-stretch: 100%; color: var(--am-ink); }
.am-shop ul.products .price { font-weight: 800; color: var(--am-ink); display: block; margin-top: 4px; }
.am-shop .price del { color: var(--am-muted); font-weight: 600; margin-right: 6px; }
.am-shop .price ins { text-decoration: none; }
.am-shop ul.products .button { margin-top: var(--am-space-3); align-self: flex-start; }
.am-shop .onsale { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: var(--am-radius-pill); background: var(--am-gold); color: var(--am-night); font-size: var(--am-fs-xs); font-weight: 800; }
.am-shop .woocommerce-result-count { color: var(--am-muted); font-size: var(--am-fs-sm); float: left; margin: 0 0 var(--am-space-5); }
.am-shop .woocommerce-ordering { float: right; margin: 0 0 var(--am-space-5); }
.am-shop .woocommerce-ordering select { min-height: 44px; border-radius: var(--am-radius-pill); width: auto; }
.am-shop ul.products { clear: both; }
.am-shop .woocommerce-breadcrumb { font-size: var(--am-fs-xs); color: var(--am-muted); margin-bottom: var(--am-space-5); }
.am-shop .woocommerce-breadcrumb a { color: var(--am-text-2); }

/* Ficha de producto */
.am-shop div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--am-space-7); position: relative; }
.am-shop div.product .woocommerce-product-gallery { grid-column: 1; }
.am-shop div.product .summary { grid-column: 2; display: flex; flex-direction: column; gap: var(--am-space-4); }
.am-shop div.product .woocommerce-product-gallery img { border-radius: var(--am-radius-lg); width: 100%; }
.am-shop div.product .woocommerce-product-gallery__trigger { display: none; }
.am-shop div.product .flex-control-thumbs { list-style: none; display: flex; gap: var(--am-space-2); padding: 0; margin: var(--am-space-3) 0 0; }
.am-shop div.product .flex-control-thumbs li { width: 72px; }
.am-shop div.product .flex-control-thumbs img { border-radius: 10px; cursor: pointer; opacity: 0.6; }
.am-shop div.product .flex-control-thumbs img.flex-active { opacity: 1; }
.am-shop .product_title { font-size: var(--am-fs-h2); line-height: 1.1; }
.am-shop div.product .summary .price { font-size: 2rem; font-weight: 800; color: var(--am-ink); font-stretch: var(--am-stretch-display); }
.am-shop div.product form.cart { display: flex; flex-wrap: wrap; gap: var(--am-space-3); align-items: center; }
.am-shop div.product form.cart .quantity input { width: 80px; min-height: 52px; border-radius: 12px; border: 1px solid var(--am-line-strong); text-align: center; font: inherit; }
.am-shop div.product form.cart .single_add_to_cart_button { width: auto; min-width: 220px; }
.am-shop .woocommerce-product-details__short-description { color: var(--am-text-2); }
.am-shop .product_meta { font-size: var(--am-fs-xs); color: var(--am-muted); display: grid; gap: 4px; }
.am-shop .woocommerce-tabs { grid-column: 1 / -1; }
.am-shop .woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: var(--am-space-5); padding: 0; margin: 0 0 var(--am-space-5); border-bottom: 1px solid var(--am-line); }
.am-shop .woocommerce-tabs ul.tabs a { display: block; padding: var(--am-space-3) 0; font-weight: 700; color: var(--am-text-2); text-decoration: none; border-bottom: 2px solid transparent; }
.am-shop .woocommerce-tabs ul.tabs li.active a { color: var(--am-ink); border-bottom-color: var(--am-primary); }
.am-shop .woocommerce-tabs .panel { max-width: var(--am-width-text); }
.am-shop .woocommerce-tabs .panel > h2:first-child { display: none; }
.am-shop .related, .am-shop .upsells { grid-column: 1 / -1; }
.am-shop .related > h2, .am-shop .upsells > h2 { font-size: var(--am-fs-h3); margin-bottom: var(--am-space-5); }
@media (max-width: 860px) {
	.am-shop div.product { grid-template-columns: 1fr; gap: var(--am-space-6); }
	.am-shop div.product .woocommerce-product-gallery, .am-shop div.product .summary { grid-column: 1; }
}
