|| ($parts['path'] ?? '') !== '/css2') { continue; }
$query = rawurldecode((string)($parts['query'] ?? ''));
$families = [];
foreach (explode('&', $query) as $parameter) {
if (stripos($parameter, 'family=') === 0) { $families[] = substr($parameter, 7); }
}
// A mixed-family stylesheet might be the only source of other fonts.
// Never restrict one, even if it also contains Poppins.
if (count($families) !== 1 || !preg_match('~^Poppins:wght@([0-9;]+)$~i', $families[0], $weightsMatch)) { continue; }
if (preg_match('~(?:^|&)(?:text|ital|display)=(?!swap(?:&|$))~i', $query)) {
// Allow only display=swap, not text= filters/other variations.
continue;
}
$weights = array_values(array_unique(array_map('intval', explode(';', $weightsMatch[1]))));
sort($weights, SORT_NUMERIC);
if (!$weights || array_diff($weights, [300,400,500,600,700,800,900])) { continue; }
if (preg_match('~\\bmedia\\s*=~i', $tag)) { continue; } // do not change pre-existing media rules
$candidates[] = ['tag' => $tag, 'offset' => $pair[1], 'weights' => $weights, 'len' => strlen($tag)];
}
if (count($candidates) < 2) { return $html; }
// One of the existing stylesheets must be a complete superset.
$canonical = null;
foreach ($candidates as $i => $candidate) {
$coversAll = true;
foreach ($candidates as $other) {
if (array_diff($other['weights'], $candidate['weights'])) { $coversAll = false; break; }
}
if ($coversAll && ($canonical === null || count($candidate['weights']) > count($candidates[$canonical]['weights']))) {
$canonical = $i;
}
}
if ($canonical === null) { return $html; }
// The canonical rule stays fully active. Non-canonical links keep
// their desktop behaviour, and cannot affect fonts on <=767px.
$changes = [];
foreach ($candidates as $i => $item) {
if ($i === $canonical) { continue; }
$tag = $item['tag'];
$insertAt = strrpos($tag, '>');
if ($insertAt === false) { continue; }
// Insert before the final > and after any self-closing /.
$prefix = substr($tag, 0, $insertAt);
$suffix = substr($tag, $insertAt);
if (preg_match('~^(.*?)(\\s*/\\s*)$~s', $prefix, $self)) {
$newTag = $self[1] . ' media="(min-width: 768px)" data-atv-mobile-font-consolidated="1"' . $self[2] . $suffix;
} else {
$newTag = $prefix . ' media="(min-width: 768px)" data-atv-mobile-font-consolidated="1"' . $suffix;
}
$changes[] = ['offset' => $item['offset'], 'old' => $item['len'], 'new' => $newTag];
}
// Work backwards to keep source byte offsets valid.
usort($changes, static function ($a, $b) { return $b['offset'] <=> $a['offset']; });
foreach ($changes as $change) {
$html = substr_replace($html, $change['new'], $change['offset'], $change['old']);
}
return $html;
}
/**
* Rendering path 2: if the theme omits HOOK_HEADER, inject the exact same
* responsive markup into the final HTML before sending it to the client.
* Unlike earlier patches, this does not depend on the target IMG appearing in HTML and never rewrites the HTML by user agent.
*/
public function hookActionOutputHTMLBefore($params)
{
if (!$this->isHome() || !isset($params['html']) || !is_string($params['html'])) {
return;
}
$html = $this->consolidatePoppinsCssMobile($params['html']);
$params['html'] = $html;
// Builder images may only be created *after* the initial HTML arrives.
// Do not require the target PNG to exist in the server-side HTML.
// Insert responsive preload and mobile observer before Builder executes.
if (strpos($html, 'atreve-mobile-lcp12') !== false
|| strpos($html, 'atreve-mobile-lcp11') !== false
|| stripos($html, '') === false) {
return;
}
$modified = preg_replace('~~i', $this->buildHeadMarkup() . "\n", $html, 1);
if (is_string($modified)) {
$params['html'] = $modified;
}
}
private function hookStatus(string $name): bool
{
if (!$this->id || !class_exists('Hook')) { return false; }
$hookId = (int) Hook::getIdByName($name);
if (!$hookId) { return false; }
return (bool) Db::getInstance()->getValue('SELECT COUNT(*) FROM `' . _DB_PREFIX_ . 'hook_module`'
. ' WHERE id_module=' . (int)$this->id . ' AND id_hook=' . $hookId);
}
/** Backoffice diagnostics: no need to guess whether upgrade hooks or WebP exist. */
public function getContent()
{
$message = '';
if (Tools::isSubmit('atreve_lcp_repair_hook')) {
$ok = $this->registerHook('displayHeader') && $this->registerHook('actionOutputHTMLBefore');
$message = $ok ? 'Hooks registados. Limpar cache.' : 'Nao foi possivel registar os hooks.';
}
if (Tools::isSubmit('atreve_lcp_make_webp')) {
$r = AtreveMobileLcpImage::ensure($this->siteRoot());
$message = ($r['ok'] ? 'WebP: ' : 'Falha WebP: ') . $r['message'];
}
$source = $this->siteRoot() . self::IMAGE_DIR . self::TARGET_PNG;
$variant = $this->siteRoot() . self::IMAGE_DIR . self::TARGET_WEBP;
$sourceInfo = is_file($source) ? round(filesize($source)/1024) . ' KiB' : 'NAO ENCONTRADO';
$webpInfo = $this->hasWebp() ? round(filesize($variant)/1024) . ' KiB' : 'NAO ENCONTRADO';
$header = $this->hookStatus('displayHeader') ? 'OK' : 'NAO REGISTADO';
$output = $this->hookStatus('actionOutputHTMLBefore') ? 'OK' : 'NAO REGISTADO';
$url = htmlspecialchars($this->context->link->getAdminLink('AdminModules', true, [], ['configure' => $this->name]), ENT_QUOTES, 'UTF-8');
$msg = htmlspecialchars($message, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
$html = '
Atreve-te Mobile LCP — Diagnostico v1.7.1
';
if ($message !== '') { $html .= '
' . $msg . '
'; }
$html .= '
Homepage: apenas a imagem ' . htmlspecialchars(self::TARGET_PNG, ENT_QUOTES, 'UTF-8') . '
';
$html .= '
Hook displayHeader: ' . $header . '
';
$html .= '
Hook actionOutputHTMLBefore: ' . $output . '
';
$html .= '
PNG original: ' . $sourceInfo . '
';
$html .= '
WebP mobile: ' . $webpInfo . '
';
$html .= '
O preload e o ajuste JavaScript so atuam ate 767px. Nenhum HTML e diferenciado por User-Agent.
';
$html .= '
Fontes mobile: consolidacao conservadora de links Google Fonts Poppins quando uma folha cobre todos os pesos das restantes; desktop, Cormorant Garamond e Font Awesome inalterados.
';
$html .= '
Verificacao frontend: procurar atreve-mobile-lcp12 em view-source da homepage. Se nao aparecer, verificar se o servidor esta a executar o hook de saida final ou se existe cache.
';
$html .= '
';
return $html;
Leg Avenue - 81623 Conjunto Sutiã + Calcinha Fio Dental Vinho Tamanho L
Descubra a sensualidade e o charme do conjunto de lingerie Leg Avenue 81623, um conjunto cuidadosamente desenhado para realçar a sua feminilidade com elegância e sofisticação. Este conjunto de duas peças combina um sutiã lindamente trabalhado com uma tanga a condizer, ambos em delicada renda com acabamento ondulado que conferem um toque romântico e sedutor. O seu tom borgonha profundo e glamoroso torna este conjunto a peça ideal para ocasiões especiais ou simplesmente para se mimar com um look irresistível.
O sutiã apresenta um design moderno e provocante com tiras finas e decorativas que emolduram o busto e criam um efeito visual cativante. Inclui também aplicações de strass que adicionam um brilho sutil e elegante, realçando cada detalhe da renda. Suas alças ajustáveis garantem um caimento personalizado, enquanto o fecho de colchetes nas costas proporciona um uso seguro e confortável.
A tanga a condizer, também com detalhes de tiras, complementa na perfeição o soutien, criando um equilíbrio entre delicadeza e ousadia. O seu corte realça naturalmente as curvas, enquanto a renda macia oferece conforto e um acabamento impecável. Este conjunto é perfeito para quem procura lingerie marcante e refinada com um toque extra de brilho.
Materiais e cuidados
88% poliamida, náilon, 12% elastano
Lavar com cuidado a uma temperatura máxima de 30 °C.
Não engomar
Sem alvejante à base de cloro
Não lavar a seco
Avenida das Pernas
Pioneiros em lingerie sexy, meias e fantasias incríveis. Tudo pensado para você! Sabemos que cada corpo é único e acreditamos que todas as mulheres devem se sentir e se ver maravilhosas, independentemente do tamanho ou formato do corpo. Por isso, nossos designs sempre priorizam realçar seus melhores atributos. E quando falamos de tecidos ultramacios e elasticidade incomparável, é sério. Conforto e estilo? Com certeza!
A Leg Avenue transborda paixão, diversão e autoexpressão. Queremos que você seja completamente você mesma, com um toque de descontração e muita confiança. Descubra como nossas lingeries, meias e fantasias elevam seu visual a um novo patamar. Juntas, buscamos o extraordinário e provamos que estilo não tem tamanho.
Nome ProdutoLeg Avenue - 81623 Conjunto Sutiã + Calcinha Fio Dental Vinho Tamanho L
Envio rápido e discreto. A encomenda é preparada numa embalagem neutra e sem identificação do conteúdo.
Para trocas, devoluções e restantes condições, consulta as políticas da loja disponíveis no rodapé.
A tua privacidade, as tuas escolhas
Usamos cookies necessários para o funcionamento da loja. Com a tua autorização, podemos também usar cookies de preferências, analítica e marketing. Podes aceitar, recusar ou escolher por finalidade e alterar a decisão a qualquer momento.