/*
Theme Name: Gioia Child
Theme URI: https://gioia.qodeinteractive.com
Description: A child theme of Gioia Theme
Author: Elated Themes
Author URI: http://themeforest.net/user/elated-themes
Version: 1.0.1
Text Domain: gioia
Template: gioia
*/
/* Native Gioia controls layout; these rules preserve uncropped catalogue photography. */
.eltdf-pl-holder .eltdf-pli-inner, .eltdf-pl-holder .eltdf-pli-image { display:block; width:100%; }
.eltdf-pl-holder .eltdf-pli-image img,
ul.products .eltdf-pl-image img,
.eltdf-pl-holder .eltdf-pli-inner > a img {
    width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #FFFCF5;
}
.woocommerce-product-gallery__image img {
    width: 100% !important; height: auto !important; aspect-ratio: 2 / 3;
    object-fit: contain !important; background: #FFFCF5;
}
.woocommerce-product-gallery__image:not(:first-child) img,
.woocommerce-product-gallery .flex-control-thumbs img {
    aspect-ratio: 1; object-fit: contain !important; height: auto !important;
}
.eltdf-pl-holder .eltdf-pli-text-wrapper { min-height: 86px; }
:root { --dnc-ink:#294655; --dnc-muted:#506977; --dnc-link:#365E73; --dnc-sky:#EAF4FA; --dnc-sun:#FFF2C9; --dnc-cream:#FFFCF5; --dnc-accent:#BBD7E8; --dnc-line:#D7E5EA; }

a { color:var(--dnc-link); }
a:hover, a:focus { color:var(--dnc-ink); }
:focus-visible { outline:2px solid var(--dnc-link); outline-offset:4px; }
.eltdf-top-bar p, .eltdf-top-bar a { color:var(--dnc-ink) !important; }
.eltdf-pl-holder .eltdf-pli .eltdf-pli-text,
ul.products .eltdf-pl-inner .eltdf-pl-text { background:transparent !important; }
.eltdf-btn.eltdf-btn-solid, .dnc-quote-link, button.dnc-button {
 background:var(--dnc-accent) !important; color:var(--dnc-ink) !important; border-color:var(--dnc-ink) !important;
}
.eltdf-btn.eltdf-btn-solid:hover, .dnc-quote-link:hover, button.dnc-button:hover {
 background:var(--dnc-sun) !important; color:var(--dnc-ink) !important;
}
.dnc-quote-link { font-size:14px !important; width:auto !important; height:auto !important; min-height:44px; line-height:1.5 !important; padding:10px 16px; float:none !important; display:inline-flex !important; align-items:center; justify-content:center; }
.eltdf-pl-holder .eltdf-pli:focus-within .eltdf-pli-text { opacity:1; }
.eltdf-pl-holder .eltdf-pli-inner:focus-within .eltdf-pli-action { transform:translateX(0); }
.eltdf-pcli img { width:100%; aspect-ratio:2/3; height:auto; object-fit:contain; background:var(--dnc-cream); }
.eltdf-product-overview .eltdf-po-text { background:transparent; color:var(--dnc-ink); }
.eltdf-product-overview .eltdf-po-text-inner { background:rgba(255,252,245,.92); }
.eltdf-product-overview .eltdf-poi-title { color:var(--dnc-ink) !important; }
.eltdf-page-footer p, .eltdf-page-footer h6, .eltdf-page-footer a,
.eltdf-page-footer .widget.widget_text p, .eltdf-page-footer .widget.widget_text h6 { color:var(--dnc-ink); }
.dnc-product-inquiry, .dnc-quote-form { background:var(--dnc-sky); }
.dnc-quote-form input, .dnc-quote-form select, .dnc-quote-form textarea, .dnc-product-inquiry select {
 color:var(--dnc-ink); background:var(--dnc-cream); border:1px solid var(--dnc-muted);
}
.dnc-quote-form ::placeholder { color:var(--dnc-muted); opacity:1; }
.woocommerce-tabs .tabs li a { color:var(--dnc-link) !important; }
.woocommerce-tabs .tabs li.active a { color:var(--dnc-ink) !important; }
#eltdf-back-to-top > span { background:var(--dnc-sun); color:var(--dnc-ink); border-color:var(--dnc-ink); }
.pswp__bg { background:var(--dnc-cream) !important; }
.pswp__top-bar, .pswp__caption { background:var(--dnc-sky) !important; }
.pswp__counter, .pswp__caption__center { color:var(--dnc-ink) !important; }
.pswp__button { filter:invert(1); }
sr7-module .elated-styles.sr7-arrows { background:var(--dnc-sky) !important; color:var(--dnc-ink) !important; }
sr7-module .elated-styles.sr7-arrows:hover { background:var(--dnc-sun) !important; }
sr7-module .elated-dark-bullets .sr7-bullet { border-color:var(--dnc-ink); }
sr7-module .elated-dark-bullets .sr7-bullet.selected { background:var(--dnc-ink); }
/* Keep the native slider pagination on a single line. */
sr7-module .elated-dark-bullets.sr7-bullets { white-space:nowrap; }
sr7-module .elated-dark-bullets .sr7-bullet { border-color:var(--dnc-ink) !important; }
sr7-module .elated-dark-bullets .sr7-bullet.selected { background-color:var(--dnc-ink) !important; }
/* Native title position is retained. Desktop landscape photos leave room for it. */
@media(min-width:1025px) {
 sr7-module[data-alias="home-3"] sr7-txt:not(:has(a)) { background-color:transparent !important; text-shadow:0 1px 3px #FFFCF5; }
}
/* Use the existing theme language dropdown with the approved light palette. */
.widget_icl_lang_sel_widget .wpml-ls-sub-menu { background:var(--dnc-cream) !important; border-bottom-color:var(--dnc-accent) !important; }
.widget_icl_lang_sel_widget .wpml-ls-legacy-dropdown:focus-within .wpml-ls-sub-menu { opacity:1; visibility:visible; }
.widget_icl_lang_sel_widget a[aria-disabled="true"] { cursor:help; }
/* Keep the collection anchor clear of the existing sticky/mobile header. */
#bo-suu-tap { scroll-margin-top:128px; }
/* Inset the color-select chevron without changing its native options or keyboard behavior. */
.dnc-product-inquiry select {
    -webkit-appearance:none;
    appearance:none;
    box-sizing:border-box;
    padding-right:44px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23294655' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 16px center;
    background-size:12px 8px;
}
@media (forced-colors:active) {
    .dnc-product-inquiry select { -webkit-appearance:auto; appearance:auto; background-image:none; }
}
