/* ==========================================================================
   Dwebmar Store — WooCommerce: tarjetas, tienda, ficha, carrito y checkout
   ========================================================================== */

.dws-woo { padding-top: 16px; padding-bottom: 16px; }
.dws-breadcrumb { font-size: 12.5px; color: var(--light); margin-bottom: 8px; }
.dws-breadcrumb .sep { margin: 0 6px; opacity: .6; }
.dws-breadcrumb a:hover { color: var(--brand); }

/* ─── Precio ─── */
.dws-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; line-height: 1.2; }
.dws-price__now { font-weight: 800; font-size: 16px; color: var(--text); }
.dws-price__now small { font-weight: 500; font-size: 11px; color: var(--light); }
.dws-price__usd { font-size: 12px; color: var(--light); }
.dws-price__old { font-size: 12px; color: var(--light); }
.dws-price__ask { font-weight: 700; color: var(--brand); }
.dws-price--lg .dws-price__now { font-size: 28px; }
.dws-price--lg .dws-price__usd, .dws-price--lg .dws-price__old { font-size: 14px; }

/* ─── Grillas ─── */
ul.products, .dws-products { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
ul.products::before, ul.products::after { display: none !important; }
.dws-shop__main ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1280px) { .dws-shop__main ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .dws-shop__main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dws-shop__main ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.related ul.products, .upsells ul.products, .cross-sells ul.products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dws-products--strip { grid-auto-flow: column; grid-auto-columns: minmax(210px, calc((100% - 70px) / 6)); grid-template-columns: none !important; }
.dws-products--strip > li { scroll-snap-align: start; }
@media (max-width: 640px) { .dws-products--strip { grid-auto-columns: 46%; } }

/* ─── Tarjeta ─── */
ul.products li.product.dws-card {
	width: auto !important; margin: 0 !important; float: none !important; padding: 0;
	display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border-color: var(--card-border);
	transition: box-shadow .2s, transform .2s; position: relative;
}
ul.products li.product.dws-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.dws-card__media { position: relative; aspect-ratio: 1; background: #fff; }
.dws-card__imgs { position: absolute; inset: 0; }
.dws-card__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; padding: 10px; margin: 0 !important; transition: opacity .35s; }
.dws-card__img--alt { opacity: 0; }
.dws-card:hover .dws-card__img--alt { opacity: 1; }
.dws-card:hover .dws-card__imgs:has(.dws-card__img--alt) .dws-card__img:not(.dws-card__img--alt) { opacity: 0; }
.dws-card__brand { position: absolute; left: 12px; top: 12px; max-width: 56px; max-height: 22px; width: auto; object-fit: contain; z-index: 1; }
.dws-card__badges { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; z-index: 1; }
.dws-card__quick {
	position: absolute; right: 10px; bottom: 10px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92);
	box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(6px); transition: .2s;
}
.dws-card:hover .dws-card__quick { opacity: 1; transform: none; }
.dws-card__body { padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dws-card__brandname { font-size: 11.5px; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: .03em; }
.dws-card__title { font-size: 13px !important; font-weight: 500 !important; line-height: 1.35 !important; margin: 0 !important; padding: 0 !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.dws-card__buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; }
.dws-card__buy .dws-price { flex: 1; min-width: 0; }
ul.products li.product .dws-card__cart.button {
	display: inline-flex !important; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 28px; padding: 0; margin: 0 !important; border-radius: var(--radius-pill);
	border: 1px solid var(--text); background: #fff; color: var(--text); font-size: 0; position: relative;
}
.dws-card__cart.button::before {
	content: ""; display: block; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dws-card__cart.button:hover { background: var(--text); color: #fff; transform: none; }
.dws-card__cart.button.loading { opacity: .5; }
.dws-card__cart.button.loading::after { display: none; }
.dws-card__cart.button.added { background: var(--green); border-color: var(--green); color: #fff; }
.dws-card__cart.button.added::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.dws-card .added_to_cart { display: none !important; }
.dws-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 30px; padding: 6px 12px; font-size: 11.5px; color: var(--muted); }
.dws-card__foot .dws-icon { vertical-align: -2px; color: var(--green); }
.dws-card--compacta .dws-card__foot { background: #fff6f2; }
.dws-card--simple .dws-card__foot { border-top: 1px solid #f1f1f1; }
.dws-card--clasica .dws-card__foot { background: linear-gradient(270deg, rgba(255, 255, 255, 0) 1%, rgb(244, 236, 229) 99%); }
.dws-card--vendedores .dws-card__foot { background: linear-gradient(90deg, #fff6e6, #fee7d7); }
.dws-card__cta { color: var(--brand); font-weight: 700; }
.dws-rota { position: relative; display: block; height: 18px; flex: 1; overflow: hidden; }
.dws-rota > span { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dws-rota__b { opacity: 0; }
.dws-rota:has(.dws-rota__b) .dws-rota__a { animation: dws-rota-a 6s infinite; }
.dws-rota__b { animation: dws-rota-b 6s infinite; }
@keyframes dws-rota-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes dws-rota-b { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* Vista de lista */
.dws-shop.is-list ul.products { grid-template-columns: 1fr !important; }
.dws-shop.is-list li.product.dws-card { flex-direction: row; background: var(--gradient-salmon); }
.dws-shop.is-list .dws-card__media { width: 220px; flex-shrink: 0; }
.dws-shop.is-list .dws-card__body { padding: 16px 20px; }
.dws-shop.is-list .dws-card__title { font-size: 16px !important; -webkit-line-clamp: 3; }
.dws-shop.is-list .dws-card__buy { margin-top: 8px; justify-content: flex-start; gap: 20px; }
.dws-shop.is-list .dws-card__foot { position: absolute; right: 0; bottom: 0; background: none; }
@media (max-width: 640px) { .dws-shop.is-list .dws-card__media { width: 120px; } }

/* ─── Cabecera de tienda ─── */
.dws-shophead { background: var(--gradient-head); border-radius: var(--radius-xl); padding: 16px 22px; margin-bottom: 16px; }
.dws-shophead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dws-shophead__title { font-size: 26px; margin: 0; }
.dws-shophead__count { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.dws-shophead__desc { margin-top: 10px; color: var(--muted); max-width: 900px; }
.dws-shophead__desc p:last-child { margin: 0; }
.dws-shophead__tools { display: flex; align-items: center; gap: 10px; }
.dws-shophead__tools .woocommerce-ordering { margin: 0; }
.dws-shophead__tools select { height: 36px; padding: 0 32px 0 12px; width: auto; background-color: #fff; border-radius: var(--radius-md); }
.dws-viewtoggle { display: flex; background: #fff; border-radius: var(--radius-md); padding: 3px; border: 1px solid var(--border); }
.dws-viewtoggle button { width: 32px; height: 28px; border: 0; background: none; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--light); }
.dws-viewtoggle button.is-active { background: var(--text); color: #fff; }
@media (max-width: 640px) { .dws-shophead { padding: 12px 14px; } .dws-shophead__title { font-size: 20px; } .dws-viewtoggle { display: none; } }

/* ─── Tienda: filtros + grilla ─── */
.dws-shop { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 18px; align-items: start; }
.dws-shop__side { position: sticky; top: 124px; max-height: calc(100vh - 140px); overflow: auto; scrollbar-width: thin; display: grid; gap: 14px; }
@media (max-width: 1024px) {
	.dws-shop { grid-template-columns: 1fr; }
	.dws-shop__side {
		position: fixed; inset: 0 auto 0 0; top: 0; z-index: var(--z-drawer); width: min(340px, 90vw); max-height: none; background: #fff;
		transform: translateX(-105%); transition: transform .3s; padding: 0; box-shadow: var(--shadow-xl);
	}
	.dws-shop__side.is-open { transform: none; }
	.dws-shop__side .dws-filters { border: 0; border-radius: 0; }
}
.dws-filters { padding: 16px; }
.dws-filters__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dws-filters__head strong { display: flex; align-items: center; gap: 6px; font-size: 16px; }
.dws-filters__clear { margin-left: auto; color: var(--brand); font-weight: 600; font-size: 13px; }
.dws-filters__close { display: none; border: 0; background: none; margin-left: auto; }
@media (max-width: 1024px) { .dws-filters__close { display: flex; } .dws-filters__clear { margin-left: auto; } .dws-filters__clear + .dws-filters__close { margin-left: 0; } }
.dws-facet { border-top: 1px solid #f1f1f1; }
.dws-facet__title { display: flex; align-items: center; gap: 6px; width: 100%; padding: 12px 0; border: 0; background: none; font-weight: 700; text-align: left; }
.dws-facet__title em { font-style: normal; background: var(--brand); color: #fff; border-radius: 9px; font-size: 11px; padding: 0 6px; }
.dws-facet__title .dws-icon { margin-left: auto; transition: transform .2s; }
.dws-facet.is-open .dws-facet__title .dws-icon { transform: rotate(180deg); }
.dws-facet__body { display: none; padding-bottom: 12px; }
.dws-facet.is-open .dws-facet__body { display: block; }
.dws-catlist a { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13.5px; }
.dws-catlist a span { color: var(--light); font-size: 12px; }
.dws-pill-back { display: inline-flex; align-items: center; gap: 2px; padding: 3px 10px 3px 6px; border-radius: var(--radius-pill); background: #f2f2f2; font-size: 12.5px; margin-bottom: 6px; }
.dws-price-range { display: flex !important; align-items: center; gap: 6px; }
.dws-facet:not(.is-open) .dws-price-range { display: none !important; }
.dws-price-range input { height: 36px; padding: 6px 8px; }
.dws-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: 13.5px; }
.dws-check input { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; }
.dws-check span { flex: 1; }
.dws-check small { color: var(--light); }
.dws-check.is-extra { display: none; }
.dws-facet.show-all .dws-check.is-extra { display: flex; }
.dws-facet__more { border: 0; background: none; color: var(--brand); font-weight: 600; padding: 4px 0; font-size: 13px; }
.dws-widget { padding: 16px; }
.dws-widget__title { font-size: 15px; }
.dws-loadmore { text-align: center; margin: 24px 0; }
.dws-loadmore .dw-btn.is-loading { opacity: .6; pointer-events: none; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews {
	border-radius: var(--radius-lg); border: 1px solid var(--border); border-top: 3px solid var(--brand); background: #fff; padding: 14px 18px 14px 48px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--brand); }

/* ─── Ficha de producto ─── */
.dws-breadcrumb-wrap { margin-bottom: 10px; }
.dws-pdp__top { display: grid; grid-template-columns: minmax(340px, 600px) minmax(300px, 1fr) 400px; gap: 24px; align-items: start; }
@media (max-width: 1380px) { .dws-pdp__top { grid-template-columns: minmax(300px, 1fr) minmax(280px, 1fr) 340px; } }
@media (max-width: 1080px) { .dws-pdp__top { grid-template-columns: 1fr; } }
.dws-pdp__gallery { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 14px; position: relative; }
.dws-pdp__gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important; }
.dws-pdp__gallery .woocommerce-product-gallery__image img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.dws-pdp__gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.dws-pdp__gallery .flex-control-thumbs li { width: auto !important; float: none !important; }
.dws-pdp__gallery .flex-control-thumbs img { border-radius: 8px; border: 1.5px solid var(--border); aspect-ratio: 1; object-fit: contain; opacity: .7; cursor: pointer; }
.dws-pdp__gallery .flex-control-thumbs img.flex-active, .dws-pdp__gallery .flex-control-thumbs img:hover { border-color: var(--brand); opacity: 1; }
.dws-pdp__gallery .woocommerce-product-gallery__trigger { position: absolute; right: 12px; top: 12px; z-index: 5; }
.dws-pdp__info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dws-pdp__info .product_title { font-size: 22px; line-height: 1.3; margin: 0; }
.dws-pdp__info .woocommerce-product-details__short-description { color: var(--muted); }
.dws-pdp__info .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin: 0; }
.dws-pdp__brand { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 4px 12px 4px 4px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border); font-weight: 700; font-size: 13px; }
.dws-pdp__brand img { width: 26px; height: 26px; object-fit: contain; border-radius: 50%; }
.dws-shipbanner { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--gradient-ship); border: 1px solid #f7e0d3; color: #4b1d1f; font-weight: 600; font-size: 13.5px; }
.dws-keyattrs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; }
.dws-keyattrs div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 12px; }
.dws-keyattrs dt { font-size: 11.5px; color: var(--light); }
.dws-keyattrs dd { margin: 0; font-weight: 600; font-size: 13.5px; }
.dws-pdp__buy { padding: 18px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 124px; }
@media (max-width: 1080px) { .dws-pdp__buy { position: static; } }
.dws-pdp__stock { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.dws-pdp__stock .stock { margin: 0; font-weight: 700; }
.dws-pdp__buy > .stock { display: none; } /* WC lo repite antes del formulario. */
.dws-pdp__stock .in-stock { color: var(--green); }
.dws-pdp__stock .out-of-stock { color: var(--red); }
.dws-pdp__buy form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.dws-pdp__buy form.cart .variations { width: 100%; margin: 0; }
.dws-pdp__buy form.cart .variations th, .dws-pdp__buy form.cart .variations td { display: block; padding: 0 0 4px; text-align: left; }
.dws-pdp__buy form.variations_form { flex-direction: column; }
.dws-pdp__buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.dws-pdp__buy .quantity { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.dws-pdp__buy .quantity .qty { width: 54px; height: 44px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.dws-qty-btn { width: 36px; height: 44px; border: 0; background: #fafafa; display: flex; align-items: center; justify-content: center; }
.dws-pdp__buy .single_add_to_cart_button { flex: 1; height: 46px; font-size: 15px; border-radius: var(--radius-md); }
.dws-pdp__buy form.grouped_form table { width: 100%; }
.dws-protect { display: grid; gap: 12px; border-top: 1px solid #f1f1f1; padding-top: 14px; }
.dws-protect li { display: flex; gap: 10px; align-items: flex-start; }
.dws-protect .dws-icon { color: var(--green); margin-top: 2px; }
.dws-protect strong { display: block; font-size: 13.5px; }
.dws-protect span { font-size: 12.5px; color: var(--light); }

.dws-pdp__subnav {
	position: sticky; top: 106px; z-index: 50; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 28px 0 14px; padding: 8px;
	background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.dws-pdp__subnav a { padding: 7px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.dws-pdp__subnav a.is-active { background: var(--text); color: #fff; }
.dws-pdp__sec { padding: 24px; margin-bottom: 14px; scroll-margin-top: 170px; }
.dws-pdp__sec > h2:first-child { font-size: 20px; }
.dws-pdp__sec table.shop_attributes { width: 100%; border-collapse: collapse; border: 0; }
.dws-pdp__sec table.shop_attributes tr:nth-child(odd) { background: #fafafa; }
.dws-pdp__sec table.shop_attributes th, .dws-pdp__sec table.shop_attributes td { padding: 10px 14px; border: 0; text-align: left; font-style: normal; }
.dws-pdp__sec table.shop_attributes th { width: 30%; font-weight: 600; color: var(--muted); }
.dws-pdp__sec table.shop_attributes td p { margin: 0; }
.related > h2, .upsells > h2 { font-size: 22px; margin: 28px 0 14px; }
.dws-buybar {
	position: fixed; left: 0; right: 0; bottom: var(--tabbar-h); z-index: 250; background: #fff; border-top: 1px solid var(--border);
	box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); transform: translateY(110%); transition: transform .3s;
}
.dws-buybar.is-on { transform: none; }
.dws-buybar__inner { display: flex; align-items: center; gap: 14px; height: 64px; }
.dws-buybar img { width: 44px; height: 44px; object-fit: contain; }
.dws-buybar strong { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .dws-buybar strong, .dws-buybar img { display: none; } .dws-buybar__inner { justify-content: space-between; } }

/* Reseñas */
#reviews .commentlist { padding: 0; }
#reviews .comment_container { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f1f1; }
#reviews img.avatar { border-radius: 50%; width: 40px; height: 40px; }
.star-rating { color: #f59e0b; }

/* ─── Carrito lateral ─── */
.dws-drawer-cart__icon { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-gradient); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.dws-drawer-cart__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dws-freeship { position: relative; display: flex; align-items: center; gap: 8px; margin: 14px 16px 0; padding: 10px 12px 14px; border-radius: var(--radius-md); background: var(--gradient-ship); font-size: 13px; color: #4b1d1f; overflow: hidden; }
.dws-freeship i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--brand-gradient); transition: width .4s; }
.dws-mini-items { flex: 1; overflow: auto; padding: 8px 16px; }
.dws-mini-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f1f1; }
.dws-mini-item__img { width: 72px; height: 72px; flex-shrink: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.dws-mini-item__img img { width: 100%; height: 100%; object-fit: contain; }
.dws-mini-item__info { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
.dws-mini-item__info dl { margin: 4px 0 0; font-size: 12px; color: var(--light); }
.dws-mini-item__row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-weight: 700; }
.dws-mini-item__rm { color: var(--light); display: flex; }
.dws-mini-item__rm:hover { color: var(--red); }
.dws-mini-foot { padding: 14px 16px 18px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.dws-mini-total { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.dws-drawer-cart .dws-empty { flex: 1; justify-content: center; }
.dws-drawer-cart.is-loading .dws-drawer-cart__body { opacity: .5; pointer-events: none; }

/* ─── Carrito, checkout y cuenta ─── */
.dws-page--woo .woocommerce { display: block; }
.woocommerce-cart .dws-page--woo article, .woocommerce-checkout .dws-page--woo article, .woocommerce-account .dws-page--woo article { background: none; }
table.shop_table { background: #fff; border: 1px solid var(--border) !important; border-radius: var(--radius-xl) !important; border-collapse: separate; width: 100%; overflow: hidden; }
table.shop_table th, table.shop_table td { padding: 14px 16px !important; border-color: #f1f1f1 !important; }
table.shop_table img { width: 64px; border-radius: 8px; }
.cart-collaterals .cart_totals, .woocommerce-checkout-review-order, #customer_details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 20px; }
.woocommerce-checkout #customer_details { margin-bottom: 16px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 13px; }
#payment { background: #fafafa !important; border-radius: var(--radius-lg) !important; }
#place_order { width: 100%; height: 50px; font-size: 16px; }
.woocommerce-MyAccount-navigation ul { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 8px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--radius-md); font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--brand-tint); color: var(--brand); }
.woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; }
.woocommerce form.login, .woocommerce form.register { background: #fff; border: 1px solid var(--border) !important; border-radius: var(--radius-xl) !important; padding: 24px !important; }

/* Bloques de carrito/checkout de WooCommerce */
.wc-block-components-button:not(.is-link) { background: var(--brand-gradient) !important; color: #fff !important; border-radius: var(--radius-md) !important; border: 0 !important; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; }
