/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/** Fonts **/
@font-face {
    font-family: 'Merriweather';
    src: url('/wp-content/uploads/2026/04/Merriweather-Regular.woff2') format('woff2'),
         url('/wp-content/uploads/2026/04/Merriweather-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    src: url('/wp-content/uploads/2026/04/Merriweather-Bold.woff2') format('woff2'),
         url('/wp-content/uploads/2026/04/Merriweather-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/** General **/
html {
  overflow-x: hidden;
}
body a {
  color: #333;
}
body ol {
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
}
.elementor-icon-box-title {
  margin-top: 0;
}

/** Counters **/
.elementor-counter-title  {
    text-align: center;
}

/** Lists **/
.page-content ul {
	list-style-type: square;
	padding-left: 20px;
	margin-bottom: 20px;
}
.page-content ul li {
	margin-bottom: 10px;
	padding-left: 5px;
}
.page-content ul li::marker {
  color: #98004d;
}

/** Header **/
header {
  height: 0px;
}

/** Footer **/
footer .footer-menu ul li {
  position: relative;
  padding-left: 15px;
}
footer .footer-menu ul li::before {
	position: absolute;
	content: "";
	left: 0;
	top: 50%;
	transform: translateY(-50%);
  width: 6px;
  height: 9px;
	background-color: #98004d;
}

/** Forms **/
/* Donacions */

/** Formulari doncacions **/
.form-amic-donacio p {
    margin-bottom: 0;
}

/* Contenidor Principal */
.form-amic-donacio {
    background-color: #f6f4ee; 
    padding: 40px;
    border-radius: 10px;
    font-family: 'Merriweather', serif;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Títols de les seccions (Labels) */
.amic-label {
    display: block;
    color: #888888;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.amic-seccio {
    margin-bottom: 25px;
}

/* Camps d'entrada (Inputs) */
.amic-input-field {
    width: 100% !important;
    padding: 12px 15px !important;
    margin-bottom: 15px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    font-family: 'Merriweather', serif !important;
    font-size: 15px !important;
    color: #444 !important;
    box-sizing: border-box !important;
}

.amic-input-field:focus {
    border-color: #98004d !important;
    outline: none !important;
}

/* Estructura de files i columnes */
.amic-row {
    display: flex;
    gap: 15px;
    align-items: stretch; 
    width: 100%;
}

.amic-col {
    flex: 1;
    min-width: 0;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    height: 100%;
}

/* Acceptació */
.amic-acceptacio {
	font-size: 14px;
	color: #444444;
}

/* Selector de forma de pagament (Radio buttons) */
.amic-selector-pagament span.wpcf7-list-item {
    display: block;
    margin: 8px 0;
    background: #ffffff;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Files mixtes (Check + Input €) */
.amic-selector-pagament .amic-row {
    margin-bottom: 15px;
}

.amic-selector-pagament .amic-row span.wpcf7-list-item {
    margin: 0 !important;
    height: 100%;
    display: flex;
    align-items: center;
}

.amic-selector-pagament .amic-row .amic-input-field {
    margin-bottom: 0 !important;
    height: 100% !important;
}

.amic-selector-pagament span.wpcf7-list-item:hover {
    border-color: #98004d;
}

.amic-selector-pagament input[type="radio"],
.amic-selector-pagament input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #98004d;
}

.amic-selector-pagament label {
    font-family: 'Merriweather', serif;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

/* Caixa d'informació de pagament (Dades bancàries i Bizum) */
.amic-caixa-info {
    background: #ffffff;
    border-left: 5px solid #98004d;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.amic-titol-caixa {
    color: #98004d;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.amic-metode-detall {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.amic-highlight {
    color: #98004d;
    font-weight: 800;
    font-size: 1.05em;
    letter-spacing: 0.5px;
}

.amic-recordatori {
    margin-top: 15px;
    font-size: 13px;
    color: #888888;
    font-style: italic;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

/* Botó d'enviament (Dóna Ara) */
.amic-btn-submit {
    background-color: #98004d !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 40px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    margin-top: 10px !important;
}

.amic-btn-submit:hover {
    background-color: #7a003e !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(152, 0, 77, 0.3);
}

/* Amagar el camp de seguiment de projecte */
.amic-camp-ocult {
    display: none !important;
}

/* Ajustos per a dispositius mòbils */
@media (max-width: 480px) {
    .form-amic-donacio {
        padding: 20px;
    }
    .amic-row {
        flex-direction: column;
        gap: 10px;
    }
    .amic-btn-submit {
        font-size: 16px !important;
        padding: 14px 20px !important;
    } 
    .amic-caixa-info {
        padding: 15px;
    }
}

/** Posts, Projectes **/
.single h2 {
	color: #212121;
	font-size: 26px;
	line-height: 30px;
}
.single h3 {
	color: #212121;
	font-size: 22px;
	line-height: 26px;
}

/** Woocommerce **/
.single-product .e-n-tab-title {
	background-color: rgba(0,0,0,0)!important;
	color: #98004D!important;
	border-bottom: 2px solid #98004D;
}
.single-product .e-n-tabs-content ul {
	margin-bottom: 40px;
	margin-top: 20px;
	text-align: left;
}
.single-product .e-n-tabs-content iframe {
	margin-bottom: 20px!important;
	margin-top: 20px!important;
}

/* Botó compra whatsapp */
.bt-whatsapp-seo {
	background-color: #98004d;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 17px;
	color: #FFF!important;
	border-radius: 50px;
	padding: 12px 24px;
	display: inline-block;
	margin-top: 40px;
}
.bt-whatsapp-seo:hover {
	background-color: #ffb422;
}