/* ==========================================================================
   70-pages.css - zona pages
   1. Stilurile de baza ale shim-ului Divi (inc/70-divi-shim.php): tipografie, sectiuni,
      randuri, coloane, gutter-e si module, ca Divi 4.27 + setarile din customizer-ul
      ermara.business (content_width 1080px, fontul Santral-Light din CSS-ul custom, butoane
      Poppins 20px, chenar 2px, colturi 3px). Totul e sub .er-dv (wrapper-ul shim-ului).
      Stilurile per instanta (.er-dv-text-0 ...) le genereaza shim-ul inline.
      Se incarca pe toate paginile: shim-ul e folosit si de layout-urile Theme Builder.
   2. page.php / 404.php.
   3. Mobil (sub 981px): coloane una sub alta, fara scroll orizontal, text lizibil.
   ========================================================================== */

/* --- 1. Wrapper + reset (resetul / tipografia Divi; :where() = specificitate ca in Divi, ca
   stilurile pluginurilor din continut, ex. Contact Form 7, sa castige la fel ca pe live) ---- */
.er-dv {
	position: relative;
	z-index: 1;
	font-family: var(--er-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7em;
	color: #666;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: left;
}
:where(.er-dv) :where(a, abbr, acronym, address, b, big, blockquote, center, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, tt, u, ul, var) {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
.er-dv *, .er-dv *::before, .er-dv *::after { box-sizing: border-box; }
:where(.er-dv) :where(ol, ul) { list-style: none; }
:where(.er-dv) a { color: #2ea3f2; text-decoration: none; }
:where(.er-dv) a:hover { text-decoration: none; }
:where(.er-dv) p { padding-bottom: 1em; }
.er-dv p:not(.has-background):last-of-type { padding-bottom: 0; }
:where(.er-dv) :where(strong, b) { font-weight: 700; }
:where(.er-dv) :where(em, i) { font-style: italic; }
:where(.er-dv) :where(h1, h2, h3, h4, h5, h6) {
	color: #333;
	padding-bottom: 10px;
	line-height: 1em;
	font-weight: 500;
	font-family: var(--er-font);
}
.er-dv :is(h1, h2, h3, h4, h5, h6) a { color: inherit; }
:where(.er-dv) h1 { font-size: 30px; }
:where(.er-dv) h2 { font-size: 26px; }
:where(.er-dv) h3 { font-size: 22px; }
:where(.er-dv) h4 { font-size: 18px; }
:where(.er-dv) h5 { font-size: 16px; }
:where(.er-dv) h6 { font-size: 14px; }
:where(.er-dv) img { max-width: 100%; height: auto; }
:where(.er-dv) blockquote { margin: 20px 0 30px; border-left: 5px solid; padding-left: 20px; }
.er-dv blockquote p { padding-bottom: 0; }
.er-dv ul { list-style-type: disc; padding: 0 0 23px 1em; line-height: 26px; }
.er-dv ol { list-style-type: decimal; list-style-position: inside; padding: 0 0 23px; line-height: 26px; }
.er-dv ul li ol { padding: 2px 0 2px 20px; }
.er-dv ol li ol { padding: 2px 0 2px 35px; }
.er-dv table:not(.variations) { border: 1px solid #eee; margin: 0 0 15px; text-align: left; width: 100%; }
.er-dv thead th, .er-dv tr th { color: #555; font-weight: 700; padding: 9px 24px; }
.er-dv tr td { border-top: 1px solid #eee; padding: 6px 24px; }
.er-dv .clearfix::after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.er-dv .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* --- Structure ------------------------------------------------------------ */
.er-dv-section {
	position: relative;
	background-color: #fff;
	background-position: 50%;
	background-size: cover;
}
.er-dv-section--transparent { background-color: transparent; }
.er-dv-section--fullwidth { padding: 0 !important; }
.er-dv-inner-shadow { box-shadow: inset 0 0 7px rgba(0, 0, 0, .07); }
.er-dv-row, .er-dv-row-inner {
	position: relative;
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
}
.er-dv-row { width: 80%; max-width: 1080px; margin: auto; }
.er-dv-row-inner { width: 100%; }
.er-dv-row::after, .er-dv-row-inner::after { content: ""; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; width: 0; }
.er-dv-row--empty { display: none; }
.er-dv-has-divider > .er-dv-row { z-index: 5; }
.er-dv-col {
	float: left;
	position: relative;
	z-index: 2;
	min-height: 1px;
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
}
.er-dv-row > .er-dv-col:last-child, .er-dv-row-inner > .er-dv-col:last-child { margin-right: 0 !important; }
.er-dv-module { position: relative; }
.er-dv-with-border { border: 0 solid #333; }
.er-dv-module.er-dv-align-left { text-align: left; }
.er-dv-module.er-dv-align-center { text-align: center; }
.er-dv-module.er-dv-align-right { text-align: right; }
.er-dv-module.er-dv-align-justified { text-align: justify; }
.er-dv-dark, .er-dv-dark :where(h1, h2, h3, h4, h5, h6) { color: #fff !important; }

/* Section dividers (Divi .et_pb_{top,bottom}_inside_divider) */
.er-dv-divider {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background-repeat: repeat-x;
}

@media (min-width: 981px) {
	.er-dv-section { padding: 4% 0; }
	.er-dv-row { padding: 2% 0; }
	.er-dv-col-1_2 > .er-dv-row-inner, .er-dv-col-3_5 > .er-dv-row-inner { padding: 5.82% 0; }
	.er-dv-col-3_4 > .er-dv-row-inner { padding: 3.735% 0; }
	.er-dv-col-2_3 > .er-dv-row-inner { padding: 4.2415% 0; }
	.er-dv-section--specialty > .er-dv-row { padding: 0; }
	.er-dv-row--equal { display: flex; }
	.er-dv-row > .er-dv-col > .er-dv-module:last-child,
	.er-dv-row-inner > .er-dv-col > .er-dv-module:last-child { margin-bottom: 0; }

	/* Gutters (Divi et_pb_gutters1..4) */
	.er-dv-g1 > .er-dv-col { margin-right: 0; }
	.er-dv-g1 > .er-dv-col-4_4 { width: 100%; }
	.er-dv-g1 > .er-dv-col-3_4 { width: 75%; }
	.er-dv-g1 > .er-dv-col-2_3 { width: 66.667%; }
	.er-dv-g1 > .er-dv-col-3_5 { width: 60%; }
	.er-dv-g1 > .er-dv-col-1_2 { width: 50%; }
	.er-dv-g1 > .er-dv-col-2_5 { width: 40%; }
	.er-dv-g1 > .er-dv-col-1_3 { width: 33.3333%; }
	.er-dv-g1 > .er-dv-col-1_4 { width: 25%; }
	.er-dv-g1 > .er-dv-col-1_5 { width: 20%; }
	.er-dv-g1 > .er-dv-col-1_6 { width: 16.6667%; }
	.er-dv-g1 > .er-dv-col > .er-dv-module { margin-bottom: 0; }

	.er-dv-g2 > .er-dv-col { margin-right: 3%; }
	.er-dv-g2 > .er-dv-col-4_4 { width: 100%; }
	.er-dv-g2 > .er-dv-col-3_4 { width: 74.25%; }
	.er-dv-g2 > .er-dv-col-2_3 { width: 65.667%; }
	.er-dv-g2 > .er-dv-col-3_5 { width: 58.8%; }
	.er-dv-g2 > .er-dv-col-1_2 { width: 48.5%; }
	.er-dv-g2 > .er-dv-col-2_5 { width: 38.2%; }
	.er-dv-g2 > .er-dv-col-1_3 { width: 31.3333%; }
	.er-dv-g2 > .er-dv-col-1_4 { width: 22.75%; }
	.er-dv-g2 > .er-dv-col-1_5 { width: 17.6%; }
	.er-dv-g2 > .er-dv-col-1_6 { width: 14.1667%; }
	.er-dv-g2 > .er-dv-col-4_4 > .er-dv-module { margin-bottom: 1.5%; }
	.er-dv-g2 > .er-dv-col-3_4 > .er-dv-module { margin-bottom: 2.02%; }
	.er-dv-g2 > .er-dv-col-2_3 > .er-dv-module { margin-bottom: 2.284%; }
	.er-dv-g2 > .er-dv-col-3_5 > .er-dv-module { margin-bottom: 2.551%; }
	.er-dv-g2 > .er-dv-col-1_2 > .er-dv-module { margin-bottom: 3.093%; }
	.er-dv-g2 > .er-dv-col-2_5 > .er-dv-module { margin-bottom: 3.927%; }
	.er-dv-g2 > .er-dv-col-1_3 > .er-dv-module { margin-bottom: 4.787%; }
	.er-dv-g2 > .er-dv-col-1_4 > .er-dv-module { margin-bottom: 6.593%; }
	.er-dv-g2 > .er-dv-col-1_5 > .er-dv-module { margin-bottom: 8.523%; }
	.er-dv-g2 > .er-dv-col-1_6 > .er-dv-module { margin-bottom: 10.588%; }

	.er-dv-g3 > .er-dv-col { margin-right: 5.5%; }
	.er-dv-g3 > .er-dv-col-4_4 { width: 100%; }
	.er-dv-g3 > .er-dv-col-3_4 { width: 73.625%; }
	.er-dv-g3 > .er-dv-col-2_3 { width: 64.833%; }
	.er-dv-g3 > .er-dv-col-3_5 { width: 57.8%; }
	.er-dv-g3 > .er-dv-col-1_2 { width: 47.25%; }
	.er-dv-g3 > .er-dv-col-2_5 { width: 36.7%; }
	.er-dv-g3 > .er-dv-col-1_3 { width: 29.6667%; }
	.er-dv-g3 > .er-dv-col-1_4 { width: 20.875%; }
	.er-dv-g3 > .er-dv-col-1_5 { width: 15.6%; }
	.er-dv-g3 > .er-dv-col-1_6 { width: 12.0833%; }
	.er-dv-g3 > .er-dv-col-4_4 > .er-dv-module { margin-bottom: 2.75%; }
	.er-dv-g3 > .er-dv-col-3_4 > .er-dv-module { margin-bottom: 3.735%; }
	.er-dv-g3 > .er-dv-col-2_3 > .er-dv-module { margin-bottom: 4.242%; }
	.er-dv-g3 > .er-dv-col-3_5 > .er-dv-module { margin-bottom: 4.758%; }
	.er-dv-g3 > .er-dv-col-1_2 > .er-dv-module { margin-bottom: 5.82%; }
	.er-dv-g3 > .er-dv-col-2_5 > .er-dv-module { margin-bottom: 7.493%; }
	.er-dv-g3 > .er-dv-col-1_3 > .er-dv-module { margin-bottom: 9.27%; }
	.er-dv-g3 > .er-dv-col-1_4 > .er-dv-module { margin-bottom: 13.174%; }
	.er-dv-g3 > .er-dv-col-1_5 > .er-dv-module { margin-bottom: 17.628%; }
	.er-dv-g3 > .er-dv-col-1_6 > .er-dv-module { margin-bottom: 22.759%; }

	.er-dv-g4 > .er-dv-col { margin-right: 8%; }
	.er-dv-g4 > .er-dv-col-4_4 { width: 100%; }
	.er-dv-g4 > .er-dv-col-3_4 { width: 73%; }
	.er-dv-g4 > .er-dv-col-2_3 { width: 64%; }
	.er-dv-g4 > .er-dv-col-3_5 { width: 56.8%; }
	.er-dv-g4 > .er-dv-col-1_2 { width: 46%; }
	.er-dv-g4 > .er-dv-col-2_5 { width: 35.2%; }
	.er-dv-g4 > .er-dv-col-1_3 { width: 28%; }
	.er-dv-g4 > .er-dv-col-1_4 { width: 19%; }
	.er-dv-g4 > .er-dv-col-1_5 { width: 13.6%; }
	.er-dv-g4 > .er-dv-col-1_6 { width: 10%; }
	.er-dv-g4 > .er-dv-col-4_4 > .er-dv-module { margin-bottom: 4%; }
	.er-dv-g4 > .er-dv-col-3_4 > .er-dv-module { margin-bottom: 5.479%; }
	.er-dv-g4 > .er-dv-col-2_3 > .er-dv-module { margin-bottom: 6.25%; }
	.er-dv-g4 > .er-dv-col-3_5 > .er-dv-module { margin-bottom: 7.042%; }
	.er-dv-g4 > .er-dv-col-1_2 > .er-dv-module { margin-bottom: 8.696%; }
	.er-dv-g4 > .er-dv-col-2_5 > .er-dv-module { margin-bottom: 11.364%; }
	.er-dv-g4 > .er-dv-col-1_3 > .er-dv-module { margin-bottom: 14.286%; }
	.er-dv-g4 > .er-dv-col-1_4 > .er-dv-module { margin-bottom: 21.053%; }
	.er-dv-g4 > .er-dv-col-1_5 > .er-dv-module { margin-bottom: 29.412%; }
	.er-dv-g4 > .er-dv-col-1_6 > .er-dv-module { margin-bottom: 40%; }

	/* last module of a column never has a bottom margin (after the gutter rules) */
	.er-dv-row > .er-dv-col > .er-dv-module:last-child { margin-bottom: 0; }
}
/* Divi: pe ecrane >= 1350px spatierile devin fixe */
@media (min-width: 1350px) {
	.er-dv-section { padding: 54px 0; }
	.er-dv-row { padding: 27px 0; }
	.er-dv-section--specialty > .er-dv-row { padding: 0; }
}

/* --- Text / code / heading ------------------------------------------------ */
.er-dv-text { word-wrap: break-word; }
.er-dv-text ol, .er-dv-text ul { padding-bottom: 1em; }
.er-dv-text-inner, .er-dv-code-inner, .er-dv-heading-container { position: relative; }

/* --- Buttons (Divi .et_pb_button + customizer "all buttons") -------------- */
.er-dv .er-dv-btn {
	position: relative;
	display: inline-block;
	font-family: var(--er-font-pop);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.7em !important;
	padding: .3em 1em;
	color: #2ea3f2;
	background-color: transparent;
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
	border: 2px solid #fff;
	border-radius: 3px;
	text-decoration: none;
	cursor: pointer;
	transition: all .3s;
	-webkit-appearance: none;
	appearance: none;
}
.er-dv .er-dv-btn:hover {
	background-color: rgba(255, 255, 255, .2);
	border-color: transparent;
	text-decoration: none;
}
.er-dv-button-wrap > a { display: inline-block; }
.er-dv-btn-align-left { text-align: left; }
.er-dv-btn-align-right { text-align: right; }
.er-dv-btn-align-center { text-align: center; }

/* --- Call to action (et_pb_promo) ----------------------------------------- */
.er-dv-cta { padding: 40px 60px; text-align: center; }
.er-dv-cta--nobg { padding: 0; }
.er-dv-col-1_2 > .er-dv-cta--bg, .er-dv-col-1_3 > .er-dv-cta--bg, .er-dv-col-1_4 > .er-dv-cta--bg,
.er-dv-col-1_5 > .er-dv-cta--bg, .er-dv-col-1_6 > .er-dv-cta--bg, .er-dv-col-2_5 > .er-dv-cta--bg,
.er-dv-col-3_5 > .er-dv-cta--bg { padding: 40px; }
.er-dv-cta-desc { padding-bottom: 20px; position: relative; }
.er-dv-cta-desc p:last-of-type { padding-bottom: 0; }

/* --- Blurb ---------------------------------------------------------------- */
.er-dv-blurb-content { max-width: 550px; margin: 0 auto; position: relative; text-align: center; word-wrap: break-word; width: 100%; }
.er-dv-blurb.er-dv-align-left .er-dv-blurb-container { text-align: left; }
.er-dv-blurb.er-dv-align-right .er-dv-blurb-container { text-align: right; }
.er-dv-blurb.er-dv-align-center .er-dv-blurb-container { text-align: center; }
.er-dv-blurb.er-dv-align-justified .er-dv-blurb-container { text-align: justify; }
.er-dv-blurb-content p:last-of-type { padding-bottom: 0; }
.er-dv-blurb-title a { text-decoration: none; }
.er-dv-blurb-image { display: inline-block; margin-bottom: 30px; line-height: 0; max-width: 100%; }
.er-dv-blurb .er-dv-image-wrap { display: block; margin: auto; }
.er-dv-blurb-image img { border-radius: inherit; }
.er-dv-blurb--left .er-dv-blurb-content, .er-dv-blurb--right .er-dv-blurb-content { display: table; }
.er-dv-blurb--left .er-dv-blurb-image, .er-dv-blurb--right .er-dv-blurb-image { width: 32px; display: table-cell; line-height: 0; }
.er-dv-blurb--left .er-dv-blurb-image img, .er-dv-blurb--right .er-dv-blurb-image img { width: inherit; }
.er-dv-blurb--left .er-dv-blurb-container, .er-dv-blurb--right .er-dv-blurb-container { display: table-cell; vertical-align: top; }
.er-dv-blurb--left .er-dv-blurb-container { padding-left: 15px; }
.er-dv-blurb--left .er-dv-blurb-content { text-align: left; }
.er-dv-blurb--right .er-dv-blurb-container { padding-right: 15px; }
.er-dv-blurb--right .er-dv-blurb-content { text-align: right; }

/* Icoane: fonturile Divi nu se incarca; shim-ul pune glifa ca SVG (template-parts/page/divi-icons.php)
   intr-un <span class="er-dv-icon-glyph">, dimensionat cu font-size ca fontul original (Divi .et-pb-icon). */
.er-dv-icon-glyph { display: inline-block; vertical-align: top; font-size: 96px; line-height: 1; height: 1em; color: #2ea3f2; }
.er-dv-icon-glyph svg { display: block; height: 1em; width: auto; fill: currentColor; }
.er-dv-blurb .er-dv-icon-glyph { font-size: 96px; }
.er-dv-blurb--left .er-dv-icon-glyph, .er-dv-blurb--right .er-dv-icon-glyph { font-size: 32px; }
.er-dv-icon { text-align: center; }
.er-dv-icon-wrap { display: inline-block; line-height: 0; }

/* --- Image ---------------------------------------------------------------- */
.er-dv-image { display: block; margin-left: auto; margin-right: auto; line-height: 0; }
.er-dv-image .er-dv-image-wrap { display: inline-block; position: relative; max-width: 100%; }
.er-dv-image .er-dv-image-wrap img[src*=".svg"] { width: auto; }
.er-dv-image img { position: relative; }

/* --- Number counter ------------------------------------------------------- */
.er-dv-number-counter { word-wrap: break-word; margin: 0 auto 30px; position: relative; text-align: center; }
.er-dv-counter-percent { height: 72px; position: relative; z-index: 2; }
.er-dv .er-dv-counter-number { font-size: 72px; line-height: 72px; font-weight: 500; padding-bottom: 0; }
.er-dv-counter--with-title .er-dv-counter-percent { margin-bottom: 20px; }
.er-dv .er-dv-counter-title { font-size: 18px; position: relative; }

/* --- Gallery (grid) ------------------------------------------------------- */
.er-dv-gallery--grid .er-dv-gallery-items { display: flex; flex-wrap: wrap; gap: 0 5.5%; }
.er-dv-gallery--grid .er-dv-gallery-item { width: 20.875%; margin-bottom: 5.5%; }
.er-dv-gallery-item img { display: block; width: 100%; height: auto; }
.er-dv-gallery--slider .er-dv-gallery-items { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.er-dv-gallery--slider .er-dv-gallery-item { flex: 0 0 100%; scroll-snap-align: start; }

/* --- Divider module ------------------------------------------------------- */
.er-dv-divider-module, .er-dv .er-dv-divider:not(.er-dv-divider--top):not(.er-dv-divider--bottom) { position: relative; margin: 0 0 30px; }

/* --- Contact form (Divi contact_form.css / fields.css) -------------------- */
.er-dv-contact-form-wrap { position: relative; }
.er-dv .er-dv-contact-title { font-weight: 500; padding-bottom: 16px; position: relative; word-wrap: break-word; }
.er-dv h1.er-dv-contact-title { font-size: 26px; }
.er-dv-col-1_3 .er-dv-contact-title, .er-dv-col-1_4 .er-dv-contact-title, .er-dv-col-1_5 .er-dv-contact-title,
.er-dv-col-1_6 .er-dv-contact-title, .er-dv-col-2_5 .er-dv-contact-title { font-size: 22px; }
.er-dv-contact-form { position: relative; }
.er-dv-contact-form-el { margin-left: -3%; }
.er-dv-contact-form-el::after { content: ""; display: block; clear: both; }
.er-dv p.er-dv-contact-field { padding: 0 0 0 3%; margin-bottom: 3%; position: relative; }
.er-dv .er-dv-contact-field--half { width: 50%; float: left; }
.er-dv p.er-dv-contact-field.er-dv-contact-field--last + p.er-dv-contact-field.er-dv-contact-field--last,
.er-dv p.er-dv-contact-field:not(.er-dv-contact-field--last),
.er-dv p.er-dv-contact-field--half + p.er-dv-contact-field--last:not(.er-dv-contact-field--half) { clear: both; }
.er-dv .er-dv-contact-input {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	margin: 0;
	border: 0 solid #333;
	border-radius: 0;
	background-color: #eee;
	color: #999;
	padding: 16px;
	font-size: 14px;
	font-family: inherit;
	line-height: normal;
}
.er-dv input.er-dv-contact-input { display: inline-block; }
.er-dv .er-dv-contact-input::placeholder { color: inherit; opacity: 1; }
.er-dv textarea.er-dv-contact-input { min-height: 150px; display: block; resize: vertical; }
.er-dv .er-dv-contact-submit-wrap { float: right; text-align: right; margin-top: -1.5%; display: flex; }
.er-dv .er-dv-contact-captcha { display: inline-block; min-width: 105px; margin: 0; text-align: right; }
.er-dv .er-dv-contact-captcha p { padding: 0 0 0 3%; display: flex; align-items: center; justify-content: flex-end; gap: 4px; white-space: nowrap; }
.er-dv .er-dv-contact-input.er-dv-captcha { display: inline-block; max-width: 50px; padding: 16px; text-align: center; }
.er-dv .er-dv-btn.er-dv-contact-submit { font-family: inherit; display: inline-block; margin: 0 0 0 18px; cursor: pointer; color: #2ea3f2; }
.er-dv .er-dv-btn.er-dv-contact-submit:hover { background-color: rgba(0, 0, 0, .05); }
.er-dv .er-dv-contact-message { position: relative; padding-bottom: 20px; }
.er-dv .er-dv-contact-message--error { color: #c62828; }
.er-dv .er-dv-contact-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Search (Divi search.css) / menu / breadcrumbs ---------------------- */
.er-dv-search { border: 1px solid #ddd; border-radius: 3px; overflow: hidden; }
.er-dv-searchform { position: relative; }
.er-dv-searchform > div { display: flex; }
.er-dv .er-dv-search-input, .er-dv .er-dv-search-submit { padding: .715em; margin: 0; font-size: 14px; line-height: normal; border: none; color: #666; font-family: inherit; border-radius: 0; }
.er-dv .er-dv-search-input { -webkit-appearance: none; appearance: none; background: transparent; display: inline-block; padding-right: 80px; flex: 1; min-width: 0; }
.er-dv .er-dv-search-input::placeholder { color: #666; opacity: 1; }
.er-dv .er-dv-search-submit { min-height: 100% !important; background-color: #ddd; cursor: pointer; -webkit-appearance: none; appearance: none; }
.er-dv-search.er-dv-align-center .er-dv-search-input { text-align: center; }
.er-dv-search.er-dv-align-right .er-dv-searchform > div { flex-direction: row-reverse; }
.er-dv-menu-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.er-dv-menu-nav > ul > li > a { display: block; padding: 0 11px; color: rgba(0, 0, 0, .6); }
.er-dv-menu-nav ul ul { display: none; }
.er-dv-breadcrumbs-sep { padding: 0 6px; }

/* --- Responsive (below Divi desktop breakpoint: clean, usable) ------------ */
@media (max-width: 980px) {
	.er-dv-section { padding: 50px 0; }
	.er-dv-row, .er-dv-col > .er-dv-row-inner { padding: 30px 0; }
	.er-dv-col { width: 100%; margin-bottom: 30px; float: none; }
	.er-dv-row > .er-dv-col:last-child, .er-dv-row-inner > .er-dv-col:last-child { margin-bottom: 0; }
	.er-dv-col--empty { display: none; }
	.er-dv-row > .er-dv-col > .er-dv-module { margin-bottom: 30px; }
	.er-dv-row > .er-dv-col > .er-dv-module:last-child { margin-bottom: 0; }
	.er-dv-module.er-dv-align-left-tablet { text-align: left; }
	.er-dv-module.er-dv-align-center-tablet { text-align: center; }
	.er-dv-module.er-dv-align-right-tablet { text-align: right; }
	.er-dv-btn-align-left-tablet { text-align: left; }
	.er-dv-btn-align-center-tablet { text-align: center; }
	.er-dv-btn-align-right-tablet { text-align: right; }
	.er-dv-blurb--top-tablet .er-dv-blurb-content { display: block; text-align: center; }
	.er-dv-blurb--top-tablet .er-dv-blurb-image, .er-dv-blurb--top-tablet .er-dv-blurb-container { display: block; width: auto; padding: 0; }
	.er-dv-gallery--grid .er-dv-gallery-item { width: 47.25%; }
	.er-dv .er-dv-contact-field--half { width: 100%; }
}
@media (max-width: 767px) {
	.er-dv-cta { padding: 40px; }
	.er-dv-cta--nobg { padding: 0; }
	.er-dv-module.er-dv-align-left-phone { text-align: left; }
	.er-dv-module.er-dv-align-center-phone { text-align: center; }
	.er-dv-module.er-dv-align-right-phone { text-align: right; }
	.er-dv-btn-align-left-phone { text-align: left; }
	.er-dv-btn-align-center-phone { text-align: center; }
	.er-dv-btn-align-right-phone { text-align: right; }
	.er-dv table:not(.variations) { display: block; overflow-x: auto; }
	.er-dv-row { width: 90%; }
	/* Titlul din banda de sus a paginilor (text Divi .jewelry_headertext, litere rarite 12px): pe telefon
	   "Contacteaza-ne" iesea din chenarul alb. Spatiere mai mica, ca la Cos / Finalizare comanda. */
	.er-dv .jewelry_headertext,
	.er-dv .jewelry_headertext .er-dv-text-inner { letter-spacing: 5px !important; font-size: 20px !important; }
	/* tinte de atingere: linkurile din blurb-uri (contact), cautarea de pe pagina 404 */
	.er-dv .er-dv-blurb-title a { display: inline-block; padding: 11px 0; margin: -11px 0; }
	.er-dv .er-dv-blurb-image a { display: inline-block; padding: 11px; margin: -11px; }
	.er-dv .er-dv-search-input,
	.er-dv .er-dv-search-submit { min-height: 44px; }
}

/* --- Reguli din CSS-ul custom Divi (Theme Options) pentru continutul paginilor ---
   Garantia legala: notificarea armonizata UE (modulul imagine cu clasa garantie-legala-doc). */
.er-dv .garantie-legala-doc img { max-width: min(860px, 100%); width: 100%; height: auto; display: block; margin: 0 auto;
	border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .25); }
.er-dv .garantie-legala-doc .er-dv-image-wrap { display: block; }

/* --- 2. page.php / 404.php ------------------------------------------------ */
.er-page, .er-404 { display: block; background-color: #fff; }
.er-page .entry-content { margin: 0; padding: 0; }
/* Pagini fara builder (ex. paginile FunnelKit / MailPoet lets-keep-in-touch, manage-profile): aspectul
   paginii implicite Divi (container 1080px, titlu 30px, text 14px), fara bara laterala cu categorii. */
.er-page-default {
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 58px 0 50px;
	font-family: var(--er-font);
	font-size: 14px;
	line-height: 1.7em;
	color: #666;
}
.er-page-default .er-page-title { color: #333; font-size: 30px; font-weight: 500; line-height: 1em; padding-bottom: 10px; margin: 0 0 20px; }
.er-page-default .entry-content { max-width: 795px; }
.er-page-default .entry-content p { margin: 0; padding-bottom: 1em; }
.er-page-default .entry-content a { color: #2ea3f2; }
.er-page-default .entry-content ul { list-style: disc; padding: 0 0 23px 1em; }
.er-page-default .entry-content ol { list-style: decimal inside; padding: 0 0 23px; }
.er-page-default .entry-content :is(h2, h3, h4, .bwf-h2) { color: #333; font-weight: 500; line-height: 1.2; padding: 10px 0 10px; }
/* Formularele FunnelKit (preferinte email / profil) si campurile simple din continut */
.er-page-default .entry-content :is(input[type=text], input[type=email], input[type=number], input[type=tel], select, textarea) {
	width: 100%;
	max-width: 480px;
	padding: 12px 14px;
	border: 1px solid #d9d9d9;
	border-radius: 3px;
	background: #fff;
	color: #333;
	font: inherit;
	font-size: 15px;
}
.er-page-default .entry-content :is(input, select, textarea):focus { border-color: var(--er-gold); outline: 2px solid rgba(0, 0, 0, .15); outline-offset: 0; }
.er-page-default .entry-content :is(.bwfan-profile-single-tag, .bwfan-profile-single-list, .bwfan-profile-field, .bwfan-wrapper) { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 6px 0; }
.er-page-default .entry-content :is(.bwfan-profile-field) { flex-direction: column; align-items: flex-start; }
.er-page-default .entry-content input[type=checkbox], .er-page-default .entry-content input[type=radio] { width: 18px; height: 18px; accent-color: var(--er-gold); margin: 0; }
.er-page-default .entry-content :is(.button, button:not(.er-fav), input[type=submit], #bwfan_unsubscribe) {
	display: inline-block;
	margin-top: 12px;
	padding: 12px 40px;
	border: 0;
	border-radius: 0;
	background: var(--er-gold);
	color: #fff !important;
	font-family: var(--er-font-pop);
	font-size: 15px;
	line-height: 1.7;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s;
}
.er-page-default .entry-content :is(.button, button:not(.er-fav), input[type=submit], #bwfan_unsubscribe):hover { background: #fff; color: #000 !important; box-shadow: inset 0 0 0 1px #000; }
.er-404-fallback { text-align: center; padding: 120px 20px; }
.er-404-fallback h1 { font-family: var(--er-font-pop); font-size: 30px; font-weight: 600; letter-spacing: 6px; color: #222; margin: 0 0 30px; }

/* --- 3. Mobil ---------------------------------------------------------------- */
@media (max-width: 980px) {
	.er-page-default { width: auto; margin: 0 var(--er-gutter-mobile); padding: 30px 0 40px; }
	.er-page-default .er-page-title { font-size: 26px; line-height: 1.2; }
	.er-dv-text, .er-dv-blurb-desc, .er-dv-blurb-title { overflow-wrap: anywhere; }
	.er-dv .er-dv-image img { height: auto; }
	.er-dv .er-dv-btn { max-width: 100%; white-space: normal; }
}
@media (max-width: 767px) {
	/* campuri de 16px: telefonul nu mai mareste pagina cand intri in camp */
	.er-dv .er-dv-contact-input, .er-dv .er-dv-search-input, .er-page-default .entry-content :is(input, select, textarea) { font-size: 16px; }
	.er-dv .er-dv-contact-submit-wrap { float: none; justify-content: center; }
	.er-dv .er-dv-btn.er-dv-contact-submit { margin-left: 3%; }
	.er-dv .er-dv-contact-submit-wrap .er-dv-btn { min-height: 48px; }
	/* Contact Form 7 (formularul de retragere): butonul cu text lung incape pe ecran */
	.er-dv .wpcf7 input[type=submit] { max-width: 100%; white-space: normal; }
	.er-dv .wpcf7 input[type=submit].ermara-retragere-btn { letter-spacing: .5px !important; font-size: 14px !important; padding: 14px 12px !important; }
	.er-dv .wpcf7 :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]), select, textarea) { font-size: 16px !important; }
}

/* Formularul de retragere (stilurile sunt in continutul paginii "Politica de retur"; auriul devine negru din
   ermara_no_gold(), inc/75-pages.php). Titlul de pe banda neagra era auriu: acum alb, ca sa ramana lizibil.
   Butonul: negru, la hover alb cu text si contur negru, ca restul site-ului (2026-11-05). */
.ermara-retragere-header h3,
.ermara-retragere-header h3 * { color: #fff !important; }
.wpcf7 input[type=submit].ermara-retragere-btn,
.wpcf7 .ermara-retragere-btn { background: #000 !important; color: #fff !important; border: 1px solid #000 !important; transition: background-color .3s, color .3s; }
.wpcf7 input[type=submit].ermara-retragere-btn:hover,
.wpcf7 .ermara-retragere-btn:hover { background: #fff !important; color: #000 !important; }

/* Pagina Favorite (inc/45-favorites.php): grila de produse pe latimea magazinului, nu pe latimea textului. */
.er-page-default:has(.er-favpage) { width: 90%; max-width: 1552px; }
.er-page-default .entry-content:has(.er-favpage) { max-width: none; }
.er-page-default .entry-content .er-favpage ul.products { margin: 0; padding: 0; list-style: none; }
.er-page-default .entry-content .er-favpage a { color: inherit; }
.er-page-default .entry-content .er-favpage .er-favpage__btn { color: #fff; }
.er-page-default .entry-content .er-favpage .er-favpage__btn:hover { color: #000; }
