/*
Theme Name:   AquaPure
Theme URI:    https://quiknexa.com/
Description:  Divi 5 child theme for water treatment dealers. Design lives in Divi Global Colors, Design Variables, presets and Theme Builder; this file holds only CSS that Divi cannot express natively, each block citing its Native Option Map row.
Author:       QuikNexa
Template:     Divi
Version:      0.1.0
Requires at least: 7.1
Requires PHP: 8.3
Tested up to: 7.1
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  aquapure
Domain Path:  /languages
*/

/*
 * Only what Divi 5.19.1 cannot set natively. Each block names its register item (R-…) and the fields checked.
 * Colours come from Divi Global Colors (--gcid-…), sizes from Design Variables. Preset classes are Divi's own.
 */
:root {
   --ap-ease: cubic-bezier(.22, .61, .36, 1)
}

/* R-10 Button arrow nudges 3px on hover. Button module: icon is ::after, no transform field (Design › Button › Icon). */
.et_pb_button::after {
   transition: transform .25s var(--ap-ease)
}

.et_pb_button:hover::after {
   transform: translateX(3px)
}

/* R-11 Divi theme CSS gives every h1–h6 padding-bottom:10px; Heading module has no field for the tag's padding. */
.et_pb_heading :is(h1, h2, h3, h4, h5, h6) {
   padding-bottom: 0
}

/* R-12 Kicker rule before the text. Text module: no pseudo-element field. Preset Text / Kicker. */
.preset--module--divi-text--6sk664b4dt p {
   display: flex;
   align-items: center;
   gap: 12px
}

.preset--module--divi-text--6sk664b4dt p::before {
   content: "";
   flex: none;
   width: 22px;
   height: 1.5px;
   background: currentColor
}

/* R-13 Hovering a card zooms the image inside it. Image module hover only reacts to its own hover. */
/* Shared: card image zoom on hover (design .im img, .card img). */
:is(.preset--module--divi-group--2dxnz07k44, .el-tr-c, .el-mo-i, .el-in-c, .el-ic, .el-bp, .el-feat):hover .preset--module--divi-image--lic04ymyb2,
#page-container .el-cards li.product:hover .et_shop_image img,
.el-blog .et_pb_post:hover .entry-featured-image-url img {
   transform: scale(1.045)
}

/* R-14 FAQ toggle: 40px round button, plus → minus, Ink when open. Accordion icon group has colour and size only. */
.et_pb_accordion .et_pb_toggle_title {
   padding-right: 64px
}

.et_pb_accordion .et_pb_toggle .et_pb_toggle_title::before {
   content: "";
   box-sizing: border-box;
   width: 40px;
   height: 40px;
   margin-top: -20px;
   border: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
   border-radius: 50%;
   color: var(--gcid-68132854d9, #0E1A1F);
   background-color: var(--gcid-dce76903a6, #FFFFFF);
   background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
   background-repeat: no-repeat;
   background-position: center;
   background-size: 14px 2px, 2px 14px;
   transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ap-ease), background-size .35s var(--ap-ease)
}

.et_pb_accordion .et_pb_toggle_close .et_pb_toggle_title:hover::before {
   border-color: var(--gcid-68132854d9, #0E1A1F);
   background-color: var(--gcid-44818934e9, #EEF3F4)
}

.et_pb_accordion .et_pb_accordion_item.et_pb_toggle.et_pb_toggle_open>.et_pb_toggle_title::before {
   display: block;
   border-color: var(--gcid-68132854d9, #0E1A1F);
   background-color: var(--gcid-68132854d9, #0E1A1F);
   color: var(--gcid-dce76903a6, #FFFFFF);
   background-size: 14px 2px, 2px 0;
   transform: rotate(180deg)
}

.et_pb_accordion {
   border-bottom: 1px solid var(--gcid-6adf4739b0, #DCE3E6)
}

.et_pb_accordion .et_pb_toggle_content p {
   max-width: 58ch
}

/* R-15 Tabs: no fields for the controls bar, tab height/padding, active underline or panel padding. */
.et_pb_tabs .et_pb_tabs_controls {
   display: flex;
   gap: 4px;
   overflow-x: auto;
   background: none;
   border-bottom: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
   scrollbar-width: none
}

.et_pb_tabs .et_pb_tabs_controls li {
   position: relative;
   float: none;
   border: 0
}

.et_pb_tabs .et_pb_tabs_controls li a {
   display: flex;
   align-items: center;
   min-height: 56px;
   padding: 0 20px;
   white-space: nowrap
}

.et_pb_tabs .et_pb_tabs_controls li::after {
   content: "";
   position: absolute;
   left: 12px;
   right: 12px;
   bottom: 0;
   height: 2px;
   background: var(--gcid-68132854d9, #0E1A1F);
   transform: scaleX(0);
   transition: transform .35s var(--ap-ease)
}

.et_pb_tabs .et_pb_tabs_controls li.et_pb_tab_active::after {
   transform: scaleX(1)
}

.et_pb_tabs .et_pb_all_tabs .et_pb_tab {
   padding: 32px 0
}

/* R-16 Countdown unit boxes. Countdown Timer has fonts per part but no box per unit. Preset Countdown / Boxes. */
.preset--module--divi-countdown-timer--74krupjzfa .et_pb_countdown_timer_container {
   gap: 12px
}

.preset--module--divi-countdown-timer--74krupjzfa .section.values {
   gap: 8px;
   min-width: 84px;
   padding: 16px 0 12px;
   border: 1px solid rgba(255, 255, 255, .14);
   border-radius: 6px;
   background: rgba(255, 255, 255, .08)
}

.preset--module--divi-countdown-timer--74krupjzfa .section.sep {
   display: none
}

.preset--module--divi-countdown-timer--74krupjzfa .section.values .label {
   display: none
}

.preset--module--divi-countdown-timer--74krupjzfa .section.values::after {
   font-size: 12px;
   line-height: 1;
   font-weight: 600;
   letter-spacing: .08em;
   text-transform: uppercase;
   opacity: .75
}

.preset--module--divi-countdown-timer--74krupjzfa .values.days::after {
   content: "days"
}

.preset--module--divi-countdown-timer--74krupjzfa .values.hours::after {
   content: "hours"
}

.preset--module--divi-countdown-timer--74krupjzfa .values.minutes::after {
   content: "min"
}

.preset--module--divi-countdown-timer--74krupjzfa .values.seconds::after {
   content: "sec"
}

/* R-17 Contact Form 7: Divi prints field/button hover on the whole module, so hover/focus live here. */
.et_pb_contact_form_7 :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select) {
   transition: border-color .2s, box-shadow .2s
}

.et_pb_contact_form_7 :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select):hover {
   border-color: var(--gcid-2ccbcdbe0a, #46535B)
}

.et_pb_contact_form_7 :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select):focus {
   border-color: var(--gcid-68132854d9, #0E1A1F);
   outline: 2px solid var(--gcid-68132854d9, #0E1A1F);
   outline-offset: 2px
}

.et_pb_contact_form_7 textarea.wpcf7-textarea {
   height: 132px;
   min-height: 132px;
   padding: 16px 16px;
   line-height: 1.55;
   resize: vertical
}

/* R-19 Offer-bar countdown: inline boxes with short unit labels. Countdown Timer has no per-unit box and its long
   labels cannot be shortened in the settings; the short label is Divi's own translated data-short attribute. */
.el-cd-bar .et_pb_countdown_timer_container {
   align-items: center;
   gap: 4px
}

.el-cd-bar .section.values {
   flex-direction: row;
   align-items: baseline;
   gap: 1px;
   padding: 4px 8px;
   border-radius: 4px;
   background: rgba(255, 255, 255, .12)
}

.el-cd-bar .section.values p {
   line-height: 1
}

.el-cd-bar .section.values .label {
   display: none
}

.el-cd-bar .section.values::after {
   font: 600 12px/1 "IBM Plex Mono", monospace;
   color: #FFFFFF;
   opacity: .7
}

.el-cd-bar .section.sep {
   display: none
}

.el-cd-bar .values.days::after {
   content: "d"
}

.el-cd-bar .values.hours::after {
   content: "h"
}

.el-cd-bar .values.minutes::after {
   content: "m"
}

.el-cd-bar .values.seconds::after {
   content: "s"
}

/* R-21 Mega-menu tile: number, title and line inside one real link. Link module has one font group only. */
.el-mg-item .et_pb_link_text {
   display: grid;
   flex: 1 1 auto;
   grid-template-columns: 30px minmax(0, 1fr);
   gap: 4px 12px
}

.el-mg-item .el-mg-n {
   grid-row: span 2;
   font: 600 12px/22px "IBM Plex Mono", monospace;
   transition: color .2s
}

/* Divi prints ".et_pb_link_N .et_pb_link_text *{color:inherit}" per link, so the title needs one more class to stay Ink. */
.el-mega .el-mg-item .et_pb_link_text strong {
   grid-column: 2;
   font-size: 15.5px;
   font-weight: 600;
   line-height: 1.6;
   color: var(--gcid-68132854d9, #0E1A1F)
}

.el-mg-item small {
   grid-column: 2
}

.el-mg-np .et_pb_link_text {
   grid-template-columns: minmax(0, 1fr)
}

.el-mega .el-mg-np .et_pb_link_text :is(strong, small) {
   grid-column: 1
}

.el-mega .el-mg-item .et_pb_link_text em {
   font-style: normal;
   font-weight: 600;
   color: var(--gcid-68132854d9, #0E1A1F);
   font-variant-numeric: tabular-nums
}

.el-mg-item:hover .el-mg-n {
   color: var(--gcid-3d46655f50, #8A4214)
}

/* R-22 Menu item pill ("8", "4.9 ★", "2 open") pushed to the right inside the item's single link. */
.el-dd-item .et_pb_link_inner {
   flex: 1
}

.el-dd-item .et_pb_link_text {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px
}

/* Design .pill text: Copper mixed with 16% black (#743711). */
.el-pill,
.el-dd-item .et_pb_link_text .el-pill {
   font-size: 12px;
   font-weight: 700;
   line-height: 1.4;
   color: #743711;
   background: var(--gcid-26b6c06d0d, #F6E9E0);
   border-radius: 999px;
   padding: 4px 8px
}

/* R-23 Phone menu: small values on the right of drawer links; clear the WordPress admin bar for logged-in users. */
.el-dd-item small {
   font-size: 13px;
   font-variant-numeric: tabular-nums
}

/* Divi sets .et_pb_dropdown{min/max-width:max-content}; no min-width field */
.el-pm-body,
.el-cd-body {
   flex: 1 1 auto
}

.el-pm-body>*,
.el-cd-body>* {
   flex-shrink: 0
}

.el-pm-group>.el-pm-sub {
   flex: 0 0 100%;
   min-width: 0;
   max-width: none
}

.admin-bar :is(.el-pm, .el-cd) {
   top: 32px;
   height: calc(100vh - 32px)
}

@media (max-width:782px) {
   .admin-bar :is(.el-pm, .el-cd) {
      top: 46px;
      height: calc(100vh - 46px)
   }
}

/* R-24 Cart drawer: filled/empty state set by script.js (R-04); the mini-cart list from woocommerce/cart/mini-cart.php
   and the live count and subtotal spans are template/fragment markup with no Divi options. */
.el-cd:not(.el-cd--has) .el-cd-filled,
.el-cd--has .el-cd-empty {
   display: none
}

.el-cd-count {
   color: var(--gcid-2ccbcdbe0a, #46535B);
   font-weight: 500
}

.el-cd-tot p {
   display: flex;
   justify-content: space-between;
   align-items: baseline
}

.el-cd-sub {
   font-size: 24px;
   font-weight: 700;
   letter-spacing: -.02em;
   color: var(--gcid-68132854d9, #0E1A1F);
   font-variant-numeric: tabular-nums
}

/* Mini-cart rows (design .ship, .bar, .ci, .qty, .rm). Selectors start at .el-mc ul.el-mc-list because WooCommerce's
   widget rules for ul.cart_list (clearfix, 4px row padding, floated 32px image, bold link) are more specific than a
   single class. The stepper and Remove keep the design's size and get a 44px tap area from an invisible ::before. */
.el-mc-ship {
   padding: 16px 0 8px
}

.el-mc-ship p {
   margin: 0 0 12px;
   padding: 0;
   font-size: 14px;
   color: var(--gcid-f6c8f2cae3, #26343B)
}

.el-mc-ship b {
   color: var(--gcid-28669f4abe, #1F4D3B)
}

/* Shared: thin progress track (cart free-delivery bar, water-facts hardness bar). */
.el-mc-bar,
.el-dist-b {
   height: 6px;
   border-radius: 3px;
   background: var(--gcid-44818934e9, #EEF3F4);
   overflow: hidden
}

/* The free-delivery bar is a native <progress> (no inline width): track Mist, value Good. */
.el-mc-bar {
   display: block;
   width: 100%;
   border: 0;
   -webkit-appearance: none;
   appearance: none;
   color: var(--gcid-28669f4abe, #1F4D3B)
}

.el-mc-bar::-webkit-progress-bar {
   background: var(--gcid-44818934e9, #EEF3F4);
   border-radius: 3px
}

.el-mc-bar::-webkit-progress-value {
   background: var(--gcid-28669f4abe, #1F4D3B);
   border-radius: 3px;
   transition: width .6s var(--ap-ease)
}

.el-mc-bar::-moz-progress-bar {
   background: var(--gcid-28669f4abe, #1F4D3B);
   border-radius: 3px
}

/* Divi gives header-layout lists line-height 26px; the design inherits 1.6. */
.el-mc,
.el-mc ul.el-mc-list {
   line-height: 1.6
}

.el-mc ul.el-mc-list {
   margin: 0;
   padding: 0;
   list-style: none
}

.el-mc ul.el-mc-list li.el-mc-item {
   display: grid;
   grid-template-columns: 76px minmax(0, 1fr) auto;
   gap: 16px;
   align-items: start;
   padding: 16px 0;
   border-bottom: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
   transition: opacity .2s
}

.el-mc ul.el-mc-list li.el-mc-item::before,
.el-mc ul.el-mc-list li.el-mc-item::after {
   display: none
}

.el-mc ul.el-mc-list li.el-mc-item img {
   float: none;
   width: 76px;
   height: 76px;
   margin: 0;
   border-radius: 6px;
   object-fit: cover;
   background: var(--gcid-44818934e9, #EEF3F4)
}

.el-mc-info h3,
.et-db #et-boc .et-l .el-mc-info h3 {
   margin: 0;
   padding: 0;
   font-size: 15.5px;
   font-weight: 600;
   line-height: 1.3
}

.el-mc ul.el-mc-list li.el-mc-item h3 a {
   display: inline;
   font-weight: inherit;
   color: var(--gcid-68132854d9, #0E1A1F)
}

.el-mc ul.el-mc-list li.el-mc-item h3 a:hover {
   color: var(--gcid-3d46655f50, #8A4214)
}

.el-mc-info small {
   display: block;
   margin-top: 4px;
   font-size: 13px;
   color: var(--gcid-2ccbcdbe0a, #46535B)
}

.el-mc-qty {
   display: inline-flex;
   align-items: center;
   height: 38px;
   margin-top: 12px;
   border: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
   border-radius: 999px
}

.el-mc-qty button {
   position: relative;
   width: 36px;
   height: 36px;
   padding: 0;
   border: 0;
   border-radius: 50%;
   background: none;
   font: 600 18px/1 "Hanken Grotesk", sans-serif;
   color: var(--gcid-68132854d9, #0E1A1F);
   cursor: pointer;
   transition: background-color .2s
}

.el-mc-qty button::before,
.el-mc-rm::before {
   content: "";
   position: absolute;
   inset: -4px
}

.el-mc-qty button:hover {
   background: var(--gcid-44818934e9, #EEF3F4)
}

.el-mc-qty button:disabled {
   opacity: .35;
   background: none;
   cursor: default
}

.el-mc-qty>span {
   min-width: 28px;
   text-align: center;
   font-weight: 600;
   font-variant-numeric: tabular-nums
}

.el-mc-end {
   display: flex;
   flex-direction: column;
   align-items: flex-end
}

.el-mc-line {
   font-weight: 600;
   color: var(--gcid-68132854d9, #0E1A1F);
   font-variant-numeric: tabular-nums
}

.el-mc-rm {
   position: relative;
   margin-top: 8px;
   padding: 0;
   border: 0;
   background: none;
   font: 500 13px "Hanken Grotesk", sans-serif;
   color: var(--gcid-2ccbcdbe0a, #46535B);
   text-decoration: underline;
   cursor: pointer
}

.el-mc-rm::before {
   inset: -14px -8px
}

.el-mc-rm:hover {
   color: var(--gcid-3d46655f50, #8A4214)
}

/* Shared keyboard focus rings: Ink on light controls, Copper on picker and day tabs. */
.el-mc :is(button, a):focus-visible,
.el-cd-sug .woocommerce ul.products li.product a.woocommerce-loop-product__link:focus-visible,
#page-container .el-seg .el-seg-b:focus-visible {
   outline: 2px solid var(--gcid-68132854d9, #0E1A1F);
   outline-offset: 2px
}

.el-pick button:focus-visible,
.el-dtab:focus-visible {
   outline: 2px solid var(--gcid-3d46655f50, #8A4214);
   outline-offset: 2px
}

.el-mc-item.is-busy {
   opacity: .55;
   pointer-events: none
}

/* Design .icb b: count badge on the header cart button (added by script.js R-04). */

.el-hd-cnt {
   position: absolute;
   top: -4px;
   right: -4px;
   display: grid;
   place-items: center;
   min-width: 20px;
   height: 20px;
   padding: 0 4px;
   border-radius: 999px;
   background: var(--gcid-3d46655f50, #8A4214);
   color: #FFFFFF;
   font-size: 12px;
   line-height: 1
}

.el-hd-cnt[hidden] {
   display: none
}

.el-hd-cnt.el-bump {
   animation: el-bump .4s var(--ap-ease)
}

@keyframes el-bump {
   0% {
      transform: scale(.4)
   }

   70% {
      transform: scale(1.15)
   }

   100% {
      transform: scale(1)
   }
}

/* Empty-cart suggestions: Woo Products module (Featured, 3, 1 column; fonts set in the module). Woo's loop item
   layout (image | name | price row, card border) has no Divi option. Divi gives loop images margin-bottom 9px
   !important, so the image box is fixed at 56px instead of overriding it. */
.el-cd-sug .woocommerce ul.products {
   display: grid;
   gap: 12px;
   margin: 0
}

.el-cd-sug .woocommerce ul.products li.product {
   float: none;
   margin: 0;
   text-align: left
}

.el-cd-sug .woocommerce ul.products li.product a.woocommerce-loop-product__link {
   display: grid;
   grid-template-columns: 56px minmax(0, 1fr) auto;
   gap: 12px;
   align-items: center;
   padding: 8px;
   border: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
   border-radius: 8px;
   transition: border-color .2s
}

.el-cd-sug .woocommerce ul.products li.product a.woocommerce-loop-product__link:hover {
   border-color: var(--gcid-68132854d9, #0E1A1F)
}

.el-cd-sug .woocommerce ul.products li.product .et_shop_image {
   height: 56px;
   line-height: 0
}

.el-cd-sug .woocommerce ul.products li.product .et_shop_image img {
   width: 56px;
   height: 56px;
   border-radius: 5px;
   object-fit: cover
}

.el-cd-sug .woocommerce ul.products li.product .et_overlay {
   display: none
}

.el-cd-sug .woocommerce ul.products li.product .woocommerce-loop-product__title,
.el-cd-sug .woocommerce ul.products li.product .price {
   padding: 0
}

.el-mc-err {
   grid-column: 1/-1;
   margin: 0;
   padding: 0;
   font-size: 13px;
   color: #8F1D14
}

/* Shared components (one source; used by forms, wizards, cart, checkout and account): field rows, two-column
   rows, design buttons (.btn, .btn.cu, .btn.line, wide button with arrow) and the round option marker. The
   ".woocommerce :is(a,button)" lines beat Divi's WooCommerce button border, colour and hover arrow. */
.el-fl {
   display: grid;
   gap: 8px
}

.el-g2 {
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
   gap: 16px
}

.el-rd {
   display: grid;
   place-items: center;
   width: 20px;
   height: 20px;
   border: 1.5px solid #9FAEB4;
   border-radius: 50%;
   transition: border-color .2s
}

.el-rd::after {
   content: "";
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: var(--gcid-68132854d9, #0E1A1F);
   transform: scale(0);
   transition: transform .25s cubic-bezier(.22, .61, .36, 1)
}

:root {
   --el-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4'/%3E%3C/svg%3E")
}

.el-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 12px;
   min-height: 56px;
   padding: 0 28px;
   border: 0;
   border-radius: 999px;
   font: 600 16px/1 "Hanken Grotesk", sans-serif;
   text-decoration: none;
   white-space: nowrap;
   cursor: pointer;
   transition: background-color .25s cubic-bezier(.22, .61, .36, 1), color .25s cubic-bezier(.22, .61, .36, 1), box-shadow .25s
}

body .woocommerce :is(a, button).el-btn,
body .woocommerce :is(a, button).el-btn:hover {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   line-height: 1;
   border: 0;
   border-radius: 999px;
   letter-spacing: normal
}

.el-btn--cu,
body .woocommerce :is(a, button).el-btn--cu {
   background: var(--gcid-3d46655f50, #8A4214);
   color: #FFFFFF
}

.el-btn--cu:hover,
body .woocommerce :is(a, button).el-btn--cu:hover {
   background: var(--gcid-1ad9465ebc, #6F3410);
   color: #FFFFFF
}

.el-btn--line,
body .woocommerce :is(a, button).el-btn--line {
   background: transparent;
   box-shadow: inset 0 0 0 1px var(--gcid-68132854d9, #0E1A1F);
   color: var(--gcid-68132854d9, #0E1A1F)
}

.el-btn--line:hover,
body .woocommerce :is(a, button).el-btn--line:hover {
   background: var(--gcid-68132854d9, #0E1A1F);
   color: #FFFFFF
}

body .woocommerce :is(a, button).el-btn:not(.el-btn--wide)::after {
   display: none
}

.el-btn--wide {
   width: 100%;
   min-height: 58px
}

.el-btn--wide::after {
   content: "";
   width: 16px;
   height: 16px;
   background: currentColor;
   -webkit-mask: var(--el-arrow) center/contain no-repeat;
   mask: var(--el-arrow) center/contain no-repeat;
   transition: transform .25s cubic-bezier(.22, .61, .36, 1)
}

.el-btn--wide:hover::after {
   transform: translateX(3px)
}

.el-btn:focus-visible,
.el-lnk-b:focus-visible,
.el-copt:focus-within {
   outline: 2px solid var(--gcid-3d46655f50, #8A4214);
   outline-offset: 3px
}

.el-btn.loading,
.el-btn[aria-busy="true"] {
   opacity: .6;
   pointer-events: none
}