.list-thematic-collection-section { margin: 40px auto 35px; }
.list-thematic-collection-section .thematic-collection-container { display: flex; flex-wrap: wrap; gap: 20px 3.5%; padding-right: 0; padding-left: 0; }
.list-thematic-collection-section .item-thematic-collection-adt {
position: relative;
border: 1px solid #e0e0e0;
padding: 28px 14px 16px;
border-radius: 4px;
background: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: visible;
min-height: 1px;
box-sizing: border-box;
}
.list-thematic-collection-section .item-thematic-collection-adt .info-standard {
position: static;
display: flex;
flex-direction: column;
flex: 1 1 auto;
}
.list-thematic-collection-section .item-thematic-collection-adt .info-standard a {
display: block;
}
.list-thematic-collection-section .tag-standard {
position: absolute;
background-color: #6a9bd3;
top: -10px;
left: 16px;
padding: 4px 10px;
border-radius: 4px;
color: #fff;
font-weight: bold;
font-size: 12px;
z-index: 5;
}
.list-thematic-collection-section .title-standard {
font-family: SohoGothicPro-Regular;
font-size: 16px;
font-weight: bold;
color: #1a4b94;
margin-top: 0;
margin-bottom: 6px;
line-height: 24px;
}
.list-thematic-collection-section .description-text {
margin-top: 0;
margin-bottom: 12px;
font-family: SohoGothicPro-Regular;
font-size: 13px;
text-align: left;
color: #333;
line-height: 20px;
}
.list-thematic-collection-section .price-container {
display: flex;
flex-direction: column;
text-align: left;
letter-spacing: -0.02em;
margin-top: auto;
}
.list-thematic-collection-section .price-container .price-ae {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
color: #1a4b94;
}
.list-thematic-collection-section .standard-button {
border: 0;
outline: 0;
padding: 17px;
width: 100%;
text-align: center;
display: block;
background-color: var(--brand-color-1, #1f57a3);
color: #fff;
text-transform: uppercase;
font-family: SohoStd-Medium;
font-size: 14px;
font-weight: 500;
line-height: 14px;
text-decoration: none;
}
.list-thematic-collection-section .standard-button:hover { cursor: pointer; }
.list-thematic-collection-section .standard-button.disabled,
.list-thematic-collection-section .standard-button:disabled,
.list-thematic-collection-section .standard-button[disabled],
.list-thematic-collection-section .standard-button.ecom-btn-loading {
opacity: .6;
pointer-events: none;
filter: brightness(0.85);
}
.list-thematic-collection-section .thematic-collection-container .item-thematic-collection-adt {
width: calc((100% - (3 * 3.5%)) / 4);
}
.list-thematic-collection-section .view-grid { gap: 20px 3.5%; }
.list-thematic-collection-section .view-grid .item-thematic-collection-adt {
width: calc((100% - (3 * 3.5%)) / 4);
}
@media (max-width:1200px){ .list-thematic-collection-section .thematic-collection-container .item-thematic-collection-adt, .list-thematic-collection-section .view-grid .item-thematic-collection-adt { width: 48%; } }
@media (max-width: 576px) { .list-thematic-collection-section .thematic-collection-container .item-thematic-collection-adt, .list-thematic-collection-section .view-grid .item-thematic-collection-adt { width: 100%; } }
.list-thematic-collection-section .options-standard {
display: flex;
gap: 10px;
margin-bottom: 16px;
border: none;
}
.list-thematic-collection-section .options-standard .select-language,
.list-thematic-collection-section .options-standard .select-format {
background-color: #f5f5f5;
border: 1px solid #d0d0d0;
color: #2d2d2b;
font-size: 13px;
height: 38px;
}
.list-thematic-collection-section .options-standard .select-language:disabled,
.list-thematic-collection-section .options-standard .select-format:disabled {
background-color: #f5f5f5;
color: #2d2d2b;
opacity: 1;
}
.list-thematic-collection-section .options-standard .select-language { flex: 2; }
.list-thematic-collection-section .options-standard .select-format { flex: 1; }
select.form-control,
select.form-control:focus,
select.form-control:focus-visible {
background-image: url(/documents/d/global/ico-chevron-down);
background-size: 18px 10px;
background-position-x: 95%;
background-repeat: no-repeat;
position: relative;
}
.status-standard {
margin-right: 10px;
color: white;
font-size: 10px;
padding: 2px 6px;
border-radius: 3px;
font-weight: bold;
}
.list-thematic-collection-section .status-box {
text-transform: uppercase;
align-items: center;
display: flex;
flex-wrap: wrap;
margin: 0 0 10px;
gap: 4px 0;
}
.list-thematic-collection-section .status-box .status-standard.red-tag {
background-color: var(--ae-450, #D44436);
border: 1px solid var(--ae-450, #D44436);
color: #fff;
}
.list-thematic-collection-section .status-box .status-standard.green-tag {
background-color: #138636;
border: 1px solid #138636;
color: #fff;
}
.list-thematic-collection-section .status-box .status-standard.blue-tag {
background-color: #0078c0;
border: 1px solid #0078c0;
color: #fff;
}
.date-standard { font-size: 12px; color: #666; }
.list-thematic-collection-section .standard-button:hover,
.list-thematic-collection-section .standard-button:focus,
.list-thematic-collection-section .standard-button:focus-visible {
outline: 2px solid var(--brand-color-2, #6a9bd3);
outline-offset: 2px;
box-shadow: 0 0 0 3px rgba(106, 155, 211, 0.35);
}
window.ecomNormaScripts = window.ecomNormaScripts || (function () {
/* =====================================
PROPIEDADES PRIVADAS
===================================== */
const privateProps = window.ecomNormaScripts?.privateProps || {
//test1: {},
//test2: 0
};
/* =====================================
INICIALIZACIÓN DE PROPERTIES PRIVADAS
===================================== */
(function initPrivateProps() {
/* privateProps.test1 = {
test11: "",
test111: {
test1112: "00,00",
test1113: "€",
test1114: "00",
test1115: "000-00-000",
test1116: "0000",
test1117: "000"
},
test2: ""
};*/
})();
/* =====================================
PROPIEDADES PÚBLICAS
===================================== */
const publicProps = {
funcsEcomGlobalScripts: null,
propsEcomGlobalScripts: null,
isDebug: false
};
/* =====================================
INICIALIZACIÓN DE PROPERTIES PÚBLICAS
===================================== */
(function initPublicProps() {
//publicProps.TEST1 = "";
//publicProps.TEST2 = 0;
})();
/* =====================================
FUNCIONES PÚBLICAS
===================================== */
//En functions declaramos la functions publicas
const functions = {};
functions.init = async function () {
await _initPublicProps();
await _DOMContentLoaded();
};
/* =====================================
FUNCIONES PRIVADAS
===================================== */
const _initPublicProps = async function() {
// Obtener referencias de ecomGlobalScripts
publicProps.funcsEcomGlobalScripts = window.ecomGlobalScripts?.functions || {};
publicProps.propsEcomGlobalScripts = window.ecomGlobalScripts?.properties || {};
// Configurar debug
publicProps.isDebug = (false || publicProps.propsEcomGlobalScripts?.isDebug) ?? false;
// Asegurar que querySelectors existe (crearlo si no existe)
publicProps.propsEcomGlobalScripts.querySelectors ??= {};
// Agregar las propiedades querySelectors
publicProps.propsEcomGlobalScripts.querySelectors.rootSelector = "#ecom-norma-detail-normas-referenced .standards-section";
};
const _DOMContentLoaded = async function () {
//Se llama desde [dxp-ecom-portal/misc/adt/tienda/Detalle producto/ECOM-Global-Scripts.ftl] desde: document.addEventListener("DOMContentLoaded")
if (publicProps.isDebug) console.log("DOMContentLoaded ecom Norma scripts");
window.ecomGlobalScripts?.functions?.pushViewItemEvent?.({
name: "ASTM B616 - 23",
id: "115072",
category: "Normas ASTM"
});
};
// ---- Execute Listener DOMContentLoaded ----
document.addEventListener("DOMContentLoaded", async function() {
//Se llama desde [dxp-ecom-portal/misc/adt/tienda/Detalle producto/ECOM-Global-Scripts.ftl] desde: document.addEventListener("DOMContentLoaded")
//await _DOMContentLoaded();
});
/* =====================================
API PÚBLICA
===================================== */
return {
properties: publicProps, // properties public
functions: functions // functions public
};
})();










