/* Theme Name: Brandcode Theme URI: https://brandcode.es Author: Brandcode S.L Author URI: http://www.brandcode.es Description: Fichero base de customización del tema. Version: 1.0 */ //Importamos las variables @import "variables.less"; // html { // margin-top: 0 !important; // } // * html body { // margin-top: 0 !important; // } body:has(.fp-modal-page) { margin: 0 !important; font-family: "Montserrat", sans-serif; h2 { //white-space: nowrap; border-bottom: 3px solid #000; padding-bottom: 15px !important; line-height: 1em; font-family: 'Montserrat', sans-serif; font-weight: 600; color: #000 !important; --min: 40; --max: 64; --mintrans: 430; --maxtrans: 1920; font-size: ~"clamp(var(--min) * 1px, calc((var(--max) - var(--min)) * ((100vw - var(--mintrans) * 1px) / (var(--maxtrans) - var(--mintrans))) + var(--min) * 1px), var(--max) * 1px)" !important; margin-bottom: 50px; } .fp-modal-page { position: relative; width: 100%; min-height: 100vh; overflow-y: auto; } .fp-modal-panel { position: relative; width: 100%; min-height: 100%; background: #96C2D7 !important; overflow-y: visible; opacity: 1; transform: none; padding: 64px 88px; box-sizing: border-box; z-index: 1; } .fp-modal-close { position: fixed; top: 50px; right: 40px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 100; line-height: 0; transition: transform 0.2s ease; } .fp-modal-close:hover { transform: scale(1.15); } .fp-modal-close img { width: 64px; height: 64px; object-fit: contain; } .fp-modal-header { margin-bottom: 56px; padding-right: 60px; } .fp-modal-title { margin: 0; font-size: clamp(42px, 5vw, 64px); font-weight: 800; color: #1a1a1a; line-height: 1.1; text-wrap: auto; padding-right: 0 !important; } /* Modal two-column layout */ .fp-modal-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 78px; align-items: start; width: 100%; max-width: 1600px; margin: 0 auto; } /* ========== INSTRUCTIONS (modal left column) ========== */ .fp-instructions { display: flex; flex-direction: column; gap: 0; } .fp-instructions-list { display: flex; flex-direction: column; gap: 34px; } .fp-instruction-item { display: flex; align-items: flex-start; gap: 22px; } .fp-instruction-img-wrap { position: relative; flex-shrink: 0; width: 132px; } .fp-instruction-number { position: absolute; top: -6px; left: -6px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #1a1a1a; color: #fff; border-radius: 50%; font-weight: 700; font-size: 15px; z-index: 1; display: none; } .fp-instruction-number--standalone { position: static; width: 32px; height: 32px; font-size: 16px; flex-shrink: 0; } .fp-instruction-image { width: 100%; height: auto; border-radius: 6px; object-fit: contain; background: transparent; } .fp-instruction-text { font-size: 18px; color: #1a1a1a; line-height: 1.5; flex: 1; } .fp-instruction-text p { margin: 0; } /* ========== INCLUDES (modal right column) ========== */ .fp-includes { display: flex; flex-direction: column; gap: 15px; } .fp-includes-title { margin: 0; font-size: 20px; font-weight: 500; color: #1a1a1a; // text-transform: uppercase; letter-spacing: 1px; text-align: center; strong { font-weight: 700; } p { margin: 0; padding: 0 !important; } } .fp-includes-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; } .fp-include-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 110px; text-align: center; } .fp-include-image { width: 56px; height: 80px; object-fit: contain; } .fp-include-label, .fp-include-label p { margin: 0; font-size: 13px; color: #1a1a1a; line-height: 1.3; text-align: center; } /* ========== VIDEO (modal right column) ========== */ .fp-video { margin-top: 28px; } .fp-video h3 { display: none; } .fp-video-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: #c8d3da; border: 1px solid #b0bec5; } .fp-video-container iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border-radius: 12px; } /* ========== Numeración Flismy 02 ========== */ /* Solo se aplica a Flismy 02 (id="196") */ [id="196"] { em { background-color: black; color: white; padding-left: 5px; border-radius: 50%; padding-right: 7px; padding-top: 2px; padding-bottom: 2px; margin-right: 8px; } p { padding-bottom: 20px; } .fp-instruction-img-wrap { padding-right: 10px; } .fp-instruction-item { &:first-child .fp-instruction-text { border-bottom: black 3px solid !important; } &:last-child { padding-top: 20px; } } } /* ========== RESPONSIVE ========== */ @media (max-width: 768px) { .fp-modal-panel { padding: 36px 24px; } .fp-modal-layout { grid-template-columns: 1fr; gap: 30px; } .fp-modal-title { font-size: 38px; padding-right: 40px; } .fp-instruction-img-wrap { width: 110px; } .fp-instruction-text { font-size: 16px; } .fp-include-item { width: 96px; } .fp-include-image { width: 48px; height: 48px; } .fp-modal-close { position: absolute; top: 14px; right: 14px; } .fp-modal-close img { width: 38px; height: 38px; } .fp-card-image .fp-secondary-image { padding: 20px; } .fp-compact-content { grid-template-columns: auto 1fr; gap: 15px; padding: 15px; } .fp-compact-image img { width: 100px; height: 100px; } } @media (max-width: 480px) { .fp-modal-panel { padding: 24px 16px; } .fp-modal-title { font-size: 32px; padding-right: 34px; } .fp-instruction-item { flex-direction: column; align-items: center; text-align: center; } .fp-instruction-img-wrap { width: 100px; } .fp-instruction-text { font-size: 15px; } .fp-include-item { width: 44%; } .fp-compact-content { grid-template-columns: 1fr; gap: 10px; } .fp-compact-image { display: flex; justify-content: center; } } }