/*
 * Styles for the Cartuchea Elementor additions (child theme hello-cartuchea).
 * Values measured from the live homepage https://www.cartuchea.com/ (2026-11-28).
 * Everything here is a DEFAULT: each widget's Elementor style controls override it.
 *
 * Sections:  1. Hover zoom (inc/elementor/hover-zoom.php)
 *            2. Hero slider (inc/elementor/widgets/class-hero-slider.php)
 *            3. Product cards (inc/elementor/widgets/class-products.php + inc/product-card.php)
 *            4. Blog carousel (inc/elementor/widgets/class-blog-carousel.php)
 *            5. Section titles & banners (free widgets with CSS classes set in the homepage)
 */

:root { --cc-ease-zoom: cubic-bezier(0, 0, .44, 1.18); }

/* ---------- 1. Hover zoom ------------------------------------------------------------------ */
.elementor-widget-image.cc-zoom-yes,
.elementor-widget-image-box.cc-zoom-yes .elementor-image-box-img,
.e-con.cc-zoom-yes .elementor-widget-image { overflow: hidden; }
.elementor-widget-image.cc-zoom-yes img,
.elementor-widget-image-box.cc-zoom-yes .elementor-image-box-img img,
.e-con.cc-zoom-yes .elementor-widget-image img { transition: transform var(--cc-zoom-duration, 500ms) var(--cc-ease-zoom); }
.elementor-widget-image.cc-zoom-yes:hover img,
.elementor-widget-image-box.cc-zoom-yes:hover .elementor-image-box-img img,
.e-con.cc-zoom-yes:hover .elementor-widget-image img { transform: scale(var(--cc-zoom-scale, 1.09)); }
/* Container background: a copy of the background (::after, inherit) is scaled under the content. */
.e-con.cc-zoom-yes { position: relative; overflow: hidden; isolation: isolate; }
.e-con.cc-zoom-yes::after { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; pointer-events: none; transition: transform var(--cc-zoom-duration, 500ms) var(--cc-ease-zoom); }
.e-con.cc-zoom-yes:hover::after { transform: scale(var(--cc-zoom-scale, 1.09)); }
@media (prefers-reduced-motion: reduce) {
	.cc-zoom-yes img, .e-con.cc-zoom-yes::after { transition: none !important; transform: none !important; }
}

/* ---------- 2. Hero slider ----------------------------------------------------------------- */
.cc-hero { position: relative; overflow: hidden; width: 100%; --swiper-pagination-bottom: 15px; }
.cc-hero__slide { height: 600px; background-color: #353734; background-size: cover; background-position: center; display: flex; }
.cc-hero__inner { width: 100%; max-width: var(--cc-container, 1222px); margin: 0 auto; padding: 0 var(--cc-gutter, 15px); box-sizing: border-box; display: flex; align-items: center; justify-content: center; text-align: center; }
.cc-hero__inner--left { justify-content: flex-start; text-align: left; }
.cc-theme .cc-hero__inner--left .cc-hero__title { margin-left: 0; }
.cc-theme .cc-hero__inner--right .cc-hero__title { margin-right: 0; }
.cc-hero__inner--right { justify-content: flex-end; text-align: right; }
.cc-hero__content { max-width: 895px; }
.cc-theme .cc-hero__title { max-width: 80%; margin: 0 auto 10px; color: #fff; font-size: 46px; font-weight: 900; line-height: 56px; }
.cc-hero__strip { display: inline-block; padding: 20px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.cc-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; }
.cc-hero__inner--center .cc-hero__btns { justify-content: center; }
.cc-hero__inner--right .cc-hero__btns { justify-content: flex-end; }
.cc-theme a.cc-hero__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 5px 20px; border-radius: 35px; background: var(--cc-primary, #03a002); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; text-transform: uppercase; transition: background-color .2s, box-shadow .2s; }
.cc-theme a.cc-hero__btn:hover { background: var(--cc-primary-dark, #028a01); color: #fff; box-shadow: inset 0 0 200px rgba(0, 0, 0, .1); }
.cc-hero__arrow { position: absolute; top: 50%; z-index: 5; width: 50px; height: 50px; margin-top: -25px; padding: 0; border: 0; background: none; color: #fff; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: .8; transition: opacity .2s; }
.cc-hero__arrow:hover { opacity: 1; }
.cc-hero__arrow svg { width: 1em; height: 1em; }
.cc-hero__prev { left: 0; }
.cc-hero__next { right: 0; }
.elementor-element .swiper.cc-hero > .cc-hero__dots.swiper-pagination-bullets, .cc-hero .cc-hero__dots { position: absolute; left: 0; right: 0; bottom: 15px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.cc-dot { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .5); background: transparent; cursor: pointer; transition: background-color .2s, border-color .2s; }
.cc-hero__dots .cc-dot.is-active { background: #fff; border-color: #fff; }
.cc-hero .swiper-slide:not(.swiper-slide-active) .cc-hero__btn { pointer-events: none; }
@media (max-width: 767px) {
	.cc-theme .cc-hero__title { font-size: 28px; line-height: 36px; }
	.cc-hero__arrow { display: none; }
}

/* ---------- 3. Product cards (second photo on hover) --------------------------------------- */
.cc-products--hover .cc-card__img { position: relative; display: block; overflow: hidden; }
.cc-products--hover .cc-card__hover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; opacity: 0; transition: opacity .5s, transform 2s var(--cc-ease-zoom); }
.cc-products--hover .cc-card__media:hover .cc-card__hover,
.cc-products--hover .cc-card__img:focus-visible .cc-card__hover { opacity: 1; transform: scale(1.09); }
.cc-products .woocommerce { width: 100%; }

/* ---------- 4. Blog carousel --------------------------------------------------------------- */
.cc-blogc { position: relative; }
.cc-blogc__viewport { overflow: hidden; padding: 4px; margin: -4px; }
.cc-bpost { height: auto; box-sizing: border-box; box-shadow: 0 0 4px rgba(0, 0, 0, .12); background: #fff; display: flex; flex-direction: column; }
.cc-bpost__thumb { position: relative; display: block; overflow: hidden; }
.cc-bpost__img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.cc-bpost__img--empty { background: var(--cc-bg-soft, #f7f7f7); }
.cc-blogc--zoom .cc-bpost__img { transition: transform .5s var(--cc-ease-zoom); }
.cc-blogc--zoom .cc-bpost:hover .cc-bpost__img { transform: scale(1.1); }
.cc-bpost__date { position: absolute; top: 15px; left: 15px; z-index: 2; width: 53px; height: 53px; background: #fff; color: #333; box-shadow: 0 0 9px rgba(0, 0, 0, .1); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.cc-bpost__day { font-size: 22px; line-height: 22px; }
.cc-bpost__month { font-size: 12px; font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.cc-bpost__body { padding: 25px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
.cc-theme .cc-bpost__title { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 400; text-transform: uppercase; }
.cc-theme .cc-bpost__title a { color: #333; }
.cc-theme .cc-bpost__title a:hover { color: var(--cc-primary, #03a002); }
.cc-bpost__excerpt { margin: 0; font-size: 14px; line-height: 1.6; color: #000; }
.cc-theme a.cc-bpost__more { margin-top: auto; font-size: 12.6px; font-weight: 600; text-transform: uppercase; color: var(--cc-primary, #03a002); }
.cc-blogc__arrow { position: absolute; top: 40%; z-index: 5; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #a5a5a5; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s, color .2s; }
.cc-blogc:hover .cc-blogc__arrow, .cc-blogc__arrow:focus-visible { opacity: 1; }
.cc-blogc__arrow:hover { color: #333; }
.cc-blogc__arrow svg { width: 1em; height: 1em; }
.cc-blogc__prev { left: -40px; }
.cc-blogc__next { right: -40px; }
.cc-blogc__arrow.swiper-button-disabled { opacity: 0 !important; pointer-events: none; }
.cc-blogc__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.cc-blogc__dots .cc-dot { border-color: rgba(0, 0, 0, .25); }
.cc-blogc__dots .cc-dot.is-active { background: #333; border-color: #333; }
@media (max-width: 1299px) { .cc-blogc__prev { left: 0; } .cc-blogc__next { right: 0; } }

/* ---------- 5. Section titles & category banners (free widgets) ---------------------------- */
/* Headings inside banners/section titles: no theme heading margin (spacing comes from Elementor). */
.cc-theme .cc-hbanner .elementor-heading-title, .cc-theme .cc-stitle .elementor-heading-title { margin: 0; }
.cc-theme .cc-stitle-row > .cc-stitle { margin-bottom: 0; }
/* Section title: Heading widget with class "cc-stitle" inside a container (class "cc-stitle-row") with the grey line.
   (Not "cc-section-title": main.css already uses that name.) */
.cc-theme .cc-stitle .elementor-heading-title { display: inline-block; padding-bottom: 10px; margin-bottom: -2px; border-bottom: 2px solid var(--cc-primary, #03a002); }
/* Category banner: Container (link + background image + hover zoom) with two Heading widgets.
   The "VER MÁS" heading has class "cc-banner-link" (green underline). The whole banner is one link,
   so the inner texts are headings (no nested links). */
.cc-theme .cc-banner-link .elementor-heading-title { display: inline-block; border-bottom: 2px solid var(--cc-primary, #03a002); }
.cc-theme a.e-con:hover .cc-banner-link .elementor-heading-title { color: var(--cc-primary, #03a002); }

/* =============================================================================================
 * Search page — widgets "Cartuchea Search title" / "Cartuchea Search results" and the coded
 * fallback (inc/search-page.php). Colours/fonts set in Elementor override these defaults.
 * ============================================================================================= */
.cc-search-page { display: block; }
.cc-search-tpl .e-con.cc-sr-top { --gap: 0px; }

/* Title */
.cc-sr-title { text-align: center; }
.cc-theme .cc-sr-title__h { margin: 0; font-size: 48px; line-height: 1.2; font-weight: 600; color: inherit; }
.cc-sr-title__words::before { content: "“"; }
.cc-sr-title__words::after { content: "”"; }
.cc-sr-title__count { margin: 12px 0 0; font-size: 15px; opacity: .8; }

/* Coded fallback layout: black band + results | blog sidebar */
.cc-sr-band { background: #000; color: #fff; padding: 60px 0 50px; }
.cc-sr-band .cc-sr-title__h { color: #fff; }
.cc-sr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 276px; gap: 30px; padding-top: 40px; padding-bottom: 40px; }

/* Results */
.cc-sr-count { margin: 0 0 20px; font-size: 14px; color: #767676; }
.cc-theme ul.products.cc-sr-grid { grid-template-columns: repeat(var(--cc-sr-cols, 3), minmax(0, 1fr)); }
.cc-sr-card { border: 1px solid var(--cc-border, #e6e6e6); border-radius: 6px; padding: 0 0 18px; text-align: left !important; overflow: hidden; background: #fff; }
.cc-sr-card__media { display: block; aspect-ratio: 1 / 1; background: #f6f6f6; overflow: hidden; }
.cc-sr-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.cc-sr-card:hover .cc-sr-card__media img { transform: scale(1.04); }
.cc-sr-card__placeholder { display: flex; height: 100%; align-items: center; justify-content: center; font-size: 42px; color: #ccc; }
.cc-sr-card__type { display: inline-block; margin: 14px 16px 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-primary, #02a002); }
.cc-theme .cc-sr-card__title { margin: 0 16px 8px; font-size: 16px; line-height: 1.35; font-weight: 600; }
.cc-theme .cc-sr-card__title a { color: #333; }
.cc-sr-card__excerpt { margin: 0 16px 10px; font-size: 13px; line-height: 1.5; color: #767676; }
.cc-theme .cc-sr-card__more { margin: auto 16px 0; font-size: 13px; font-weight: 600; color: var(--cc-primary, #02a002); }
.cc-sr-pagination { margin-top: 10px; }

/* No results */
.cc-sr-empty { text-align: center; padding: 50px 20px; border: 1px dashed var(--cc-border, #e6e6e6); border-radius: 8px; }
.cc-theme .cc-sr-empty__title { margin: 0 0 10px; font-size: 24px; color: #333; }
.cc-sr-empty__words { font-weight: 400; }
.cc-sr-empty__text { margin: 0 auto 20px; max-width: 520px; color: #767676; }
.cc-sr-empty__search { max-width: 468px; margin: 0 auto 20px; }
.cc-sr-empty__search .cc-search { max-width: none; }
.cc-theme .cc-sr-empty__btn { display: inline-block; padding: 12px 26px; border-radius: 4px; background: #000; color: #fff; font-weight: 600; font-size: 13px; text-transform: uppercase; }

/* Small search field in the sidebar (core "Search" widget) */
.cc-widget .search-form { display: flex; }
.cc-widget .search-form label { flex: 1; margin: 0; }
.cc-widget .search-form .search-field { width: 100%; height: 42px; padding: 0 12px; border: 2px solid var(--cc-border, #e6e6e6); border-right: 0; border-radius: 4px 0 0 4px; font-size: 14px; box-sizing: border-box; }
.cc-widget .search-form .search-submit { height: 42px; padding: 0 14px; border: 0; border-radius: 0 4px 4px 0; background: var(--cc-primary, #02a002); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }

@media (max-width: 1024px) {
	.cc-theme .cc-sr-title__h { font-size: 36px; }
	.cc-sr-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.cc-theme .cc-sr-title__h { font-size: 26px; }
	.cc-sr-band { padding: 35px 0 30px; }
	.cc-sr-grid { --cc-sr-cols: 2; }
	.cc-theme ul.products.cc-sr-grid { gap: 20px 15px; }
}

/* Printer finder page #5416 (tools/build-finder-page.php): breadcrumb in the black band. */
.cc-theme .cc-pf-band__crumbs p { margin: 0; }
.cc-theme .cc-pf-band__crumbs a { color: rgba(255, 255, 255, .75); }
.cc-theme .cc-pf-band__crumbs a:hover { color: #fff; }
.cc-pf-band__sep { margin: 0 6px; opacity: .6; }
.cc-theme .cc-pf-band .elementor-widget-heading .elementor-heading-title { margin: 0; }

/* =============================================================================================
 * Contact page #651 (tools/build-contact-page.php) + Contact Form 7 layout (live design).
 * ============================================================================================= */
/* Section title with a grey line after it (live "bordered" title). Add class cc-title-line to a Heading. */
.cc-title-line .elementor-heading-title { display: flex; align-items: center; gap: 15px; }
.cc-title-line .elementor-heading-title::after { content: ""; flex: 1 1 auto; min-width: 30px; height: 1px; background: rgba(129, 129, 129, .2); }
.cc-contact__text p { margin: 0 0 20px; font-size: 14px; line-height: 1.6; }
.cc-contact__text p:last-child { margin-bottom: 0; }
.cc-theme .cc-contact__text a { color: #333; }
.cc-theme .cc-contact__text a:hover { color: var(--cc-primary); }
.cc-contact__details .cc-contact__text strong { color: #333; font-weight: 600; }

/* CF7 forms use Bootstrap-style .row / .col-md-6 (from the old theme): two fields per row. */
.wpcf7 form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.wpcf7 form .row > [class*="col-"] { min-width: 0; }
.wpcf7 form label { display: block; margin-bottom: 5px; color: #464646; font-size: 14px; line-height: 22px; }
.wpcf7 form .wpcf7-form-control-wrap { display: block; }
.wpcf7 form input[type=text], .wpcf7 form input[type=email], .wpcf7 form input[type=tel], .wpcf7 form textarea { width: 100%; box-sizing: border-box; }
.wpcf7 form textarea { height: 190px; resize: vertical; }
.wpcf7 form .wpcf7-acceptance label { display: inline; }
.wpcf7 form .wpcf7-acceptance .wpcf7-list-item { margin: 0 0 6px; }
.wpcf7 form .wpcf7-acceptance + span, .wpcf7 form .wpcf7-form-control-wrap + span { line-height: 1.6; margin-top: 6px; color: #000; }
.wpcf7 form p:has(.wpcf7-acceptance) br { display: none; } /* legal text right under the checkbox, as on live */
.wpcf7 form p:has(.wpcf7-acceptance) > span[style] { display: block !important; margin-top: 3px; }
@media (max-width: 767px) {
	.wpcf7 form .row { grid-template-columns: minmax(0, 1fr); }
}
.cc-contact .elementor-heading-title { margin: 0; } /* spacing comes from the Elementor margin, not the theme's h4 margin */
.cc-contact__details > .elementor-widget-image { flex: 0 0 40px; width: 40px; }
.cc-contact__details > .elementor-widget-text-editor { flex: 1 1 auto; width: auto; }
.wpcf7 form .row { margin-bottom: 7px; }

/* Envíos page #861 (tools/build-envios-page.php): spacing comes from the Elementor margin, not the theme's h1 margin. */
.cc-envios .elementor-heading-title { margin: 0; }

/* ---------- Nuestras tiendas page #10669 (tools/build-tiendas-page.php) — live design ---------- */
.cc-stores-head .elementor-heading-title, .cc-stores .elementor-heading-title { margin: 0; }
.cc-theme .elementor .e-con.cc-stores { max-width: 1222px; margin-inline: auto; padding-left: 0; padding-right: 0; }
/* Heading with a thin line on both sides of the text (live Woodmart "bordered" title). Add class cc-title-lines. */
.cc-title-lines .elementor-heading-title { display: flex; align-items: center; gap: 20px; }
.cc-title-lines .elementor-heading-title::before, .cc-title-lines .elementor-heading-title::after { content: ""; flex: 1 1 0; min-width: 0; height: 1px; background: rgba(0, 0, 0, .106); }
/* Contact buttons: 4 cells; the row sticks out 15 px on each side like the live grid. */
.cc-theme .cc-store > .cc-store__btns { width: calc(100% + 30px); max-width: none; }
.cc-theme .elementor .cc-store__btns > .cc-store__btn { flex: 0 0 25%; width: 25%; max-width: 25%; } /* theme sets widgets to 100% */
@media (max-width: 767px) { .cc-theme .elementor .cc-store__btns > .cc-store__btn { flex-basis: 16.666%; width: 16.666%; max-width: 16.666%; } }
.cc-store__btn .elementor-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 58px; padding: 0; border: 1px solid #fff; background-image: linear-gradient(rgba(0, 0, 0, .01) 0, rgba(0, 0, 0, .02)); }
.cc-store__btn .elementor-icon:hover, .cc-store__btn .elementor-icon:focus-visible { border-color: #f0f0f0; }
.cc-store__btn .elementor-icon svg { width: 20px; height: 20px; }
/* Panels: rounded corners, small chevron, lists like live. */
.cc-store__panels .elementor-toggle-item { border-radius: 5px; overflow: hidden; }
.cc-store__panels .elementor-tab-title { border-radius: 5px 5px 0 0; }
.cc-store__panels .elementor-toggle-icon svg { width: 12px; height: 12px; }
.cc-store__panels .elementor-toggle-icon { width: 12px; }
.cc-store__panels .elementor-tab-content ul { margin: 0; padding-left: 17px; }
.cc-store__panels .elementor-tab-content li { margin-bottom: 10px; }
.cc-store__map { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- Programa de socios page #47676 (tools/build-socios-page.php, mockup docs/mockups/programa-de-socios.html) ----------
 * Colours, sizes and texts are Elementor settings; this only adds what Elementor has no control for. */
.cc-socios-sec .elementor-heading-title, .cc-socios-hero .elementor-heading-title, .cc-socios-figures .elementor-heading-title { margin: 0; }
.cc-socios-intro .cc-socios-lead { max-width: 720px; margin-inline: auto; }
.cc-socios-intro .cc-socios-lead p:last-child { margin-bottom: 0; }
#inversion, #contacto { scroll-margin-top: 70px; } /* clears the sticky bar */
/* Grids (cards, figures, panels, steps, contact) */
.cc-theme .elementor .e-con.cc-socios-grid { display: grid; gap: 22px; }
.cc-theme .elementor .e-con.cc-socios-grid > * { width: auto; max-width: none; min-width: 0; }
.cc-socios-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cc-socios-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cc-socios-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 26px !important; }
.cc-socios-contact { grid-template-columns: .85fr 1.15fr; gap: 40px !important; align-items: start; }
/* 1. Hero */
.cc-socios-hero { overflow: hidden; }
.cc-socios-hero::after { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.cc-socios-hero__media { position: relative; }
.cc-socios-hero__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; box-shadow: 0 25px 50px rgba(0, 0, 0, .25); }
.cc-theme .elementor .cc-socios-hero__media > .cc-socios-badge { position: absolute; width: auto; max-width: 260px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 10px 30px rgba(0, 40, 0, .12); }
.cc-socios-badge--a { left: -28px; bottom: 60px; }
.cc-socios-badge--b { right: -20px; bottom: -26px; }
.cc-socios-badge .elementor-icon-box-description { margin: 4px 0 0; }
.cc-theme .elementor .e-con.cc-socios-ctas > .elementor-widget { width: auto; max-width: none; } /* theme sets widgets to 100% */
.cc-socios-ctas .elementor-button { transition: transform .15s, background-color .15s; }
.cc-socios-ctas .elementor-button:hover { transform: translateY(-1px); }
/* 2. Figures */
.cc-socios-figures { position: relative; z-index: 2; }
.cc-theme .elementor .e-con.cc-socios-figures__card { gap: 0; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 40, 0, .08); overflow: hidden; }
.cc-socios-figure + .cc-socios-figure { border-left: 1px solid #e6ebe6; }
/* 3. Benefit cards */
.cc-socios-card > .elementor-widget-container, .cc-socios-card:not(:has(> .elementor-widget-container)) { height: 100%; background: #fff; border: 1px solid #e6ebe6; border-radius: 14px; padding: 26px; transition: box-shadow .2s, transform .2s; }
.cc-socios-card:hover > .elementor-widget-container, .cc-socios-card:not(:has(> .elementor-widget-container)):hover { box-shadow: 0 10px 30px rgba(0, 40, 0, .08); transform: translateY(-2px); }
.cc-socios-card .elementor-icon-box-title { margin-top: 0; }
.cc-socios-card .elementor-icon-box-description { margin: 0; }
.cc-theme .elementor .e-con.cc-socios-photo { grid-row: span 2; border-radius: 14px; overflow: hidden; }
.cc-socios-photo .elementor-widget-image { flex: 1 1 auto; }
.cc-socios-photo .elementor-widget-image img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.cc-socios-photo__cap { background: #02a002; padding: 22px 26px; }
/* 4. Investment panels */
.cc-socios-panel { background: #fff; border: 1px solid #e6ebe6; border-radius: 18px; }
.cc-socios-panel--green { background: #02a002; border-color: #02a002; }
.cc-socios-panel__head { border-bottom: 1px solid #e6ebe6; padding-bottom: 18px !important; margin-bottom: 8px; }
.cc-socios-panel--green .cc-socios-panel__head { border-color: rgba(255, 255, 255, .25); }
.cc-socios-panel__total .elementor-heading-title { white-space: nowrap; }
.cc-socios-panel__total b { display: block; font-size: 26px; font-weight: 700; line-height: 1.2; }
.cc-socios-checklist { list-style: none; margin: 0; padding: 0; }
.cc-socios-checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px dashed #e6ebe6; }
.cc-socios-panel--green .cc-socios-checklist li { border-color: rgba(255, 255, 255, .2); }
.cc-socios-checklist li:last-child { border-bottom: 0; }
.cc-socios-checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #eaf6ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302a002' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cc-socios-panel--green .cc-socios-checklist li::before { background-color: #fff; }
.cc-socios-amount { flex: none; margin-left: auto; font-weight: 700; font-size: 14px; line-height: 1.6; padding: 1px 10px; border-radius: 999px; background: #eaf6ea; color: #017a01; white-space: nowrap; }
.cc-socios-panel--green .cc-socios-amount { background: rgba(255, 255, 255, .18); color: #fff; }
/* 5. Steps (numbered 01–03 automatically) */
.cc-socios-steps { counter-reset: cc-step; }
.cc-socios-step { position: relative; overflow: visible; background: #fff; border: 1px solid #e6ebe6; border-radius: 14px; }
.cc-socios-step::before { counter-increment: cc-step; content: "0" counter(cc-step); position: absolute; top: -18px; left: 26px; width: 44px; height: 36px; border-radius: 10px; background: #02a002; color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
/* 6. Income banner */
.cc-socios-income { border-radius: 22px; overflow: hidden; }
.cc-socios-income__media .elementor-widget-image, .cc-socios-income__media .elementor-widget-container { height: 100%; }
.cc-socios-income__media img { width: 100%; height: 100%; min-height: 380px; max-height: 460px; object-fit: cover; }
/* 7. Contact */
.cc-socios-help { background: #eaf6ea; border-radius: 18px; }
.cc-socios-help__list .elementor-icon-list-item { padding: 14px 0 !important; }
.cc-socios-form { background: #fff; border: 1px solid #e6ebe6; border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 40, 0, .08); }
.cc-socios-form .wpcf7 label { font-weight: 600; font-size: 14px; }
.cc-socios-form .wpcf7 input:not([type="checkbox"]):not([type="submit"]), .cc-socios-form .wpcf7 textarea { border-radius: 10px; }
.cc-socios-form .wpcf7 input[type="submit"] { background: #02a002; color: #fff; border: 0; border-radius: 999px; padding: 15px 34px; font-weight: 700; cursor: pointer; }
.cc-socios-form .wpcf7 input[type="submit"]:hover { background: #017a01; }
/* Tablet */
@media (max-width: 1024px) {
	.cc-socios-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.cc-socios-figure:nth-child(3) { border-left: 0; }
	.cc-socios-figure:nth-child(-n+2) { border-bottom: 1px solid #e6ebe6; }
	.cc-socios-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.cc-theme .elementor .e-con.cc-socios-photo { grid-row: auto; grid-column: 1 / -1; flex-direction: row; }
	.cc-socios-photo .elementor-widget-image { flex: 0 0 55%; }
	.cc-socios-photo__cap { flex: 1 1 auto; display: flex; align-items: center; }
	.cc-socios-steps { grid-template-columns: repeat(3, 1fr); }
	.cc-socios-badge--a { left: -14px; }
	.cc-socios-badge--b { right: -8px; }
}
/* Phone */
@media (max-width: 767px) {
	.cc-socios-grid--3, .cc-socios-grid--2, .cc-socios-steps, .cc-socios-contact { grid-template-columns: 1fr; }
	.cc-socios-steps { gap: 34px !important; }
	.cc-theme .elementor .e-con.cc-socios-photo { flex-direction: column; }
	.cc-socios-photo .elementor-widget-image img { min-height: 200px; }
	.cc-socios-badge--a { left: 12px; bottom: 12px; padding: 12px 14px !important; }
	.cc-socios-badge--b { display: none; }
	.cc-theme .elementor .e-con.cc-socios-ctas > .elementor-widget, .cc-socios-ctas .elementor-button { width: 100%; }
	.cc-socios-income__media img { min-height: 0; max-height: 280px; }
	.cc-socios-checklist li { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .cc-socios-card > .elementor-widget-container, .cc-socios-ctas .elementor-button { transition: none; } }
.cc-socios-nowrap .elementor-heading-title { white-space: nowrap; }

/* ---------- Cartuchea y Ahorra page #3336 (tools/build-ahorra-page.php, mockup docs/mockups/cartucheayahorra.html) ----------
 * Colours, sizes and texts are Elementor settings; this only adds what Elementor has no control for. */
.cc-ahorra-hero .elementor-heading-title, .cc-ahorra-sec .elementor-heading-title { margin: 0; }
#como-funciona { scroll-margin-top: 70px; } /* clears the sticky bar */
.cc-ahorra-green { color: #02a002; }
.cc-theme .elementor .e-con.cc-ahorra-ctas > .elementor-widget { width: auto; max-width: none; } /* theme sets widgets to 100% */
/* Grids */
.cc-theme .elementor .e-con.cc-ahorra-grid { display: grid; gap: 22px; }
.cc-theme .elementor .e-con.cc-ahorra-grid > * { width: auto; max-width: none; min-width: 0; }
.cc-ahorra-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cc-ahorra-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 14px !important; }
/* 1. Hero: soft green glow + example card */
.cc-ahorra-hero { background: radial-gradient(circle at 85% 20%, #d9f2d9 0, transparent 45%), linear-gradient(180deg, #f3faf3, #fff); }
.cc-ahorra-demo { position: relative; overflow: visible; background: #fff; border-radius: 20px; box-shadow: 0 25px 50px rgba(0, 40, 0, .12); }
.cc-theme .elementor .cc-ahorra-demo > .cc-ahorra-demo__tag { position: absolute; right: -16px; top: -16px; width: auto; max-width: none; background: #02a002; border-radius: 999px; padding: 10px 16px; box-shadow: 0 10px 30px rgba(0, 40, 0, .12); }
.cc-ahorra-demo__product { padding-bottom: 20px; border-bottom: 1px solid #e6ebe6; }
.cc-ahorra-demo__product .elementor-icon { border-radius: 12px; }
.cc-ahorra-demo__product .elementor-icon-box-title { margin: 0; }
.cc-ahorra-msg { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; padding: 14px 16px; border-radius: 12px; background: #eaf6ea; color: #017a01; font-weight: 700; font-size: 16px; }
.cc-ahorra-msg img { width: 22px; height: 22px; }
.cc-ahorra-demo__note { margin: 0; }
/* 2. Highlights */
.cc-ahorra-hl .elementor-icon { border-radius: 12px; }
.cc-ahorra-hl .elementor-icon-box-title { margin-top: 0; }
.cc-ahorra-hl .elementor-icon-box-description { margin: 0; }
/* 3. Phases and numbered steps (numbers come from <ol start="N">) */
.cc-ahorra-phase { background: #fff; border: 1px solid #e6ebe6; border-radius: 18px; }
.cc-theme .elementor .e-con.cc-ahorra-phase__body { flex: 1 1 0; min-width: 0; gap: 18px; }
.cc-theme .elementor .cc-ahorra-phase__head > .cc-ahorra-num { width: 48px; max-width: none; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #02a002; margin-bottom: 14px; }
.cc-ahorra-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cc-ahorra-steps li { position: relative; padding: 6px 0 0 50px; min-height: 36px; }
.cc-ahorra-steps li::before { content: counter(list-item); position: absolute; left: 0; top: 0; width: 36px; height: 36px; box-sizing: border-box; border-radius: 50%; border: 2px solid #02a002; color: #017a01; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.cc-ahorra-steps-wrap p:last-child { margin-bottom: 0; }
.cc-ahorra-indent { padding-left: 50px; }
.cc-ahorra-min { border-radius: 12px; background: #f6f8f6; }
.cc-ahorra-channels .elementor-icon-list-items { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 !important; }
.cc-ahorra-channels .elementor-icon-list-item { margin: 0 !important; padding: 12px 14px !important; border: 1px solid #e6ebe6; border-radius: 12px; min-width: 0; }
.cc-ahorra-channels .elementor-icon-list-item::after { display: none !important; }
.cc-ahorra-channels .elementor-icon-list-text { overflow-wrap: anywhere; }
/* 4. Final banner */
.cc-ahorra-cta { border-radius: 22px; }
.cc-theme .elementor .e-con.cc-ahorra-cta > .cc-ahorra-cta__text { flex: 1 1 auto; width: auto; }
.cc-theme .elementor .e-con.cc-ahorra-cta > .elementor-widget-button { width: auto; max-width: none; }
/* Tablet */
@media (max-width: 1024px) {
	.cc-ahorra-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.cc-ahorra-channels .elementor-icon-list-items { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 767px) {
	.cc-ahorra-grid--4, .cc-ahorra-grid--3 { grid-template-columns: 1fr; }
	.cc-theme .elementor .e-con.cc-ahorra-ctas > .elementor-widget, .cc-ahorra-ctas .elementor-button { width: 100%; }
	.cc-theme .elementor .cc-ahorra-demo > .cc-ahorra-demo__tag { right: 10px; top: -14px; }
	.cc-ahorra-indent { padding-left: 0; }
	.cc-theme .elementor .e-con.cc-ahorra-cta > .elementor-widget-button, .cc-ahorra-cta .elementor-button { width: 100%; }
}

/* ---------- Sobre Cartuchea page #2467 (tools/build-sobre-page.php) — live design ---------- */
.cc-sobre-intro .elementor-heading-title, .cc-sobre-copy .elementor-heading-title { margin: 0; }
.cc-sobre-text p:last-child { margin-bottom: 0; }

/* ---------- Aviso legal page #1629 (tools/build-aviso-legal-page.php) — live design ---------- */
.cc-legal-band .elementor-heading-title { margin: 0; }
.cc-legal-crumbs p { margin: 6px 0 0; }
.cc-legal-crumbs a { color: inherit; text-decoration: none; }
.cc-legal-crumbs a:hover { color: #fff; }
.cc-legal-crumbs strong { color: #fff; font-weight: 600; }
.cc-legal-crumbs__sep { margin: 0 8px; opacity: .6; }
.cc-theme .elementor .e-con.cc-legal-body { max-width: 1222px; margin-inline: auto; padding-left: 0; padding-right: 0; }
.cc-legal-acc .elementor-accordion-item { border: 0 !important; }
.cc-legal-acc .elementor-tab-title { border-radius: 5px 5px 0 0; margin: 0; font-size: 16px; line-height: 16px; } /* titles are h2: don't take the theme h2 size */
.cc-legal-acc .elementor-accordion-icon { width: 12px; font-size: 12px; line-height: 16px; }
.cc-legal-acc .elementor-accordion-icon svg { width: 12px; height: 12px; vertical-align: -1px; }
.cc-legal-crumbs p { margin-top: 10px; }
.cc-legal-acc .elementor-tab-content { border-top: 1px solid #f0f0f0 !important; }
.cc-legal-acc .elementor-tab-content p { margin: 0 0 20px; }
.cc-legal-acc .elementor-tab-content > :last-child { margin-bottom: 0; }
.cc-legal-acc .elementor-tab-content ul { margin: 0 0 20px; padding-left: 20px; }
.cc-legal-side .elementor-widget-sidebar .cc-widget { margin-bottom: 30px; }
