/*
Theme Name: Hello Elementor Child
Theme URI: https://welldesignstudio.com/
Description: Child theme of Hello Elementor, by Well Design Studio
Author: Well Design Studio
Author URI: https://welldesignstudio.com/
Template: hello-elementor
Version: 1.0.4
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Global Defaults */

.no-margin {
  margin: 0;
}

.no-wrap {
  white-space: nowrap;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: antialiased;
}

body {
  overflow-x: hidden;
}

body ul,
body ol {
  margin-top: 0;
}

ul li:last-child {
  margin-bottom: 20px;
}

p a {
  text-decoration: underline !important;
}

/* Elementor Widget Customization */

.elementor-widget-text-editor a,
.elementor-widget-text-editor a:hover,
.elementor-widget-container p a,
.elementor-widget-container p a:hover {
  color: inherit;
}

.elementor-widget-divider .elementor-divider,
.elementor-widget-divider,
.elementor-widget-spacer {
  margin-bottom: 0 !important;
  overflow: hidden;
}

.elementor-widget-icon {
  line-height: 1em;
}

.elementor-widget p:last-child {
  margin: 0;
}

.elementor-widget-wrap > aside.elementor-section {
  width: auto;
}

.elementor-widget-nav-menu li.menu-item > a.elementor-item > span.hidden {
  display: none;
}

.elementor a,
.elementor a:hover {
  color: unset;
}

/* Elementor Button Hover */

.elementor-button {
  transition: transform 0.4s ease !important;
}
.elementor-button:hover {
  transform: translateY(-10px);
}

/* Video Banners */

.elementor-background-video-container iframe {
  opacity: 1;
  animation: fadeInOpacity 2s ease-in 1;
}

@keyframes fadeInOpacity {
  0%, 80% { opacity: 0; }
  100%     { opacity: 1; }
}

/* WordPress Menu Widget */

a.elementor-item a.elementor-sub-item:last-child {
  margin: 0;
}

/* Header Scroll Transition */

.site-header {
  transition: background-color 0.3s ease;
}

/* Logo Grids (Partner + Retailer) */

.elementor-widget:has(.logo-grid) { width:100%; }
.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.logo-item {
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-anim .logo-item img {
    opacity: 0;
    transform: translateY(20px);
}

.js-anim .logo-item.is-visible img {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js-anim .logo-item img {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1024px) {
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* CookieYes Customization */

.cky-btn.cky-btn-customize,
.cky-btn.cky-btn-reject,
.cky-btn.cky-btn-accept,
.cky-btn.cky-btn-preferences {
  padding: 8px 12px;
}

.cky-title {
	margin: 0 0 6px 0 !important;
}

.cky-consent-container .cky-consent-bar {
    padding: 24px 24px 16px 24px !important;
}

.square {
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
}