/* Officeplan — loja (WooCommerce) */
.opl-crumbs { font-size: 12.5px; margin-bottom: 10px; color: var(--grey); }
.opl-crumbs .sep { margin: 0 7px; opacity: .5; }
.opl-shop { padding: 30px 0 80px; }
.opl-shop--single { padding-top: 26px; }
.opl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.opl-chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; font-weight: 500; background: #fff; }
.opl-chip em { font-style: normal; color: var(--grey); font-size: 11.5px; margin-left: 4px; }
.opl-chip:hover { border-color: var(--blue); }
.opl-shop__grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.opl-shop__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.opl-shop__bar .woocommerce-result-count { margin: 0; font-size: 13.5px; }
.opl-shop__bar .woocommerce-ordering { margin: 0; }
.opl-shop__bar select { padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 13.5px; }
.opl-filters-toggle { display: none; margin-bottom: 16px; }

/* Filtros */
.opl-shop__side { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.opl-filters { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.opl-filters__head { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--navy); }
.opl-filters__head strong { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.opl-filter { border-bottom: 1px solid var(--line); }
.opl-filter summary { cursor: pointer; padding: 12px 16px; font-size: 13.5px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; }
.opl-filter summary::after { content: "+"; color: var(--blue); font-weight: 700; }
.opl-filter[open] summary::after { content: "–"; }
.opl-filter summary::-webkit-details-marker { display: none; }
.opl-filter__opts { padding: 0 16px 12px; max-height: 240px; overflow-y: auto; }
.opl-filter__opts label { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; cursor: pointer; }
.opl-filter__opts input { accent-color: var(--blue); }
.opl-filter__opts span { flex: 1; }
.opl-filter__opts em { font-style: normal; font-size: 11.5px; color: #9ba1a8; }
.opl-filters__foot { padding: 14px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.opl-filters__clear { font-size: 13px; text-decoration: underline; }
.js .opl-filters__foot .opl-btn { display: none; }

/* Grelha de produtos */
.woocommerce ul.products, ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0 0 30px; padding: 0; }
.opl-shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { position: relative; display: flex; flex-direction: column; width: auto !important; margin: 0 !important; float: none !important; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
ul.products li.product:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: transparent; }
ul.products li.product a img { width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: contain; background: #fff; margin: 0 0 12px !important; border-radius: var(--radius-sm); }
ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; font-weight: 600; color: var(--navy); line-height: 1.35; padding: 0 !important; margin: 0 0 8px !important; }
.opl-sku { display: block; font-size: 11px; letter-spacing: .04em; color: #9ba1a8; margin-bottom: 4px; }
ul.products li.product .price { color: var(--navy) !important; font-weight: 700; font-size: 15px !important; margin-bottom: 12px !important; }
ul.products li.product .button { margin-top: auto !important; width: 100%; font-size: 13px; padding: 11px 12px; }
.opl-price-ask { color: var(--blue); font-weight: 600; font-size: 13.5px; }
.opl-loop-ficha { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--grey); }
.opl-loop-ficha:hover { color: var(--blue); }
.woocommerce span.onsale { background: var(--blue); border-radius: 4px; min-height: 0; min-width: 0; padding: 4px 9px; line-height: 1.4; font-size: 11.5px; top: 12px; left: 12px; }
.opl-empty { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Paginação */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Página de produto */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 10px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.woocommerce div.product .product_title { font-size: clamp(24px, 2.6vw, 32px); }
.woocommerce div.product p.price { color: var(--navy) !important; font-size: 24px !important; font-weight: 700; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product form.cart { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.woocommerce div.product form.cart .qty { height: 46px; width: 80px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.opl-single-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 10px 0 18px; }
.opl-btn--ficha svg { color: #d4352b; }
.opl-help { margin: 0; font-size: 13.5px; }
.product_meta { font-size: 13px; }
.product_meta > span { display: block; margin-bottom: 4px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 20px 0 0; border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px !important; font-weight: 600; font-size: 14px; color: var(--grey) !important; border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--navy) !important; border-color: var(--blue); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 26px 0; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 11px 16px !important; border-color: var(--line) !important; font-style: normal !important; }
.woocommerce table.shop_attributes th { width: 30%; background: var(--soft); color: var(--navy); }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0 !important; }
.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th { background: var(--soft) !important; }
.opl-ficha-tab object { border: 1px solid var(--line); border-radius: var(--radius); }
.related > h2, .upsells > h2 { font-size: 22px; margin: 30px 0 20px; }

/* Avisos, carrinho, checkout */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--blue) !important; background: var(--soft) !important; border-radius: var(--radius-sm); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--blue) !important; }
.woocommerce table.shop_table { border-radius: var(--radius); border-color: var(--line); }
.woocommerce-checkout #payment { background: var(--soft) !important; border-radius: var(--radius) !important; }

@media (max-width: 1024px) {
	.opl-shop__grid { grid-template-columns: 1fr; }
	.opl-filters-toggle { display: inline-flex; }
	.opl-shop__side { position: fixed; z-index: 90; inset: 0 auto 0 0; width: min(340px, 90vw); max-height: none; padding: 16px; background: #fff; transform: translateX(-105%); transition: transform .3s var(--ease); }
	body.opl-filters-open .opl-shop__side { transform: none; box-shadow: 20px 0 50px rgba(0,0,0,.2); }
	body.opl-filters-open .opl-overlay { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(15, 21, 28,.45); }
	.js .opl-filters__foot .opl-btn { display: inline-flex; }
	ul.products, .woocommerce ul.products, .opl-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
	ul.products, .woocommerce ul.products, .opl-shop ul.products { gap: 10px; }
	ul.products li.product { padding: 10px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; }
	ul.products li.product .button { font-size: 12px; padding: 10px 6px; white-space: normal; }
	.opl-loop-ficha span { font-size: 11.5px; }
	.opl-venda--loop { font-size: 11px; }
	.opl-shop__bar { flex-direction: column; align-items: stretch; gap: 8px; }
	.opl-shop__bar select { width: 100%; }
	.opl-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
	.opl-chip { white-space: nowrap; }
	.woocommerce div.product .product_title { font-size: 22px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 12px !important; font-size: 13px; }
	.opl-ficha-tab object { height: 480px; }
	.woocommerce table.shop_attributes th { width: 42%; }
	/* carrinho e checkout do WooCommerce em ecrã pequeno */
	.woocommerce table.shop_table_responsive tr td { text-align: right !important; }
	.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; }
}

/* Unidade de venda */
.opl-venda { display: block; font-size: 12px; line-height: 1.4; color: var(--grey); margin: -6px 0 10px; }
.opl-venda--single { font-size: 13.5px; margin: -8px 0 16px; padding: 8px 12px; background: var(--soft); border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.woocommerce-price-suffix { font-size: .72em; font-weight: 500; color: var(--grey); }



/* =====================================================================
   Estrutura ao estilo mauser.pt (v1.0.8): cartões, página de produto, área de cliente
   ===================================================================== */
:root { --bg2: #f1eee9; --price: #C96C00; }
.opl-greybg, .opl-account-bg { background: var(--bg2); }
.opl-accent { color: var(--price); }
.opl-muted { color: var(--grey); }
.opl-small { font-size: 12.5px; }

/* ---------- Cartão de produto ---------- */
ul.products li.product { padding: 14px 14px 12px; border: 0; box-shadow: 0 1px 2px rgba(23, 32, 42,.06); }
ul.products li.product:hover { box-shadow: var(--shadow-h); }
ul.products li.product > a.woocommerce-LoopProduct-link { position: relative; display: block; }
ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px !important; font-weight: 500; line-height: 1.4; color: var(--ink); min-height: 3.9em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.opl-flag, .woocommerce ul.products li.product .onsale, .woocommerce span.onsale.opl-flag { position: absolute; top: 0; right: 0; left: auto; z-index: 2; margin: 0; min-width: 0; min-height: 0; padding: 4px 9px; border-radius: 3px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: .02em; }
.opl-flag--sale, .woocommerce span.onsale.opl-flag--sale { background: #e0452e; left: 0; right: auto; }
.opl-pc { display: flex; flex-direction: column; flex: 1; }
.opl-pc__attrs { margin: 6px 0 10px; font-size: 11.5px; line-height: 1.45; color: #8c9299; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.opl-pc .opl-venda--loop { margin: -4px 0 8px; font-size: 11px; color: var(--grey); }
.opl-pc__ref { margin: auto 0 6px; font-size: 11.5px; color: var(--ink); }
.opl-pc__ref b, .opl-refs b { color: var(--price); font-weight: 700; margin-right: 3px; }
.opl-stock { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 600; }
.opl-stock.is-in { color: #2e9e57; }
.opl-stock.is-order { color: #b7791f; }
.opl-stock.is-out { color: #c0392b; }
.opl-pc__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.opl-pc__foot .price, ul.products li.product .opl-pc__foot .price { margin: 0 !important; color: var(--price) !important; font-size: 18px !important; font-weight: 700; line-height: 1.1; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 4px; }
.opl-pc__foot .price del { font-size: 12px; color: #9ba1a8; font-weight: 500; width: 100%; }
.opl-pc__foot .price ins { text-decoration: none; }
.opl-psfx { display: inline-flex; flex-direction: column; line-height: 1.1; font-size: 10.5px !important; font-weight: 500; color: var(--price); vertical-align: bottom; }
.opl-psfx b { font-weight: 600; }
.opl-psfx i { font-style: normal; }
a.opl-cartbtn, .woocommerce ul.products li.product a.opl-cartbtn { flex: none; width: 42px !important; height: 42px; padding: 0 !important; margin: 0 !important; border-radius: 6px; background: var(--blue); border-color: var(--blue); color: #fff; display: inline-grid; place-items: center; }
a.opl-cartbtn:hover { background: var(--navy); border-color: var(--navy); }
a.opl-cartbtn.loading { opacity: .6; }
a.opl-cartbtn.added::after { display: none !important; }
a.opl-cartbtn--ask { background: var(--navy); border-color: var(--navy); }
ul.products li.product .added_to_cart { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Página de produto ---------- */
.opl-shop--single { padding: 22px 0 60px; }
.woocommerce div.product { grid-template-columns: minmax(0, 1fr) 420px; gap: 14px; align-items: start; position: relative; }
.woocommerce div.product div.images { grid-column: 1; grid-row: 1; padding: 30px; border: 0; border-radius: 6px; }
.woocommerce div.product div.summary { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 96px; padding: 22px 22px 18px; border-radius: 6px; background: #fff; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1; grid-row: 2; padding: 0 22px 10px; border-radius: 6px; background: #fff; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; grid-row: 3; }
.woocommerce div.product > span.onsale { left: 14px; top: 14px; }
.opl-brand { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--navy); }
.woocommerce div.product .product_title { font-size: 19px; font-weight: 500; line-height: 1.35; color: var(--ink); margin: 0 0 12px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 13px; line-height: 1.6; color: var(--grey); margin-bottom: 14px; }
.opl-refs { display: flex; gap: 22px; flex-wrap: wrap; margin: 0 0 12px; font-size: 12.5px; color: var(--grey); }
.opl-buy__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 4px; }
.woocommerce div.product .opl-buy__price p.price { margin: 0 !important; color: var(--price) !important; font-size: 30px !important; font-weight: 700; line-height: 1; display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap; }
.opl-buy__price .opl-psfx { font-size: 12.5px !important; }
.opl-ivanote { margin: 10px 0 0; font-size: 11.5px; color: var(--grey); }
.opl-probadge { flex: none; padding: 9px 12px; border-radius: 3px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.woocommerce div.product .opl-venda--single { margin: 12px 0 4px; }
.woocommerce div.product form.cart { margin: 18px 0 10px; gap: 10px; flex-wrap: nowrap; }
.woocommerce div.product form.cart .quantity .qty { height: 48px; width: 70px; text-align: center; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; height: 48px; font-size: 15px; background: var(--blue) !important; border-color: var(--blue) !important; }
.woocommerce div.product form.cart .single_add_to_cart_button::after { content: ""; width: 20px; height: 20px; margin-left: 8px; 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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.5L21 8H6.2'/%3E%3Ccircle cx='10' cy='20' r='1.4'/%3E%3Ccircle cx='17' cy='20' r='1.4'/%3E%3Cpath d='M13.5 9.5v4M11.5 11.5h4'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.5L21 8H6.2'/%3E%3Ccircle cx='10' cy='20' r='1.4'/%3E%3Ccircle cx='17' cy='20' r='1.4'/%3E%3Cpath d='M13.5 9.5v4M11.5 11.5h4'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--navy) !important; border-color: var(--navy) !important; }
.opl-single-actions { padding: 14px 0 0; border-bottom: 0; margin: 8px 0 0; }
.opl-single-actions .opl-btn--ficha { width: 100%; }
.woocommerce div.product .woocommerce-tabs ul.tabs { margin: 0; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 16px 18px !important; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--price) !important; border-color: var(--price); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 20px 0; font-size: 14px; }
.opl-dl { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.opl-dl > .opl-ico:first-child { color: #d4352b; }
.opl-dl span { flex: 1; }
.opl-dl strong { display: block; color: var(--navy); }
.opl-dl em { font-style: normal; font-size: 12.5px; color: var(--grey); }
.opl-dl:hover { border-color: var(--blue); }
.opl-dl:hover > .opl-ico:last-child { color: var(--blue); }
.woocommerce div.product .related, .woocommerce div.product .upsells { margin-top: 26px; }

/* ---------- Área de cliente (sessão iniciada) ---------- */
.opl-account-bg .opl-page { padding: 34px 0 70px; }
.opl-account.is-in .woocommerce { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; max-width: 1180px; }
.opl-account .woocommerce-MyAccount-content { min-width: 0; width: auto !important; float: none !important; }
.opl-acc-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.opl-acc-hi { display: flex; align-items: center; gap: 14px; padding: 0 4px 6px; }
.opl-avatar { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: 17px; }
.opl-avatar--sm { width: 30px; height: 30px; font-size: 11.5px; background: var(--blue); }
.opl-acc-hi p { margin: 0; font-size: 19px; color: var(--price); line-height: 1.2; }
.opl-acc-hi p strong { font-weight: 700; }
.opl-acc-hi a { font-size: 12.5px; color: var(--grey); text-decoration: underline; }
.opl-acc-hi a:hover { color: var(--navy); }
.opl-acc-nav { width: auto !important; float: none !important; padding: 8px 16px; border-radius: 6px; background: #fff; }
.opl-acc-nav ul { list-style: none; margin: 0; padding: 0; }
.opl-acc-nav li + li { border-top: 1px dashed #d2ccc3; }
.opl-acc-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 2px; color: var(--ink); font-size: 13.5px; }
.opl-acc-nav a .opl-ico { color: var(--price); }
.opl-acc-nav a span { flex: 1; }
.opl-acc-nav a:hover, .opl-acc-nav .is-active a { color: var(--price); }
.opl-acc-nav .is-strong a { font-weight: 700; color: var(--navy); }
.opl-acc-nav .is-strong.is-active a { color: var(--price); }
.opl-badge { padding: 1px 6px; border-radius: 3px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.opl-badge--pro { background: var(--navy); color: #fff; }
.opl-badge--new { background: #ffd400; color: #1d1d1d; text-transform: uppercase; }
.opl-badge--wait { background: #fff1d6; color: #8a5a00; }
.opl-acc-help { padding: 18px 18px 14px; border-radius: 6px; background: #fff; font-size: 13.5px; }
.opl-acc-help strong { display: block; color: var(--ink); margin-bottom: 6px; }
.opl-acc-help p { margin: 0; }
.opl-acc-help a { color: var(--price); font-weight: 600; }
.opl-acc-help .opl-acc-help__tel { color: var(--ink); white-space: nowrap; }

.opl-sec { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 20px; font-weight: 500; color: var(--ink); }
.opl-sec .opl-ico { color: var(--price); }
.opl-sec em { font-style: normal; color: var(--price); }
.opl-sec--sub { font-size: 16.5px; margin: 22px 0 10px; }
.woocommerce-MyAccount-content > .opl-sec:first-child + .opl-sec--sub, .woocommerce-MyAccount-content > .opl-sec + form > .opl-sec--sub:first-of-type { margin-top: 6px; }
.opl-card { padding: 18px 20px; margin-bottom: 14px; border-radius: 6px; background: #fff; font-size: 14px; }
.opl-card > p:last-child { margin-bottom: 0; }
.opl-card--intro p { margin: 0; }
.opl-card--danger { border: 1px solid #f2a7a2; }
.opl-card__foot { margin: 12px 0 0; text-align: right; }
.opl-card__foot a { color: var(--price); text-decoration: underline; font-size: 13px; }
.opl-note { display: flex; gap: 8px; align-items: center; padding: 12px 14px; margin-bottom: 14px; border-radius: 6px; font-size: 13px; }
.opl-note--warn { background: #fdf0ef; border: 1px solid #f2a7a2; color: #5a1f1a; }
.opl-note .opl-ico { color: #c0392b; flex: none; }

/* Campos com etiqueta flutuante */
.opl-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-bottom: 14px; }
.opl-fgrid--1 { grid-template-columns: minmax(0, 420px); }
.opl-fgrid__full { grid-column: 1 / -1; }
.opl-fl { position: relative; margin: 0; }
.opl-fl input, .opl-fl select { width: 100%; height: 46px; padding: 16px 12px 4px; border: 1px solid #ddd8d0; border-radius: 4px; background: #fff; font-size: 14px; }
.opl-fl select { padding-top: 4px; }
.opl-fl label { position: absolute; left: 12px; top: 13px; font-size: 13.5px; color: #8c9299; pointer-events: none; transition: all .15s; }
.opl-fl label b { color: #c0392b; font-weight: 500; }
.opl-fl input:focus, .opl-fl select:focus { border-color: var(--blue); outline: none; }
.opl-fl input:focus + label, .opl-fl input:not(:placeholder-shown) + label { top: 4px; font-size: 10.5px; }
.opl-fl--pw input { padding-right: 44px; }
.opl-eye { position: absolute; right: 8px; top: 9px; width: 30px; height: 28px; border: 0; background: none; color: var(--grey); cursor: pointer; }
.opl-btn--save { min-width: 190px; }
.opl-btn--grey { background: #f1eee9; border-color: #f1eee9; color: var(--ink) !important; }
.opl-btn--grey:hover { background: #e4dfd8; border-color: #e4dfd8; color: var(--ink) !important; }
.opl-btn--danger { background: #fff; border-color: #e0452e; color: #c0392b !important; }
.opl-btn--danger:hover { background: #e0452e; border-color: #e0452e; color: #fff !important; }
.opl-btnrow { display: flex; gap: 10px; flex-wrap: wrap; }

/* Painel */
.opl-dash { display: flex; flex-direction: column; gap: 14px; }
.opl-dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.opl-stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: 6px; background: #fff; color: var(--ink); transition: box-shadow .25s; }
.opl-stat:hover { box-shadow: var(--shadow); }
.opl-stat .opl-ico { grid-row: 1 / 3; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--soft); color: var(--price); }
.opl-stat strong { font-size: 24px; line-height: 1.1; color: var(--navy); }
.opl-stat span { font-size: 13px; color: var(--grey); }
.opl-stat.is-hot .opl-ico { background: var(--blue); color: #fff; }
.opl-dash__notice { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 6px; background: #fff8e6; border: 1px solid #f3dfa6; }
.opl-dash__notice .opl-ico { color: #b7791f; }
.opl-dash__notice p { margin: 0; flex: 1; font-size: 14px; }
.opl-dash__box { border-radius: 6px; background: #fff; }
.opl-dash__box > header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px dashed #d2ccc3; }
.opl-dash__box > header h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 500; }
.opl-dash__box > header h3 .opl-ico { color: var(--price); }
.opl-dash__box > header a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--price); text-decoration: underline; }
.opl-orders-mini { list-style: none; margin: 0; padding: 0; }
.opl-orders-mini li + li { border-top: 1px dashed #d2ccc3; }
.opl-orders-mini a { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 20px; color: var(--ink); font-size: 14px; }
.opl-orders-mini a:hover { background: #f8f9fb; }
.opl-orders-mini__n { font-weight: 700; color: var(--navy); }
.opl-orders-mini__d { color: var(--grey); font-size: 13px; }
.opl-orders-mini__t { color: var(--price); }
.opl-status { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; background: #f3f1ec; color: var(--grey); white-space: nowrap; }
.opl-status--processing { background: #fff1df; color: #9a5200; }
.opl-status--completed { background: #e3f4e8; color: #2e9e57; }
.opl-status--on-hold, .opl-status--pending { background: #fff4de; color: #8a5a00; }
.opl-status--cancelled, .opl-status--failed, .opl-status--refunded { background: #fdecec; color: #9b1c1c; }
.opl-dash__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.opl-dash__quick a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 6px; background: #fff; color: var(--ink); transition: box-shadow .25s; }
.opl-dash__quick a:hover { box-shadow: var(--shadow); }
.opl-dash__quick .opl-ico { color: var(--price); margin-bottom: 6px; }
.opl-dash__quick strong { color: var(--navy); font-size: 15px; }
.opl-dash__quick span { color: var(--grey); font-size: 13px; }
.opl-dash__pro { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 6px; background: var(--navy); color: #d3d8de; }
.opl-dash__pro > .opl-ico { color: var(--blue); }
.opl-dash__pro h3 { color: #fff; margin: 0 0 4px; font-size: 17px; }
.opl-dash__pro p { margin: 0; font-size: 14px; }
.opl-dash__pro > div { flex: 1; }

/* Histórico de encomendas */
.opl-olist { list-style: none; margin: 0; padding: 0; }
.opl-olist__item { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.opl-olist__info p { margin: 0 0 3px; }
.opl-olist__n { font-size: 14px; }
.opl-olist__n strong { letter-spacing: .02em; }
.opl-olist__more { color: var(--price); font-size: 12.5px; }
.opl-olist__meta { font-size: 11.5px; color: #8c9299; }
.opl-olist__meta strong { color: var(--grey); }
.opl-olist__meta span { margin: 0 6px; }
.opl-olist__pay { font-size: 11.5px; }
.opl-olist__pay.is-ok { color: #2e9e57; }
.opl-olist__pay.is-wait { color: #b7791f; }
.opl-olist__val { font-size: 13.5px; }
.opl-olist__val strong, .opl-olist__val .woocommerce-Price-amount { color: var(--price); }
.opl-olist__act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.opl-ostatus, .opl-obtn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 14px; border-radius: 4px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.opl-ostatus { background: #f3f1ec; color: var(--grey); }
.opl-ostatus--completed { background: #d9f0e0; color: #2e9e57; }
.opl-ostatus--processing { background: #fff1df; color: #9a5200; }
.opl-ostatus--on-hold, .opl-ostatus--pending { background: #fff1d6; color: #8a5a00; }
.opl-ostatus--cancelled, .opl-ostatus--failed, .opl-ostatus--refunded { background: #fde3e1; color: #9b1c1c; }
.opl-obtn { background: #ebe7e1; color: var(--ink); }
.opl-obtn:hover { background: var(--navy); color: #fff; }
.opl-obtn--order-again { background: #fff; border: 1px solid var(--blue); color: var(--price); padding: 10px 13px; }
.opl-opager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; font-size: 13px; }
.opl-opager .opl-obtn { background: #fff; }
.opl-acc-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 50px 24px; text-align: center; border: 1px dashed #d2ccc3; color: var(--ink); }
.opl-acc-empty .opl-ico { color: var(--price); }
.opl-acc-empty p { margin: 0; }
.opl-acc-empty--sm { padding: 26px; border: 0; }

/* Moradas */
.opl-addr { position: relative; display: flex; gap: 14px; padding: 16px 18px; border: 1px solid #dde1e8; border-radius: 4px; background: #f5f6f8; }
.opl-addr__edit { color: var(--price); margin-top: 2px; }
.opl-addr address { font-style: normal; font-size: 12.5px; line-height: 1.7; color: #7b8496; }
.opl-addr address b { color: var(--ink); }
.opl-account .woocommerce-address-fields, .opl-account .woocommerce-MyAccount-content > form:not(.opl-dados):not(.opl-accform) { padding: 20px; border-radius: 6px; background: #fff; }
.opl-account form .form-row { margin: 0 0 14px; padding: 0; }
.opl-account form .form-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.opl-account form .form-row-first, .opl-account form .form-row-last { width: 48.5%; }

/* Conta PRO e UE */
.opl-procard { position: relative; margin-top: 12px; padding: 14px 16px; border-radius: 4px; background: #e9ecf2; color: var(--ink); font-size: 13px; }
.opl-procard.is-on { background: #3d4354; color: #d7dbe5; }
.opl-procard p { margin: 0; line-height: 1.5; }
.opl-procard__k { font-weight: 700; letter-spacing: .03em; color: inherit; }
.opl-procard.is-on strong, .opl-procard.is-on b { color: #fff; }
.opl-procard em { font-style: normal; padding: 1px 6px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; font-size: 11px; }
.opl-procard__ok { position: absolute; right: 16px; top: 14px; color: #fff; }
.opl-ticks { list-style: none; margin: 0; padding: 0; }
.opl-ticks li { display: flex; gap: 8px; align-items: center; padding: 5px 0; }
.opl-ticks .opl-ico { color: #2e9e57; }
.opl-account .opl-proreg { margin: 0 0 14px; padding: 22px; box-shadow: none; border: 0; border-radius: 6px; }

/* Preferências */
.opl-pref { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px dashed #d2ccc3; cursor: pointer; }
.opl-pref:last-of-type { margin-bottom: 14px; border-bottom: 1px dashed #d2ccc3; }
.opl-pref strong { display: block; font-size: 14px; }
.opl-pref em { font-style: normal; font-size: 12.5px; color: var(--grey); }
.opl-switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 40px; height: 22px; border-radius: 22px; background: #cbc5bc; cursor: pointer; transition: background .2s; }
.opl-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.opl-switch:checked { background: var(--blue); }
.opl-switch:checked::after { left: 21px; }

/* Fichas técnicas compradas */
.opl-fichas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.opl-fichas__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px; border-radius: 6px; background: #fff; }
.opl-fichas__img img { width: 64px; height: 64px; object-fit: contain; }
.opl-fichas__txt strong { display: block; color: var(--navy); font-size: 14px; line-height: 1.35; }
.opl-fichas__txt span { font-size: 12.5px; color: var(--grey); }
.opl-fichas__act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.opl-order-fichas { margin: 20px 0; padding: 18px 20px; border-radius: 6px; background: #fff; }
.opl-order-fichas h2 { font-size: 16px; margin: 0 0 10px; }
.opl-order-fichas a { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; color: var(--ink); }
.opl-order-fichas a .opl-ico { color: #d4352b; }
.opl-account .woocommerce-order-details, .opl-account .woocommerce-customer-details { padding: 18px 20px; margin-top: 14px; border-radius: 6px; background: #fff; }
.opl-account .woocommerce-MyAccount-content > p:first-of-type mark { background: none; font-weight: 700; color: var(--price); }
.opl-account .woocommerce-notices-wrapper:empty { display: none; }

/* Entrar / criar conta */
.opl-auth-intro { margin-bottom: 26px; }
.opl-auth-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.opl-auth-perks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--soft); font-size: 13.5px; font-weight: 500; color: var(--navy); }
.opl-auth-perks .opl-ico { color: var(--blue); }
.opl-auth-tabs { display: none; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
#customer_login::before, #customer_login::after { display: none; }
#customer_login > div { width: auto !important; float: none !important; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
#customer_login h2 { font-size: 21px; margin: 0 0 18px; }
.opl-account .woocommerce-form-login, .opl-account .woocommerce-form-register, .opl-account .woocommerce-ResetPassword { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.opl-account .woocommerce-ResetPassword { max-width: 520px; padding: 28px !important; border: 1px solid var(--line) !important; border-radius: var(--radius); background: #fff; }
.opl-account .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; margin: 4px 0 14px; }
.opl-account .woocommerce-form-login .button, .opl-account .woocommerce-form-register .button { width: 100%; margin-top: 4px; }
.opl-account .lost_password { margin: 14px 0 0; font-size: 13.5px; }
.opl-account .woocommerce-privacy-policy-text p { font-size: 12.5px; color: var(--grey); }
.opl-pro-link { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 14px; border-radius: var(--radius-sm); background: var(--soft); font-size: 13px; }
.opl-pro-link .opl-ico { color: var(--blue); margin-top: 1px; }
.opl-pro-link a { font-weight: 600; color: var(--blue); }
.opl-account .woocommerce-form-register .opl-form__grid { margin-bottom: 0; }

/* Menu da conta no cabeçalho */
.opl-accmenu { position: relative; }
.opl-accmenu__drop { position: absolute; right: -8px; top: calc(100% + 8px); z-index: 70; width: 240px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-h); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.opl-accmenu__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.opl-accmenu:hover .opl-accmenu__drop, .opl-accmenu:focus-within .opl-accmenu__drop { opacity: 1; visibility: visible; transform: none; }
.opl-accmenu__drop a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); font-size: 13.5px; color: var(--ink); }
.opl-accmenu__drop a:hover { background: var(--soft); color: var(--navy); }
.opl-accmenu__drop a .opl-ico { color: var(--grey); }
.opl-accmenu__drop p { margin: 4px 6px 10px; font-size: 13px; color: var(--grey); }
.opl-accmenu__drop .opl-btn { width: 100%; color: #fff; }
.opl-accmenu__drop .opl-btn:hover { background: var(--blue); }
.opl-accmenu__reg { justify-content: center; font-weight: 600; color: var(--blue) !important; }
.opl-accmenu.is-in .opl-tool { padding: 0; }

/* Registo de empresa (página Profissionais) */
.opl-proreg { margin: 34px 0 10px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.opl-proreg__head { margin-bottom: 20px; }
.opl-proreg__head h2 { margin: 6px 0 8px !important; }
.opl-proreg__head p { color: var(--grey); }
.opl-proreg__login { font-size: 14px; }
.opl-proreg__login a { font-weight: 600; color: var(--blue); }
.opl-proreg fieldset { margin: 0 0 18px; padding: 18px 20px 4px; border: 1px solid var(--line); border-radius: var(--radius); }
.opl-proreg legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; font-weight: 600; color: var(--navy); }
.opl-proreg legend .opl-ico { color: var(--blue); }
.opl-proreg .opl-form input, .opl-proreg input[type=password], .opl-proreg select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.opl-proreg select:focus, .opl-proreg input:focus { border-color: var(--blue); outline: none; }
.opl-proreg input[readonly] { background: var(--soft); color: var(--grey); }
.opl-req { color: #c0392b; font-weight: 600; }
.opl-proreg .opl-alert ul { margin: 0; padding-left: 1.1em; }
.opl-proreg .opl-alert { margin-bottom: 18px; }
.opl-proreg__done { display: flex; align-items: center; gap: 18px; }
.opl-proreg__done .opl-ico { color: var(--blue); flex: none; }
.opl-proreg__done h3 { margin: 0 0 4px; }
.opl-proreg__done p { margin: 0; color: var(--grey); }
.opl-proreg__done > div { flex: 1; }

.opl-accmenu__out { color: #c0392b !important; border-top: 1px dashed #d2ccc3; margin-top: 4px; border-radius: 0 !important; }
.opl-accmenu__out .opl-ico { color: #c0392b !important; }

@media (max-width: 1024px) {
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
	.woocommerce div.product div.images, .woocommerce div.product div.summary, .woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1; grid-row: auto; position: static; }
	.opl-account.is-in .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.opl-acc-side { position: static; }
	.opl-acc-help { display: none; }
	.opl-acc-nav { padding: 6px; }
	.opl-acc-nav ul { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.opl-acc-nav li + li { border: 0; }
	.opl-acc-nav a { white-space: nowrap; padding: 9px 12px; border-radius: 4px; }
	.opl-acc-nav .is-active a { background: var(--soft); }
	.opl-auth-perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.opl-auth-tabs { display: flex; margin-top: 18px; padding: 4px; border-radius: var(--radius); background: var(--soft); }
	.opl-auth-tabs button { flex: 1; padding: 11px; border: 0; border-radius: var(--radius-sm); background: none; font-weight: 600; color: var(--grey); cursor: pointer; }
	.opl-auth-tabs button.is-active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(23, 32, 42,.1); }
	#customer_login { grid-template-columns: 1fr; }
	.js #customer_login[data-show="login"] > .u-column2, .js #customer_login[data-show="register"] > .u-column1 { display: none; }
	#customer_login > div { padding: 22px 18px; }
	.opl-account-bg .opl-page { padding: 20px 0 50px; }
	.opl-acc-hi p { font-size: 17px; }
	.opl-dash__stats, .opl-dash__quick { grid-template-columns: 1fr 1fr; gap: 10px; }
	.opl-dash__stats .opl-stat:last-child, .opl-dash__quick a:last-child { grid-column: 1 / -1; }
	.opl-stat { padding: 14px; column-gap: 10px; }
	.opl-stat .opl-ico { width: 38px; height: 38px; padding: 8px; }
	.opl-orders-mini a { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; }
	.opl-orders-mini__d { grid-column: 1; grid-row: 2; }
	.opl-orders-mini .opl-status { grid-column: 2; grid-row: 1; justify-self: end; }
	.opl-orders-mini__t { grid-column: 2; grid-row: 2; justify-self: end; }
	.opl-dash__pro, .opl-dash__notice, .opl-proreg__done { flex-direction: column; align-items: flex-start; }
	.opl-olist__item { flex-direction: column; align-items: stretch; gap: 12px; }
	.opl-olist__act { justify-content: flex-start; }
	.opl-ostatus, .opl-obtn { padding: 9px 11px; font-size: 11.5px; }
	.opl-fgrid { grid-template-columns: 1fr; }
	.opl-btn--save { width: 100%; }
	.opl-account form .form-row-first, .opl-account form .form-row-last { width: 100%; float: none; }
	.opl-fichas__item { grid-template-columns: 52px 1fr; }
	.opl-fichas__img img { width: 52px; height: 52px; }
	.opl-fichas__act { grid-column: 1 / -1; justify-content: flex-start; }
	.opl-proreg { padding: 22px 16px; }
	.opl-accmenu__drop { display: none; }
	.woocommerce div.product div.images { padding: 14px; }
	.woocommerce div.product div.summary { padding: 18px 16px; }
	.woocommerce div.product .woocommerce-tabs { padding: 0 14px 6px; }
	.woocommerce div.product .opl-buy__price p.price { font-size: 26px !important; }
}
@media (max-width: 640px) {
	.opl-pc__foot .price, ul.products li.product .opl-pc__foot .price { font-size: 15px !important; }
	a.opl-cartbtn, .woocommerce ul.products li.product a.opl-cartbtn { width: 36px !important; height: 36px; }
	.opl-pc__attrs { font-size: 10.5px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 12.5px !important; }
}
@media (max-width: 480px) {
	.opl-auth-perks { grid-template-columns: 1fr 1fr; gap: 8px; }
	.opl-auth-perks li { padding: 10px 12px; font-size: 12.5px; gap: 8px; }
}
.woocommerce div.product div.images img { max-height: 540px; width: 100%; object-fit: contain; }
.woocommerce div.product .woocommerce-tabs ul.tabs { list-style: none; }

/* v1.0.9 — mais espaço interior nos cartões de produto */
ul.products li.product { padding: 22px 22px 18px !important; }
ul.products li.product a img { padding: 6px; margin-bottom: 16px !important; }
.opl-flag, .woocommerce ul.products li.product .onsale { top: 12px; right: 12px; }
.opl-flag--sale, .woocommerce span.onsale.opl-flag--sale { left: 12px; right: auto; }
.opl-pc__foot { padding-top: 4px; }
@media (max-width: 640px) {
	ul.products li.product { padding: 14px 12px 12px !important; }
	ul.products li.product a img { padding: 2px; margin-bottom: 10px !important; }
	.opl-flag, .woocommerce ul.products li.product .onsale { top: 8px; right: 8px; font-size: 10px; padding: 3px 7px; }
}
.opl-flag--pro, .woocommerce span.onsale.opl-flag--pro { background: var(--navy); left: 12px; right: auto; }

/* v1.0.14 — procurar dentro do filtro e acessórios dos perfis */
.opl-filter__find { display: block; width: calc(100% - 32px); margin: 0 16px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; }
.opl-filter__find:focus { border-color: var(--blue); outline: none; }
.opl-acclink { display: flex; align-items: center; gap: 10px; margin: 2px 0 6px; padding: 12px 14px; border-radius: 6px; background: var(--soft); color: var(--navy); font-size: 13.5px; font-weight: 600; }
.opl-acclink .opl-ico:first-child { color: var(--blue); }
.opl-acclink span { flex: 1; }
.opl-acclink:hover { background: #fff1df; color: var(--navy); }
.opl-anchor { display: block; grid-column: 1 / -1; position: relative; top: -110px; height: 0; }
.woocommerce div.product .upsells > h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; }

/* v1.0.14 — grelha da área de cliente com posições fixas (a caixa de avisos vazia do WooCommerce já não empurra o menu) */
.opl-account.is-in .woocommerce > * { grid-column: 1 / -1; }
.opl-account.is-in .woocommerce > .opl-acc-side { grid-column: 1; grid-row: 2; }
.opl-account.is-in .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; grid-row: 2; }
.opl-account.is-in .woocommerce > .woocommerce-notices-wrapper { grid-row: 1; }
.opl-account.is-in .woocommerce { row-gap: 0; }
.opl-account.is-in .woocommerce > .woocommerce-notices-wrapper:not(:has(*)) { display: none; }
@media (max-width: 1024px) {
	.opl-account.is-in .woocommerce { row-gap: 14px; }
	.opl-account.is-in .woocommerce > .opl-acc-side { grid-column: 1; grid-row: 2; }
	.opl-account.is-in .woocommerce > .woocommerce-MyAccount-content { grid-column: 1; grid-row: 3; }
}

/* v1.0.15 — caixa «Li e aceito» junto ao texto no registo de empresa */
.opl-proreg .opl-check { display: flex; align-items: flex-start; justify-content: flex-start; gap: 10px; margin: 4px 0 18px; text-align: left; }
.opl-proreg .opl-check input[type=checkbox] { flex: none; width: 18px !important; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--blue); }
.opl-proreg .opl-check span { flex: 1; font-size: 13.5px !important; color: var(--grey) !important; }
.opl-proreg .opl-check a { color: var(--price); font-weight: 600; }

/* v1.0.17 — copiar moradas */
.opl-copybtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px dashed var(--blue); border-radius: 4px; background: #fff; color: var(--price); font-size: 13px; font-weight: 600; cursor: pointer; }
.opl-copybtn:hover { background: #fff1df; }
.opl-card__tools { margin-top: 12px; }
.opl-copycheck { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 6px; background: #fff1df; font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer; }
.opl-copycheck input { width: 18px; height: 18px; accent-color: var(--blue); }
.opl-account .woocommerce-address-fields .form-row-first, .opl-account .woocommerce-address-fields .form-row-last { float: left; }
.opl-account .woocommerce-address-fields .form-row-last { float: right; }
.opl-account .woocommerce-address-fields__field-wrapper::after { content: ""; display: block; clear: both; }

/* v1.0.18 — formulário das moradas: duas colunas e campos iguais ao resto da área de cliente */
.opl-account .woocommerce-address-fields { max-width: 760px; }
.opl-account .woocommerce-address-fields > h2, .opl-account .woocommerce-MyAccount-content form > h2 { font-size: 18px; font-weight: 600; margin: 0 0 16px; }
.opl-account .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.opl-account .woocommerce-address-fields__field-wrapper::after { display: none; }
.opl-account .woocommerce-address-fields__field-wrapper .form-row { float: none !important; width: auto !important; margin: 0 0 14px !important; }
.opl-account .woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.opl-account .woocommerce-address-fields__field-wrapper .form-row-first { grid-column: 1; }
.opl-account .woocommerce-address-fields__field-wrapper .form-row-last { grid-column: 2; }
.opl-account .woocommerce-address-fields__field-wrapper .form-row-first + .form-row-wide, .opl-account .woocommerce-address-fields__field-wrapper .form-row-last { align-self: end; }
.opl-account .woocommerce-address-fields .input-text, .opl-account .woocommerce-address-fields select, .opl-account .woocommerce-address-fields .select2-container .select2-selection--single { height: 46px; padding: 0 12px; border: 1px solid #ddd8d0 !important; border-radius: 4px !important; background: #fff; font-size: 14px; box-shadow: none; }
.opl-account .woocommerce-address-fields .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 0; }
.opl-account .woocommerce-address-fields .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.opl-account .woocommerce-address-fields .input-text:focus { border-color: var(--blue) !important; outline: none; }
.opl-account .woocommerce-address-fields #billing_address_2_field label, .opl-account .woocommerce-address-fields #shipping_address_2_field label { display: none; }
.opl-account .woocommerce-address-fields #billing_address_2_field, .opl-account .woocommerce-address-fields #shipping_address_2_field { margin-top: -6px !important; }
.opl-account .woocommerce-address-fields .optional { color: #9ba1a8; font-weight: 400; }
.opl-account .woocommerce-address-fields button[name="save_address"] { min-width: 190px; background: var(--blue); border-color: var(--blue); }
.opl-account .woocommerce-address-fields button[name="save_address"]:hover { background: var(--navy); border-color: var(--navy); }
@media (max-width: 640px) {
	.opl-account .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
	.opl-account .woocommerce-address-fields__field-wrapper .form-row-first, .opl-account .woocommerce-address-fields__field-wrapper .form-row-last { grid-column: 1; }
	.opl-account .woocommerce-address-fields button[name="save_address"] { width: 100%; }
}
.opl-account .woocommerce-MyAccount-content > form .woocommerce-address-fields { padding: 0; background: none; }

/* v1.0.21 — telemóvel: nada pode ficar mais largo do que o ecrã */
img, svg, video, iframe, object, embed { max-width: 100%; }
.opl-shop__grid, .opl-shop__main, .opl-shop__bar, .woocommerce-tabs, .woocommerce-Tabs-panel { min-width: 0; }
@media (max-width: 1024px) {
	.opl-shop__grid { grid-template-columns: minmax(0, 1fr); }
	ul.products, .woocommerce ul.products, .opl-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.woocommerce div.product .woocommerce-product-gallery, .woocommerce div.product .woocommerce-product-gallery .flex-viewport { max-width: 100%; }
}
@media (max-width: 640px) {
	.woocommerce-loop-product__title, .product_title, .opl-pc__ref, .opl-refs, .opl-olist__n, .opl-fichas__txt strong, .woocommerce table td, .woocommerce table th { overflow-wrap: anywhere; word-break: break-word; }
	.woocommerce-Tabs-panel table, .opl-prose table, .woocommerce table.shop_attributes { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.woocommerce table.shop_attributes tbody { display: table; width: 100%; }
	.woocommerce-cart table.cart img { width: 56px; }
	.woocommerce-cart table.cart td.actions .coupon { float: none; display: flex; gap: 8px; margin-bottom: 10px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: auto; flex: 1; }
	.woocommerce-cart table.cart td.actions .button { width: 100%; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
	.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 100%; float: none; }
	.opl-ficha-tab object { height: 420px; }
	.opl-wrap { width: calc(100% - 28px); }
}
.opl-fema { display: flex; align-items: center; gap: 8px; padding: 12px 16px; margin: 0 0 14px; border-radius: 6px; background: #fff1df; color: var(--navy); font-size: 14px; } .opl-fema a { color: var(--price); font-weight: 700; } .opl-fema .opl-ico { color: var(--blue); }

/* =====================================================================
   v1.1.0 — checkout por passos (estilo mauser.pt)
   ===================================================================== */
.opl-co-bg .opl-page { padding: 26px 0 70px; }
.opl-co { max-width: 1180px; margin: 0 auto; }
.opl-co__steps { display: flex; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; counter-reset: s; }
.opl-co__steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 6px; background: #fff; color: #8c9299; font-size: 13.5px; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; }
.opl-co__steps li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ebe7e1; color: var(--grey); font-size: 12.5px; }
.opl-co__steps li.is-on { color: var(--navy); border-bottom-color: var(--blue); }
.opl-co__steps li.is-on span { background: var(--blue); color: #fff; }
.opl-co__steps li.is-done { color: var(--navy); }
.opl-co__steps li.is-done span { background: var(--navy); color: #fff; }
.opl-co__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.opl-co__step { display: none; }
.opl-co__step.is-on { display: block; }
.opl-co__side { position: sticky; top: 96px; }
.opl-co .opl-sec { font-size: 17px; margin-bottom: 10px; }
.opl-co__ask { font-size: 14px; font-weight: 600; color: var(--price); margin: 18px 0 8px; }
.opl-co .opl-card { padding: 18px 20px; }
.opl-co-alert { padding: 12px 14px; margin: 0 0 12px; border-radius: 6px; background: #fdecec; border: 1px solid #f2a7a2; color: #9b1c1c; font-size: 13.5px; }
.opl-co .woocommerce-NoticeGroup { margin-bottom: 12px; }

/* Cartão de morada guardada */
.opl-cosaved { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 56px 16px 18px; border-radius: 6px; background: #3d4354; color: #c8cdd8; font-size: 12.5px; line-height: 1.5; }
.opl-cosaved strong { color: #fff; font-size: 13.5px; }
.opl-cosaved b { color: #fff; }
.opl-cosaved .opl-ico { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #fff; }
.opl-linkbtn { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--price); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.opl-co__fields { margin-top: 14px; }
.opl-co__fields.is-hidden { display: none; }
.opl-co__fields h3 { display: none; }

/* Campos do checkout */
.opl-co .woocommerce-billing-fields__field-wrapper, .opl-co .woocommerce-shipping-fields__field-wrapper, .opl-co .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opl-co .form-row { float: none !important; width: auto !important; margin: 0 0 12px !important; padding: 0 !important; }
.opl-co .form-row-wide, .opl-co .notes, .opl-co #order_comments_field, .opl-co #opl_requisicao_field { grid-column: 1 / -1; }
.opl-co .form-row-first { grid-column: 1; }
.opl-co .form-row-last { grid-column: 2; }
.opl-co .form-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.opl-co .form-row .optional { color: #9ba1a8; font-weight: 400; }
.opl-co .input-text, .opl-co select, .opl-co textarea, .opl-co .select2-container .select2-selection--single { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #ddd8d0 !important; border-radius: 4px !important; background: #fff; font-size: 14px; box-shadow: none; }
.opl-co textarea { min-height: 80px; }
.opl-co .select2-container .select2-selection--single .select2-selection__rendered { line-height: 22px; padding-left: 0; }
.opl-co .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.opl-co .woocommerce-invalid .input-text, .opl-co .woocommerce-invalid select { border-color: #e0452e !important; }
.opl-co .woocommerce-account-fields { margin-top: 6px; }
.opl-co-req { padding: 14px 20px 4px !important; }
.opl-co-req:empty { display: none; }
.opl-co-req #opl_requisicao_field label { display: none; }

/* Onde entregar */
.opl-coopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.opl-coopt { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid #ddd8d0; border-radius: 6px; cursor: pointer; font-size: 13.5px; }
.opl-coopt input { margin-top: 3px; accent-color: var(--blue); }
.opl-coopt strong { display: block; color: var(--navy); }
.opl-coopt em { font-style: normal; font-size: 12px; color: var(--grey); }
.opl-coopt.is-on { border-color: var(--blue); background: #fffaf3; }
.opl-co #ship-to-different-address { display: none; }
.opl-co .woocommerce-additional-fields > h3 { font-size: 14px; font-weight: 600; color: var(--price); margin: 12px 0 8px; }

/* Transportadoras */
.opl-rates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.opl-rates label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #ddd8d0; border-radius: 6px; cursor: pointer; }
.opl-rates input { position: absolute; opacity: 0; pointer-events: none; }
.opl-rates__box { flex: none; width: 20px; height: 20px; border: 2px solid #cbc5bc; border-radius: 4px; background: #fff; display: inline-grid; place-items: center; }
.opl-rates li.is-on label { border-color: var(--blue); background: #fffaf3; }
.opl-rates li.is-on .opl-rates__box { border-color: var(--blue); background: var(--blue); }
.opl-rates li.is-on .opl-rates__box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.opl-rates__txt { flex: 1; font-size: 14px; }
.opl-rates__txt strong { display: block; color: var(--ink); font-weight: 600; }
.opl-rates__txt em { font-style: normal; font-size: 12px; color: var(--grey); }
.opl-rates__price { font-weight: 700; color: var(--price); white-space: nowrap; }
.opl-gratis { color: #2e9e57; text-transform: uppercase; font-size: 13px; }
.opl-carrier { font-weight: 800; font-style: italic; letter-spacing: .02em; color: var(--navy); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.opl-carrier--fema { color: #e3051b; }
.opl-carrier--loja { font-style: normal; font-size: 12.5px; color: var(--grey); }

/* Pagamento em cartões */
.opl-co #payment { background: none !important; border-radius: 0 !important; }
.opl-co #payment ul.payment_methods { padding: 0 !important; margin: 0; border: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.opl-co #payment ul.payment_methods > li { list-style: none; margin: 0 !important; padding: 16px 18px !important; border: 1px solid transparent; border-radius: 6px; background: #fff; }
.opl-co #payment ul.payment_methods > li.is-on { border-color: var(--blue); }
.opl-co #payment ul.payment_methods > li > label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; width: calc(100% - 30px); font-weight: 600; color: var(--ink); cursor: pointer; }
.opl-co #payment ul.payment_methods > li > label img { max-height: 24px; margin-left: auto !important; float: none !important; }
.opl-co #payment ul.payment_methods > li input { accent-color: var(--blue); margin-right: 8px; }
.opl-co #payment div.payment_box { margin: 10px 0 0 !important; padding: 12px 14px !important; background: var(--soft) !important; color: var(--ink) !important; border-radius: 4px; font-size: 13px; }
.opl-co #payment div.payment_box::before { display: none !important; }
.opl-co #payment .place-order { display: none; }
.opl-co-place .place-order { display: block !important; padding: 0 !important; margin: 0 !important; }
.opl-co-place:empty { display: none; }
.opl-co-place #place_order { position: absolute; left: -9999px; }
.opl-co-place .woocommerce-terms-and-conditions-wrapper { font-size: 13px; }
.opl-co-place .woocommerce-privacy-policy-text p { font-size: 12.5px; color: var(--grey); text-align: left; }

/* Confirmação */
.opl-coitems { list-style: none; margin: 0; padding: 0; }
.opl-coitems li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 12px 0; }
.opl-coitems li + li { border-top: 1px dashed #d2ccc3; }
.opl-coitems__img img { width: 64px; height: 64px; object-fit: contain; }
.opl-coitems__name { font-size: 13.5px; line-height: 1.4; }
.opl-coitems__name b { display: block; font-size: 12px; color: var(--price); }
.opl-coitems__unit { color: var(--price); font-weight: 700; font-size: 14px; white-space: nowrap; }
.opl-coitems__qty { text-align: center; font-size: 11.5px; color: var(--grey); }
.opl-coitems__qty strong { display: block; font-size: 15px; color: var(--ink); }
.opl-coitems__tot { font-weight: 700; white-space: nowrap; }
.opl-coedit { margin: 10px 0 0; text-align: right; font-size: 13px; }
.opl-coedit a { color: var(--price); text-decoration: underline; }

/* Resumo */
.opl-co-sum { font-size: 12.5px; }
.opl-co-sum__blk { margin-bottom: 14px; }
.opl-co-sum__blk h4 { margin: 0 0 6px; font-size: 13.5px; font-weight: 600; color: var(--price); }
.opl-co-sum__txt { color: var(--ink); line-height: 1.55; }
.opl-co-sum__metodo { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.opl-co-prev { margin-top: 10px; padding: 10px 12px; border: 1px solid #b7e2c4; border-radius: 6px; background: #ecf8f0; color: #2e7d48; }
.opl-co-prev span { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.opl-co-prev strong { display: block; margin: 4px 0 2px; font-size: 14px; }
.opl-co-prev em { font-style: normal; font-size: 10.5px; color: #5f8f6d; }
.opl-co-lines { list-style: none; margin: 6px 0 0; padding: 0; }
.opl-co-lines li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px dashed #d2ccc3; font-size: 13px; }
.opl-co-lines li span { display: inline-flex; align-items: center; gap: 8px; color: var(--price); }
.opl-co-lines li span .opl-ico { color: #8c9299; }
.opl-co-lines li b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.opl-co-lines__total span { font-weight: 800; color: var(--navy) !important; }
.opl-co-lines__total b { font-size: 17px; font-weight: 800 !important; }
.opl-co-coupon { display: block !important; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #d2ccc3; }
.opl-co-coupon h4 { margin: 0 0 8px; font-size: 13.5px; color: var(--price); font-weight: 600; }
.opl-co-coupon > div { display: flex; }
.opl-co-coupon .input-text { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #ddd8d0; border-right: 0; border-radius: 4px 0 0 4px; font-size: 13px; }
.opl-co-coupon .button { height: 40px; padding: 0 14px; border-radius: 0 4px 4px 0; font-size: 12.5px; background: var(--navy); }
.opl-co-actions { padding: 14px !important; }
.opl-co-next { width: 100%; height: 50px; font-size: 15px; }
.opl-co-back { display: block; width: 100%; margin-top: 8px; border: 0; background: none; color: var(--grey); font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.opl-co-back[hidden] { display: none; }

@media (max-width: 1024px) {
	.opl-co__grid { grid-template-columns: minmax(0, 1fr); }
	.opl-co__side { position: static; }
}
@media (max-width: 640px) {
	.opl-co__steps li { padding: 10px 6px; font-size: 0; justify-content: center; }
	.opl-co__steps li span { font-size: 12.5px; }
	.opl-co__steps li.is-on { font-size: 12px; }
	.opl-co .woocommerce-billing-fields__field-wrapper, .opl-co .woocommerce-shipping-fields__field-wrapper, .opl-co .woocommerce-additional-fields__field-wrapper, .opl-coopts { grid-template-columns: 1fr; }
	.opl-co .form-row-first, .opl-co .form-row-last { grid-column: 1; }
	.opl-coitems li { grid-template-columns: 52px minmax(0, 1fr) auto; }
	.opl-coitems__unit { display: none; }
	.opl-coitems__img img { width: 52px; height: 52px; }
	.opl-co .opl-card { padding: 14px; }
	.opl-co-actions { position: sticky; bottom: 0; z-index: 20; box-shadow: 0 -6px 20px rgba(23, 32, 42,.12); }
}
.opl-co-notes:empty { display: none; }
.opl-co-notes .woocommerce-additional-fields > h3 { display: none; }
.opl-co-notes .woocommerce-additional-fields__field-wrapper { display: block; }
@media (max-width: 640px) { .opl-rates .opl-carrier { display: none; } .opl-rates label { padding: 12px; } }

/* v1.1.2 — página de encomenda recebida: resumo e dados bancários em caixas */
.woocommerce-order { max-width: 1120px; }
.woocommerce-order > p.woocommerce-thankyou-order-received { font-size: 18px; font-weight: 600; color: #2e9e57; margin-bottom: 14px; }
.woocommerce ul.order_details.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 26px; padding: 16px 8px; border-radius: 6px; background: #fff; list-style: none; }
.woocommerce ul.order_details.woocommerce-order-overview li { flex: 1 1 160px; margin: 6px 0; padding: 4px 16px; border-right: 1px dashed #d2ccc3; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--grey); float: none; }
.woocommerce ul.order_details.woocommerce-order-overview li:last-child { border-right: 0; }
.woocommerce ul.order_details.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--navy); }
.woocommerce-order-details, .woocommerce-customer-details { padding: 20px 22px; margin-bottom: 20px; border-radius: 6px; background: #fff; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 18px; }

/* Caixa da transferência bancária */
.opl-bacs { max-width: 640px; margin: 0 0 28px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.opl-bacs__head { display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; background: var(--navy); color: #d3d8de; }
.opl-bacs__head .opl-ico { flex: none; color: var(--blue); margin-top: 2px; }
.opl-bacs__head h2 { margin: 0 0 4px; font-size: 18px; color: #fff; }
.opl-bacs__head p { margin: 0; font-size: 13px; }
.opl-bacs__amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: #fffaf3; }
.opl-bacs__amount span { font-size: 13px; font-weight: 600; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; }
.opl-bacs__amount strong { font-size: 26px; font-weight: 800; color: var(--navy); }
.opl-bacs__rows { margin: 0; padding: 6px 24px; }
.opl-bacs__rows > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed #ddd8d0; }
.opl-bacs__rows > div:last-child { border-bottom: 0; }
.opl-bacs__rows dt { margin: 0; font-size: 12.5px; color: var(--grey); }
.opl-bacs__rows dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.opl-bacs__rows code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 600; color: var(--navy); background: none; padding: 0; letter-spacing: .02em; word-break: break-word; }
.opl-bacs__rows .is-key code { font-size: 16.5px; }
.opl-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e8dccb; border-radius: 6px; background: #fff; color: var(--price); font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s; }
.opl-copy:hover { border-color: var(--blue); background: #fffaf3; }
.opl-copy.is-ok { background: #2e9e57; border-color: #2e9e57; color: #fff; }
.opl-bacs__note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 24px 18px; background: var(--soft); font-size: 13px; color: var(--grey); }
.opl-bacs__note .opl-ico { flex: none; color: var(--blue); margin-top: 2px; }
.opl-bacs__note a { color: var(--price); font-weight: 600; }
@media (max-width: 640px) {
	.woocommerce ul.order_details.woocommerce-order-overview li { flex-basis: 50%; border-right: 0; }
	.opl-bacs__head, .opl-bacs__amount, .opl-bacs__rows, .opl-bacs__note { padding-left: 16px; padding-right: 16px; }
	.opl-bacs__rows > div { grid-template-columns: 1fr; gap: 4px; }
	.opl-bacs__amount strong { font-size: 22px; }
}


/* v1.1.6 — dados bancários e envio do comprovativo lado a lado */
.opl-pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; max-width: 1120px; margin: 0 0 28px; }
.opl-pay .opl-bacs { max-width: none; margin: 0; }
.opl-bacs__amount strong, .opl-bacs__amount strong .woocommerce-Price-amount, .opl-bacs__amount strong bdi { font-size: 26px !important; font-weight: 800; color: var(--navy); }
.opl-comprov { padding: 20px 24px 24px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.opl-comprov header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.opl-comprov header .opl-ico { flex: none; color: var(--blue); margin-top: 2px; }
.opl-comprov h2 { margin: 0 0 4px; font-size: 18px; }
.opl-comprov header p { margin: 0; font-size: 13px; color: var(--grey); }
.opl-comprov__form { display: flex; flex-direction: column; gap: 12px; }
.opl-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; border: 2px dashed #efcfa5; border-radius: 8px; background: #f7fbfd; text-align: center; cursor: pointer; transition: all .2s; }
.opl-drop:hover, .opl-drop.is-on { border-color: var(--blue); background: #fff6ea; }
.opl-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opl-drop .opl-ico { color: var(--blue); transform: rotate(180deg); }
.opl-drop strong { color: var(--navy); font-size: 14.5px; word-break: break-all; }
.opl-drop em { font-style: normal; font-size: 12px; color: var(--grey); }
.opl-comprov textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd8d0; border-radius: 6px; font-size: 13.5px; resize: vertical; }
.opl-comprov .opl-btn { width: 100%; }
.opl-comprov__done { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px 12px; border-radius: 6px; background: #e3f4e8; color: #2e7d48; font-size: 13.5px; font-weight: 600; }
.opl-comprov .opl-alert { margin: 0 0 12px; }
@media (max-width: 900px) {
	.opl-pay { grid-template-columns: minmax(0, 1fr); }
}

/* v1.1.7 — encomendar novamente */
.opl-obtn--order-again { background: var(--blue); border-color: var(--blue); color: #fff !important; display: inline-flex; align-items: center; gap: 6px; }
.opl-obtn--order-again:hover { background: var(--navy); border-color: var(--navy); }
.opl-reorder { display: flex; margin-top: 0 !important; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0; padding: 16px 20px; border-radius: 10px; background: #fff6ea; border: 1px solid #fbd9ad; }
.opl-reorder strong { display: block; color: var(--navy); font-size: 15px; }
.opl-reorder span { font-size: 13px; color: var(--grey); }
.opl-reorder .opl-btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 600px) { .opl-reorder { flex-direction: column; align-items: stretch; } }

/* v1.1.10 — IBAN numa só linha: etiqueta por cima, número inteiro por baixo */
.opl-bacs__rows > div.is-iban { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 0; }
.opl-bacs__rows .is-iban dd { gap: 12px; }
.opl-bacs__rows .is-iban code { white-space: nowrap; word-break: normal; font-size: 18px; letter-spacing: .04em; }
@media (max-width: 1100px) { .opl-bacs__rows .is-iban code { font-size: 16px; letter-spacing: .02em; } }
@media (max-width: 480px) {
	.opl-bacs__rows .is-iban code { font-size: 13.5px; letter-spacing: 0; }
	.opl-bacs__rows .is-iban .opl-copy { padding: 7px; }
	.opl-bacs__rows .is-iban .opl-copy span { display: none; }
}
@media (max-width: 360px) { .opl-bacs__rows .is-iban code { font-size: 12.5px; } }
/* todas as linhas com a mesma arrumação (etiqueta por cima) para ficar coerente com o IBAN */
.opl-bacs__rows > div { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 13px 0; }
.opl-bacs__rows dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
@media (max-width: 480px) {
	.opl-bacs__rows .opl-copy { padding: 7px; }
	.opl-bacs__rows .opl-copy span { display: none; }
}

/* v1.1.11 — dados bancários em caixas estreitas (área de cliente): o botão copiar sobe para a linha da etiqueta */
.opl-bacs { container-type: inline-size; }
.opl-bacs__amount .woocommerce-Price-currencySymbol { font-size: inherit !important; font-weight: inherit; color: inherit !important; vertical-align: baseline; }
.opl-bacs__rows dd code { min-width: 0; }
@container (max-width: 480px) {
	.opl-bacs__rows dd { flex-wrap: nowrap; gap: 8px; }
	.opl-bacs__rows .opl-copy { padding: 6px; }
	.opl-bacs__rows .opl-copy span { display: none !important; }
	.opl-bacs__rows .is-iban code { font-size: clamp(11px, calc((100cqi - 76px) / 20.6), 17px); letter-spacing: 0; }
	.opl-bacs__head, .opl-bacs__amount, .opl-bacs__rows, .opl-bacs__note { padding-left: 16px; padding-right: 16px; }
}
/* v1.1.12 — na área de cliente a caixa dos dados bancários fica um pouco mais larga */
.woocommerce-MyAccount-content .opl-pay { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 900px) { .woocommerce-MyAccount-content .opl-pay { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 480px) { .opl-bacs__rows code { font-size: 14px; } .opl-bacs__rows .is-key code { font-size: 15px; } .opl-bacs__rows .is-key.is-iban code { font-size: clamp(11px, calc((100cqi - 76px) / 20.6), 17px); } }

/* v1.1.13 — imagens dos cartões proporcionais: moldura quadrada igual, margens das fotos cortadas pelo main.js */
.opl-pc__media { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; margin: 0 0 16px; border-radius: var(--radius-sm); background: #fff; }
ul.products li.product .opl-pc__media img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: auto; object-fit: contain; padding: 0 !important; margin: 0 !important; background: transparent; transform-origin: 50% 50%; transition: transform .3s; }
@media (max-width: 640px) { .opl-pc__media { margin-bottom: 10px; } }

/* v1.1.14 — acessórios do perfil fora da grelha da ficha (a caixa do preço já não fica por baixo deles) */
.opl-prod-extra { clear: both; margin-top: 40px; }
.opl-prod-extra .upsells, .opl-prod-extra .related { margin: 0 0 40px; }
.opl-prod-extra .upsells > h2, .opl-prod-extra .related > h2 { margin: 0 0 18px; font-size: 22px; color: var(--navy); }
.opl-prod-extra .opl-anchor { top: -110px; }

/* v1.1.15 — colunas da listagem sempre com a mesma largura (a 3.ª coluna alargava com conteúdo comprido) */
ul.products li.product { min-width: 0; }

/* v1.1.16 — scroll infinito nas listagens */
.opl-infinite { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 60px; padding: 10px 0 30px; font-size: 13.5px; color: var(--grey); }
.opl-infinite__spin { display: none; width: 30px; height: 30px; border: 3px solid #f6dcbc; border-top-color: var(--blue); border-radius: 50%; animation: opl-roda .8s linear infinite; }
.opl-infinite.is-loading .opl-infinite__spin { display: block; }
.opl-infinite__btn { display: none; }
.opl-infinite.is-error .opl-infinite__btn { display: inline-flex; }
.opl-infinite.is-end .opl-infinite__btn, .opl-infinite.is-loading .opl-infinite__btn { display: none; }
@keyframes opl-roda { to { transform: rotate(360deg); } }

/* v1.1.17 — verificação do n.º de IVA no VIES no resumo do checkout */
.opl-co-vies { display: flex !important; gap: 8px; align-items: flex-start; justify-content: flex-start !important; margin: 4px 0; padding: 9px 11px !important; border-radius: 6px; font-size: 12.5px; line-height: 1.4; border: 0 !important; }
.opl-co-vies .opl-ico { flex: none; margin-top: 1px; }
.opl-co-vies.is-ok { background: #e3f4e8; color: #2e7d48; }
.opl-co-vies.is-warn { background: #fff5e0; color: #8a5a00; }

/* v1.1.19 — NIF: empresa encontrada no VIES */
.opl-nifhint { display: block; margin-top: 5px; font-size: 12px; line-height: 1.35; color: var(--grey); }
.opl-nifhint.is-ok { color: #2e7d48; }
.opl-nifhint.is-warn { color: #8a5a00; }
.opl-nifhint.is-busy::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 2px solid #f6e2c6; border-top-color: var(--blue); border-radius: 50%; vertical-align: -1px; animation: opl-roda .8s linear infinite; }

/* v1.1.20 — levantamento na Officeplan */
.opl-rates__txt em + em { display: block; margin-top: 2px; }
.opl-pickup { display: flex; gap: 14px; align-items: flex-start; margin: 20px 0; padding: 16px 20px; border-radius: 10px; background: #fff6ea; border: 1px solid #fbd9ad; }
.opl-pickup .opl-ico { flex: none; color: var(--blue); margin-top: 2px; }
.opl-pickup h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.opl-pickup p { margin: 0 0 4px; }

/* v1.1.21 — ícones das formas de entrega (transportadora / loja) */
.opl-carrier--ico { font-style: normal; color: var(--blue); }
.opl-carrier--ico .opl-ico { width: 24px; height: 24px; }
@media (max-width: 640px) { .opl-rates .opl-carrier--ico { display: inline-flex; } }

/* v1.1.24 — prazo de expedição na ficha do produto */
.opl-ship { display: flex; gap: 6px; align-items: center; margin: 2px 0 10px; font-size: 13px; font-weight: 600; color: var(--navy); }
.opl-ship .opl-ico { flex: none; color: var(--blue); }

/* v1.1.28 — menção do desconto de profissional junto ao preço */
.opl-promencao { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; color: #1e7a3c; letter-spacing: .01em; line-height: 1.3; }
.opl-promencao--cartao { font-size: 11px; }
.opl-promencao--ficha { display: flex; gap: 7px; align-items: center; margin: 4px 0 12px; padding: 8px 12px; border-radius: 6px; background: #e3f4e8; font-size: 13px; font-weight: 600; }
.opl-promencao--ficha .opl-ico { flex: none; color: #1e7a3c; }
.opl-promencao--ficha b { font-weight: 800; }

/* v1.1.29 — «Poupa … por unidade» na segunda linha */
.opl-promencao--ficha { align-items: flex-start; }
.opl-promencao--ficha .opl-ico { margin-top: 2px; }
.opl-promencao__l1, .opl-promencao__l2 { display: block; }
.opl-promencao__l2 { margin-top: 2px; font-size: 12.5px; font-weight: 500; }

/* v1.1.32 — portes grátis */
.opl-portes { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 10px 14px; border-radius: 8px; background: #fff6ea; border: 1px solid #fbd9ad; font-size: 13px; color: var(--navy); }
.opl-portes .opl-ico { flex: none; color: var(--blue); margin-top: 1px; }
.opl-portes > div { flex: 1; min-width: 0; }
.opl-portes p { margin: 0 0 6px; }
.opl-portes__bar { display: block; height: 6px; border-radius: 3px; background: #f6dcbc; overflow: hidden; }
.opl-portes__bar i { display: block; height: 100%; background: var(--blue); border-radius: 3px; transition: width .4s; }
.opl-portes.is-ok { background: #e3f4e8; border-color: #bfe3ca; }
.opl-portes.is-ok .opl-ico, .opl-portes.is-ok strong { color: #1e7a3c; }
.opl-portes.is-ok .opl-portes__bar i { background: #2e9d55; }
.opl-co-lines li.opl-co-portes { display: block !important; padding: 6px 0 !important; border: 0 !important; }
.opl-co-portes .opl-portes { margin: 0; }
.widget_shopping_cart .opl-portes { margin: 10px 0; font-size: 12px; }

/* v1.1.42 — portes grátis: zona onde a oferta vale */
.opl-portes__zona { display: block; margin-top: 2px; font-size: 11.5px; color: #5d6571; }

/* v1.1.44 — formulário de orçamento: anexos */
.opl-form__anexos { display: flex; flex-direction: column; gap: 6px; }
.opl-form__lbl { font-size: 13.5px; font-weight: 500; color: var(--navy); }
.opl-form__lbl small { font-weight: 400; color: var(--grey); }
.opl-drop--multi { padding: 20px 16px; }
.opl-drop--multi em { max-width: 520px; }
.opl-drop__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.opl-drop__list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 6px; background: #f3f6fb; word-break: break-all; }
.opl-drop__list li em { flex: none; font-style: normal; color: var(--grey); }
.opl-drop__list li.is-err { background: #fdecec; color: #b42318; }

/* v1.1.48 — área de cliente no telemóvel: menu em grelha (2 colunas), todas as opções visíveis sem deslizar */
@media (max-width: 1024px) {
	.opl-acc-nav { padding: 8px; }
	.opl-acc-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; }
	.opl-acc-nav li { min-width: 0; }
	.opl-acc-nav a { white-space: normal; height: 100%; padding: 10px 10px; gap: 8px; border-radius: 6px; background: #f5f7fb; font-size: 13px; line-height: 1.25; }
	.opl-acc-nav a .opl-ico { flex: none; width: 18px; height: 18px; }
	.opl-acc-nav a span { min-width: 0; }
	.opl-acc-nav .is-active a { background: var(--navy); color: #fff; }
	.opl-acc-nav .is-active a .opl-ico { color: #f7b96b; }
	.opl-acc-nav .opl-badge { flex: none; font-size: 10px; padding: 2px 6px; }
}
@media (min-width: 641px) and (max-width: 1024px) {
	.opl-acc-nav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* v1.1.51 — formulário: escolha do tipo de pedido; os anexos só aparecem nos pedidos de orçamento */
.opl-form__tipo { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 16px; padding: 0; border: 0; }
.opl-form__tipo legend { width: 100%; margin-bottom: 8px; font-size: 13.5px; font-weight: 500; color: var(--navy); }
.opl-form__tipo label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #d5dbe6; border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; }
.opl-form__tipo label:has(input:checked) { border-color: var(--blue); background: #eaf8fd; color: var(--navy); font-weight: 500; }
.opl-form__tipo input { accent-color: var(--blue); margin: 0; }
.opl-form__grid.is-contacto [data-opl-anexos] { display: none; }
.opl-proreg__form [data-opl-anexos] { margin-top: 4px; }

/* v1.1.1 — subcategorias em cartões com fotografia */
.opl-subcats-wrap { margin-bottom: 22px; }
.opl-subcats__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; color: var(--navy); }
.opl-subcats__title em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--blue); background: rgba(31,163,220,.1); border-radius: 999px; padding: 1px 8px; }
.opl-subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.opl-subcat { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 6px 10px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--grey); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.opl-subcat:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(16,32,77,.08); transform: translateY(-1px); color: var(--grey); }
.opl-subcat__img { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 8px; background: #f6f4f0; color: var(--blue); overflow: hidden; }
.opl-subcat__img img { width: 40px; height: 40px; object-fit: contain; mix-blend-mode: multiply; }
.opl-subcat__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; text-align: left; }
.opl-subcat__txt strong { font-size: 13.5px; line-height: 1.25; color: var(--navy); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.opl-subcat:hover .opl-subcat__txt strong { color: var(--blue); }
.opl-subcat__txt small { display: none; }
.opl-subcat__txt em { font-style: normal; font-size: 11.5px; color: var(--grey); }
.opl-subcat__txt em i { display: none; }
.opl-chip img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; background: #fff; mix-blend-mode: multiply; margin: -4px 0 -4px -6px; }
/* subcategoria aberta: irmãs em botões */
.opl-chip { display: inline-flex; align-items: center; gap: 6px; transition: border-color .2s, background .2s, color .2s; }
.opl-chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.opl-chip.is-on em { color: #d3d8de; }
.opl-chip--todas { background: var(--soft); font-weight: 600; color: var(--navy); }
@media (max-width: 760px) {
	.opl-subcats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
	.opl-subcat { flex: 0 0 200px; scroll-snap-align: start; }
	.opl-subcat__txt strong { font-size: 13px; }
	.opl-chips--irmas { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	.opl-chips--irmas .opl-chip { flex: none; }
}

/* v1.1.7 — filtros fechados (fora do ecrã) não deixam a página deslizar para os lados */
@media (max-width: 1024px) {
	.opl-shop__side { visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
	body.opl-filters-open .opl-shop__side { visibility: visible; transition: transform .3s var(--ease); }
}

/* ===== 2.0.0 — Quadro das especificações (tabela de duas colunas, também no telemóvel) ===== */
.opl-specs .opl-specs__t { display: table !important; width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; line-height: 1.5; margin: 0; }
.opl-specs .opl-specs__t th, .opl-specs .opl-specs__t td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; background: #fff; }
.opl-specs .opl-specs__t tr:last-child > * { border-bottom: 0; }
.opl-specs .opl-specs__t th[scope="row"] { width: 38%; color: var(--navy); font-weight: 600; background: var(--soft); }
.opl-specs .opl-specs__t td { color: var(--ink, #263241); overflow-wrap: anywhere; }
.opl-specs .opl-specs__t .opl-specs__sec th { background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 9px 14px; }
@media (max-width: 640px) {
	.opl-specs .opl-specs__t { font-size: 13.5px; }
	.opl-specs .opl-specs__t th, .opl-specs .opl-specs__t td { padding: 9px 10px; }
	.opl-specs .opl-specs__t th[scope="row"] { width: 42%; }
}

/* ===== 2.0.0 — Carrinho no telemóvel: cada produto num cartão (fotografia, nome, preço, quantidade, subtotal) ===== */
.woocommerce-cart-form { min-width: 0; }
.woocommerce-cart table.cart a.remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 1; color: #b42318 !important; background: #fdecea; font-weight: 400; text-decoration: none; transition: background .2s, color .2s; }
.woocommerce-cart table.cart a.remove:hover { background: #b42318 !important; color: #fff !important; }
@media (max-width: 768px) {
	.woocommerce-cart table.shop_table.cart, .woocommerce-cart table.shop_table.cart tbody { display: block; width: 100%; border: 0; }
	.woocommerce-cart table.shop_table.cart { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
	.woocommerce-cart table.cart thead { display: none; }
	.woocommerce-cart table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; position: relative; padding: 14px 14px 12px; border-bottom: 1px solid var(--line); }
	.woocommerce-cart table.cart tr.cart_item td { display: block; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; min-width: 0; }
	.woocommerce-cart table.cart tr.cart_item td::before { float: none !important; }
	.woocommerce-cart table.cart td.product-remove { position: absolute; top: 10px; right: 10px; width: auto; }
	.woocommerce-cart table.cart td.product-remove::before { display: none !important; }
	.woocommerce-cart table.cart td.product-thumbnail { display: block !important; grid-column: 1; grid-row: 1 / span 4; }
	.woocommerce-cart table.cart td.product-thumbnail::before { display: none !important; }
	.woocommerce-cart table.cart td.product-thumbnail img { width: 72px !important; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; }
	.woocommerce-cart table.cart tr.cart_item td.product-name { grid-column: 2; padding-right: 40px !important; font-weight: 600; font-size: 14px; line-height: 1.35; margin-bottom: 6px; }
	.woocommerce-cart table.cart td.product-name::before { display: none !important; }
	.woocommerce-cart table.cart td.product-name a { color: var(--navy); }
	.woocommerce-cart table.cart td.product-price, .woocommerce-cart table.cart td.product-quantity, .woocommerce-cart table.cart td.product-subtotal { grid-column: 2; display: flex !important; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px 6px; font-size: 13.5px; }
	.woocommerce-cart table.cart td.product-price::before, .woocommerce-cart table.cart td.product-quantity::before, .woocommerce-cart table.cart td.product-subtotal::before { content: attr(data-title); font-weight: 500; color: var(--grey); font-size: 12.5px; margin-right: auto; }
	.woocommerce-cart table.cart tr.cart_item td.product-subtotal { font-weight: 700; color: var(--navy); padding-top: 4px !important; }
	.woocommerce-cart table.cart td.product-subtotal small { font-weight: 500; color: var(--grey); }
	.woocommerce-cart table.cart td.product-quantity .quantity .qty { width: 64px; height: 36px; }
	.woocommerce-cart table.cart tr:not(.cart_item) { display: block; }
	.woocommerce-cart table.cart td.actions { display: block; padding: 14px !important; border: 0 !important; background: var(--soft) !important; }
	.woocommerce-cart table.cart td.actions::before { display: none !important; }
	.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; float: none; margin: 0 0 10px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; min-width: 0; }
	.woocommerce-cart table.cart td.actions .coupon .button { white-space: nowrap; flex: 0 0 auto; width: auto !important; }
	.woocommerce-cart table.cart td.actions > .button { width: 100%; }
	.woocommerce-cart .cart-collaterals .cart_totals table.shop_table { display: table; }
}

/* ===== 2.0.1 — telemóvel: nada desliza para os lados a não ser as faixas feitas para isso ===== */
.opl-banners__track, .opl-subcats, .opl-chips, .opl-acc-nav ul, .woocommerce div.product .woocommerce-tabs ul.tabs, .opl-prose table { overscroll-behavior-x: contain; }
@media (max-width: 768px) {
	.woocommerce table.shop_table, .woocommerce-checkout-review-order-table, .woocommerce-orders-table, .cart_totals table { width: 100% !important; max-width: 100%; table-layout: auto; }
	.woocommerce table.shop_table td, .woocommerce table.shop_table th { overflow-wrap: anywhere; word-break: break-word; }
	.woocommerce-orders-table__cell-order-actions .button { display: inline-block; margin: 2px 0; }
	.woocommerce-checkout-review-order-table td.product-name { white-space: normal; }
	.woocommerce-account .woocommerce-MyAccount-content, .woocommerce-checkout form.checkout, .woocommerce-cart .woocommerce { min-width: 0; max-width: 100%; }
}

/* ===== 2.0.10 — Carregar na REF, no EAN ou no nome copia (sem botões), igual à loja NTLED ===== */
.opl-cpy { position: relative; cursor: copy; border-radius: 3px; transition: background .2s; }
.opl-refs .opl-cpy, .opl-pc__ref .opl-cpy { padding: 1px 3px; margin-left: -3px; }
.opl-cpy:hover, .opl-cpy:focus-visible { background: #eaf6fc; outline: none; }
.opl-cpy.is-ok { background: #e3f5ea; }
.opl-cpy::after { content: attr(data-ok); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); padding: 3px 8px; border-radius: 4px; background: #2e9e57; color: #fff; font: 600 11px/1.4 var(--font, inherit); letter-spacing: 0; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 5; }
.opl-cpy.is-ok::after { opacity: 1; transform: translate(-50%, 0); }
h1.opl-cpy::after { bottom: auto; top: -26px; left: 0; transform: none; }
h1.opl-cpy.is-ok::after { transform: none; }

/* v2.0.15 — 6 produtos por linha: loja mais larga e cartões mais compactos */
.opl-wrap.opl-shop:not(.opl-shop--single) { width: min(1640px, 100% - 40px); }
@media (min-width: 1025px) { .opl-shop__grid { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; } }
ul.products, .woocommerce ul.products, .opl-shop ul.products { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 1025px) {
	ul.products li.product { padding: 14px 14px 12px !important; }
	ul.products li.product .opl-pc__media { margin-bottom: 10px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; }
	.opl-pc__foot .price, ul.products li.product .opl-pc__foot .price { font-size: 16px !important; }
	a.opl-cartbtn, .woocommerce ul.products li.product a.opl-cartbtn { width: 38px !important; height: 38px; }
	.opl-flag, .woocommerce ul.products li.product .onsale { top: 8px; right: 8px; font-size: 10.5px; padding: 3px 7px; }
	.opl-flag--sale, .woocommerce span.onsale.opl-flag--sale, .opl-flag--pro, .woocommerce span.onsale.opl-flag--pro { left: 8px; right: auto; }
}
@media (max-width: 1199px) { ul.products, .woocommerce ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1499px) { .opl-shop ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1279px) { .opl-shop ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 641px) and (max-width: 1024px) {
	ul.products, .woocommerce ul.products, .opl-shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* v2.0.16 — categorias no telemóvel: grelha de 2 colunas (sem deslizar para o lado) e lista de categorias nos filtros */
.opl-subcats__more { display: none; }
@media (max-width: 760px) {
	.opl-subcats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; gap: 8px; padding: 0; }
	.opl-subcat { flex: none; min-width: 0; min-height: 54px; padding: 5px 8px 5px 5px; gap: 8px; }
	.opl-subcat__img { width: 40px; height: 40px; }
	.opl-subcat__img img { width: 36px; height: 36px; }
	.opl-subcat__txt strong { font-size: 12.5px; }
	.opl-subcat__txt em { font-size: 11px; }
	.opl-subcats-wrap:not(.is-all) .opl-subcat:nth-child(n+7) { display: none; }
	.opl-subcats__more { display: block; width: 100%; margin-top: 8px; padding: 11px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--blue); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
}

/* v2.0.17 — telemóvel e tablet: a listagem volta a ocupar a largura toda (a coluna dos filtros de 240 px da 2.0.15 também se aplicava aqui) */
@media (max-width: 1024px) {
	.opl-shop__grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ===== Officeplan 1.0.0 — vantagens na ficha do produto ===== */
.opl-perks { list-style: none; margin: 4px 0 14px; padding: 12px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; background: var(--soft); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--navy); }
.opl-perks li { display: flex; gap: 8px; align-items: center; }
.opl-perks .opl-ico { color: var(--blue); flex: none; }
@media (max-width: 640px) { .opl-perks { grid-template-columns: 1fr; } }
