/**
 * GenWave Elements - Widget Styles
 *
 * @package GenWave_Elements
 * @since 1.0.0
 */

/* ==========================================================================
   Common Styles
   ========================================================================== */

.gw-widget-wrapper {
    position: relative;
}

/* ==========================================================================
   Entrance Animations (for dynamically generated pages)
   ========================================================================== */

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated.faster {
    animation-duration: 0.5s;
}

.animated.fast {
    animation-duration: 0.8s;
}

.animated.slow {
    animation-duration: 2s;
}

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fadeIn {
    animation-name: fadeIn;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

/* Fade In Left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

/* Fade In Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInRight {
    animation-name: fadeInRight;
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

.zoomIn {
    animation-name: zoomIn;
}

/* Zoom In Up */
@keyframes zoomInUp {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    60% {
        opacity: 1;
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    }
}

.zoomInUp {
    animation-name: zoomInUp;
}

/* Zoom In Down */
@keyframes zoomInDown {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    60% {
        opacity: 1;
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    }
}

.zoomInDown {
    animation-name: zoomInDown;
}

/* Bounce In */
@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.bounceIn {
    animation-duration: 0.75s;
    animation-name: bounceIn;
}

/* Slide In Up */
@keyframes slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInUp {
    animation-name: slideInUp;
}

/* Slide In Down */
@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInDown {
    animation-name: slideInDown;
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInLeft {
    animation-name: slideInLeft;
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInRight {
    animation-name: slideInRight;
}

/* ==========================================================================
   Animated Heading Widget
   ========================================================================== */

.gw-animated-heading {
    display: block;
    margin: 0;
    padding: 0;
    /* Reasonable default typography - can be overridden by Elementor settings */
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

/* Prevent excessively large fonts from templates */
.gw-animated-heading h1,
.gw-animated-heading h2,
.gw-animated-heading h3 {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

.gw-animated-heading a {
    color: inherit;
    text-decoration: none;
}

.gw-heading-before,
.gw-heading-after {
    display: inline;
}

.gw-heading-before {
    margin-right: 0.3em;
}

.gw-heading-after {
    margin-left: 0.3em;
}

.gw-heading-animated {
    display: inline;
}

/* Gradient Style - colors controlled by Elementor settings */
.gw-style-gradient .gw-heading-animated {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Background gradient set via inline styles from Elementor */
}

/* Highlight Style - colors controlled by Elementor settings */
.gw-style-highlight .gw-heading-animated {
    padding: 0 0.2em;
    border-radius: 4px;
    /* Background color set via inline styles from Elementor */
}

/* Clip Style - colors controlled by Elementor settings */
.gw-style-clip .gw-heading-animated {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gw-gradient-shift 3s ease infinite;
    background-size: 200% 200%;
    /* Background gradient set via inline styles from Elementor */
}

@keyframes gw-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typing Effect */
.gw-style-typing .gw-typing-text {
    display: inline;
}

.gw-typing-cursor {
    display: inline-block;
    font-weight: 400;
    animation: gw-blink 0.7s infinite;
}

@keyframes gw-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==========================================================================
   Creative Button Widget
   ========================================================================== */

.gw-button-wrapper {
    display: block;
}

.gw-creative-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    outline: none;
}

.gw-creative-button:focus {
    outline: none;
}

.gw-button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.gw-button-text {
    display: inline-block;
}

.gw-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Button Sizes */
.gw-size-xs {
    font-size: 12px;
    padding: 8px 16px;
}

.gw-size-sm {
    font-size: 13px;
    padding: 10px 20px;
}

.gw-size-md {
    font-size: 15px;
    padding: 14px 28px;
}

.gw-size-lg {
    font-size: 17px;
    padding: 16px 36px;
}

.gw-size-xl {
    font-size: 20px;
    padding: 20px 48px;
}

/* Full Width */
.gw-full-width {
    display: flex;
    width: 100%;
}

/* Button Styles */

/* Solid - colors controlled by Elementor settings */
.gw-style-solid {
    /* Background and text color set via inline styles from Elementor */
}

.gw-style-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Gradient - colors controlled by Elementor settings */
.gw-style-gradient {
    border: none;
    /* Background gradient set via inline styles from Elementor */
}

.gw-style-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Outline - colors controlled by Elementor settings */
.gw-style-outline {
    background: transparent;
    /* Border and text color set via inline styles from Elementor */
}

.gw-style-outline:hover {
    /* Hover colors set via inline styles from Elementor */
}

/* Slide Fill - colors controlled by Elementor settings */
.gw-style-slide {
    background: transparent;
    /* Border and text color set via inline styles from Elementor */
}

.gw-style-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    /* Background color inherited from border-color */
    background-color: currentColor;
    transition: width 0.3s ease;
    z-index: 0;
}

.gw-style-slide:hover::before {
    width: 100%;
}

.gw-style-slide:hover {
    /* Hover text color set via inline styles from Elementor */
}

/* Shine Effect - colors controlled by Elementor settings */
.gw-style-shine {
    /* Background and text color set via inline styles from Elementor */
}

.gw-style-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.gw-style-shine:hover::before {
    left: 100%;
}

/* Ripple Effect - colors controlled by Elementor settings */
.gw-style-ripple {
    /* Background and text color set via inline styles from Elementor */
}

.gw-style-ripple .gw-ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: gw-ripple-effect 0.6s linear;
}

@keyframes gw-ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Glow Effect - colors controlled by Elementor settings */
.gw-style-glow {
    /* Background gradient set via inline styles from Elementor */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gw-style-glow:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* 3D Effect - colors controlled by Elementor settings */
.gw-style-3d {
    /* Background and text color set via inline styles from Elementor */
    /* Box shadow calculated from background */
    transform: translateY(-3px);
}

.gw-style-3d:hover {
    transform: translateY(-1px);
}

.gw-style-3d:active {
    transform: translateY(1px);
}

/* Icon Hover Effects */
.gw-creative-button:hover .gw-button-icon-right {
    transform: translateX(4px);
}

.gw-creative-button:hover .gw-button-icon-left {
    transform: translateX(-4px);
}

/* ==========================================================================
   Icon Box Widget (placeholder styles)
   ========================================================================== */

.gw-icon-box {
    text-align: center;
    padding: 30px;
}

.gw-icon-box-icon {
    font-size: 48px;
    margin-bottom: 20px;
    /* Color controlled by Elementor settings */
}

.gw-icon-box-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gw-icon-box-description {
    /* Color inherited from Elementor settings */
    line-height: 1.6;
    opacity: 0.85;
}

/* ==========================================================================
   Pricing Table Widget (placeholder styles)
   ========================================================================== */

.gw-pricing-table {
    /* Background controlled by Elementor settings */
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gw-pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.gw-pricing-table.featured {
    /* Background gradient and color set via inline styles from Elementor */
}

.gw-pricing-header {
    margin-bottom: 30px;
}

.gw-pricing-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gw-pricing-price {
    font-size: 48px;
    font-weight: 700;
}

.gw-pricing-price .currency {
    font-size: 24px;
    vertical-align: super;
}

.gw-pricing-price .period {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.7;
}

.gw-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.gw-pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gw-pricing-table.featured .gw-pricing-features li {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Testimonial Widget - Professional Design
   ========================================================================== */

.gw-testimonial {
    padding: 40px 35px;
    text-align: center;
    position: relative;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default layout - subtle card */
.gw-testimonial.gw-layout-default {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gw-testimonial.gw-layout-default:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Content styling */
.gw-testimonial-content {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding-top: 40px;
    /* Color inherited from Elementor settings */
}

/* Large decorative quote icon */
.gw-testimonial-content::before {
    content: '\201C';
    font-size: 80px;
    font-family: Georgia, "Times New Roman", serif;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
    line-height: 1;
    color: currentColor;
    font-weight: bold;
}

/* Avatar styling */
.gw-testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.gw-testimonial:hover .gw-testimonial-avatar {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Author info */
.gw-testimonial-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.gw-testimonial-title {
    font-size: 14px;
    opacity: 0.6;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 500;
    /* Color inherited from Elementor settings */
}

/* Rating stars */
.gw-testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 3px;
}

.gw-testimonial-rating i {
    margin: 0 1px;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

/* Author wrapper */
.gw-testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========== Bubble Layout ========== */
.gw-testimonial.gw-layout-bubble {
    padding: 0;
    background: transparent;
    border: none;
}

.gw-testimonial.gw-layout-bubble .gw-testimonial-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px 30px 40px;
    border-radius: 20px;
    position: relative;
    margin-bottom: 35px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gw-testimonial.gw-layout-bubble .gw-testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid rgba(255, 255, 255, 0.05);
}

.gw-testimonial.gw-layout-bubble .gw-testimonial-content::before {
    top: 10px;
    left: 30px;
    transform: none;
    font-size: 50px;
    opacity: 0.1;
}

.gw-testimonial.gw-layout-bubble .gw-testimonial-author {
    border-top: none;
    padding-top: 0;
}

/* ========== Boxed Layout ========== */
.gw-testimonial.gw-layout-boxed {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gw-testimonial.gw-layout-boxed:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ========== Horizontal Layout Variation ========== */
.gw-testimonial.gw-layout-horizontal {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 30px;
    padding: 40px;
}

.gw-testimonial.gw-layout-horizontal .gw-testimonial-avatar {
    flex-shrink: 0;
    margin: 0;
    width: 100px;
    height: 100px;
}

.gw-testimonial.gw-layout-horizontal .gw-testimonial-content {
    padding-top: 0;
    margin-bottom: 20px;
}

.gw-testimonial.gw-layout-horizontal .gw-testimonial-content::before {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: block;
    margin-bottom: 15px;
    font-size: 50px;
}

.gw-testimonial.gw-layout-horizontal .gw-testimonial-author {
    align-items: flex-start;
    border-top: none;
    padding-top: 0;
}

/* ========== Card Layout (premium look) ========== */
.gw-testimonial.gw-layout-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    padding: 45px 35px;
}

.gw-testimonial.gw-layout-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* ========== Dark Theme Optimizations ========== */
.elementor-widget-gw-testimonial[data-theme="dark"] .gw-testimonial,
body.elementor-page .gw-testimonial {
    color: #ffffff;
}

body.elementor-page .gw-testimonial .gw-testimonial-content {
    color: rgba(255, 255, 255, 0.85);
}

body.elementor-page .gw-testimonial .gw-testimonial-name {
    color: #ffffff;
}

body.elementor-page .gw-testimonial .gw-testimonial-title {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Light Theme Support ========== */
.gw-testimonial.gw-theme-light,
body.elementor-page[data-theme="light"] .gw-testimonial {
    color: #1a1a1a;
}

.gw-testimonial.gw-theme-light .gw-testimonial-content::before,
body.elementor-page[data-theme="light"] .gw-testimonial .gw-testimonial-content::before {
    color: #333;
}

.gw-testimonial.gw-theme-light.gw-layout-default,
.gw-testimonial.gw-theme-light.gw-layout-boxed {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

.gw-testimonial.gw-theme-light .gw-testimonial-avatar {
    border-color: rgba(0, 0, 0, 0.1);
}

.gw-testimonial.gw-theme-light .gw-testimonial-author {
    border-top-color: rgba(0, 0, 0, 0.08);
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 767px) {
    .gw-testimonial {
        padding: 30px 25px;
    }

    .gw-testimonial-content {
        font-size: 16px;
        padding-top: 30px;
    }

    .gw-testimonial-content::before {
        font-size: 60px;
        top: -10px;
    }

    .gw-testimonial-avatar {
        width: 70px;
        height: 70px;
    }

    .gw-testimonial.gw-layout-horizontal {
        flex-direction: column;
        text-align: center;
    }

    .gw-testimonial.gw-layout-horizontal .gw-testimonial-author {
        align-items: center;
    }
}

/* ==========================================================================
   Counter Widget (placeholder styles)
   ========================================================================== */

.gw-counter {
    text-align: center;
}

.gw-counter-icon {
    font-size: 48px;
    /* Color controlled by Elementor settings */
    margin-bottom: 15px;
}

.gw-counter-number {
    font-size: 48px;
    font-weight: 700;
    /* Color inherited from Elementor settings */
    line-height: 1;
    margin-bottom: 10px;
}

.gw-counter-title {
    font-size: 16px;
    opacity: 0.7;
    /* Color inherited from Elementor settings */
}

/* ==========================================================================
   Team Member Widget (placeholder styles)
   ========================================================================== */

.gw-team-member {
    text-align: center;
    padding: 30px;
}

.gw-team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
}

.gw-team-member-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gw-team-member-position {
    font-size: 14px;
    /* Color controlled by Elementor settings */
    margin-bottom: 15px;
}

.gw-team-member-bio {
    font-size: 14px;
    opacity: 0.8;
    /* Color inherited from Elementor settings */
    line-height: 1.6;
    margin-bottom: 20px;
}

.gw-team-member-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.gw-team-member-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: all 0.3s ease;
}

.gw-team-member-social a:hover {
    /* Hover colors controlled by Elementor settings */
    opacity: 0.8;
}

/* ==========================================================================
   CTA Widget (placeholder styles)
   ========================================================================== */

.gw-cta {
    padding: 60px 40px;
    /* Background and color controlled by Elementor settings */
    border-radius: 16px;
    text-align: center;
}

.gw-cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.gw-cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gw-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Icon Box Widget - Additional Styles
   ========================================================================== */

.gw-icon-box {
    padding: 30px;
}

.gw-icon-box.gw-position-left,
.gw-icon-box.gw-position-right {
    display: flex;
    align-items: flex-start;
}

.gw-icon-box.gw-position-right {
    flex-direction: row-reverse;
}

.gw-icon-box.gw-position-top {
    text-align: center;
}

.gw-icon-box-icon.gw-view-stacked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gw-icon-box-icon.gw-view-stacked.gw-shape-circle {
    border-radius: 50%;
}

.gw-icon-box-icon.gw-view-stacked.gw-shape-square {
    border-radius: 8px;
}

.gw-icon-box-icon.gw-view-framed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-width: 3px;
    border-style: solid;
}

.gw-icon-box-icon.gw-view-framed.gw-shape-circle {
    border-radius: 50%;
}

.gw-icon-box-icon.gw-view-framed.gw-shape-square {
    border-radius: 8px;
}

.gw-icon-box-content {
    flex: 1;
}

/* ==========================================================================
   Info Box Widget - Additional Styles
   ========================================================================== */

.gw-info-box {
    padding: 30px;
    transition: all 0.3s ease;
}

.gw-info-box.gw-position-left,
.gw-info-box.gw-position-right {
    display: flex;
    align-items: flex-start;
}

.gw-info-box.gw-position-right {
    flex-direction: row-reverse;
}

.gw-info-box.gw-position-top {
    text-align: center;
}

.gw-info-box-media {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gw-info-box-media.gw-view-stacked.gw-shape-circle {
    border-radius: 50%;
}

.gw-info-box-media.gw-view-stacked.gw-shape-square {
    border-radius: 8px;
}

.gw-info-box-media.gw-view-framed {
    border-width: 3px;
    border-style: solid;
}

.gw-info-box-media.gw-view-framed.gw-shape-circle {
    border-radius: 50%;
}

.gw-info-box-media.gw-view-framed.gw-shape-square {
    border-radius: 8px;
}

.gw-info-box-number {
    font-weight: 700;
    line-height: 1;
}

.gw-info-box-content {
    flex: 1;
}

.gw-info-box-title a {
    color: inherit;
    text-decoration: none;
}

.gw-info-box-read-more {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* ==========================================================================
   Image Box Widget - Additional Styles
   ========================================================================== */

.gw-image-box {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gw-image-box > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gw-image-box-image {
    overflow: hidden;
}

.gw-image-box-image img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.gw-image-box:hover .gw-image-box-image img {
    transform: scale(1.05);
}

.gw-image-box.gw-layout-overlay {
    position: relative;
}

.gw-image-box.gw-layout-overlay .gw-image-box-image {
    position: relative;
}

.gw-image-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gw-image-box.gw-layout-overlay .gw-image-box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gw-image-box.gw-layout-overlay:hover .gw-image-box-content {
    transform: translateY(0);
    opacity: 1;
}

.gw-image-box.gw-layout-card {
    border-radius: 16px;
    /* Background controlled by Elementor settings */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.gw-image-box.gw-layout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   CTA Widget - Additional Styles
   ========================================================================== */

.gw-cta {
    padding: 60px 40px;
    border-radius: 16px;
}

.gw-cta.gw-layout-centered {
    text-align: center;
}

.gw-cta.gw-layout-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.gw-cta.gw-layout-inline .gw-cta-content {
    flex: 1;
}

.gw-cta.gw-layout-inline .gw-cta-description {
    margin-bottom: 0;
}

.gw-cta.gw-layout-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.gw-cta.gw-layout-split .gw-cta-content {
    flex: 1;
}

.gw-cta.gw-layout-split .gw-cta-buttons {
    flex-shrink: 0;
}

.gw-cta.gw-layout-split .gw-cta-description {
    margin-bottom: 0;
}

.gw-cta-title {
    font-weight: 700;
}

.gw-cta-description {
    line-height: 1.6;
}

.gw-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gw-cta-button-secondary {
    border-width: 2px;
    border-style: solid;
}

.gw-cta-button:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   Testimonial Carousel Widget
   ========================================================================== */

.gw-testimonial-carousel {
    position: relative;
    padding: 20px 0;
}

.gw-testimonial-carousel .swiper-slide {
    height: auto;
    display: flex;
}

.gw-testimonial-carousel .gw-testimonial {
    width: 100%;
    height: 100%;
}

/* Carousel navigation */
.gw-testimonial-carousel .swiper-button-prev,
.gw-testimonial-carousel .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.gw-testimonial-carousel .swiper-button-prev:hover,
.gw-testimonial-carousel .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.gw-testimonial-carousel .swiper-button-prev::after,
.gw-testimonial-carousel .swiper-button-next::after {
    font-size: 18px;
    color: #fff;
}

.gw-testimonial-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.gw-testimonial-carousel .swiper-pagination-bullet-active {
    background: #fff;
}

/* ==========================================================================
   Pricing Table Widget - Additional Styles
   ========================================================================== */

.gw-pricing-table {
    position: relative;
    overflow: hidden;
}

.gw-pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    transform: rotate(45deg);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.gw-pricing-table.gw-featured {
    color: #fff;
}

.gw-pricing-table.gw-featured .gw-pricing-features li {
    border-color: rgba(255, 255, 255, 0.1);
}

.gw-pricing-table.gw-featured .gw-pricing-button {
    /* Button colors set via inline styles from Elementor */
}

.gw-pricing-table.gw-featured .gw-pricing-button:hover {
    opacity: 0.9;
}

.gw-price-original {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.6em;
    margin-right: 10px;
}

.gw-pricing-button {
    display: inline-block;
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gw-pricing-button:hover {
    transform: translateY(-2px);
}

.gw-pricing-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gw-pricing-features li.gw-unavailable {
    text-decoration: line-through;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 767px) {
    .gw-cta.gw-layout-inline,
    .gw-cta.gw-layout-split {
        flex-direction: column;
        text-align: center;
    }

    .gw-cta.gw-layout-inline .gw-cta-description,
    .gw-cta.gw-layout-split .gw-cta-description {
        margin-bottom: 20px;
    }

    .gw-icon-box.gw-position-left,
    .gw-icon-box.gw-position-right,
    .gw-info-box.gw-position-left,
    .gw-info-box.gw-position-right {
        flex-direction: column;
        text-align: center;
    }

    .gw-team-member-social {
        justify-content: center;
    }
}

/* ==========================================================================
   Navigation Menu Widget
   ========================================================================== */

.gw-nav-menu-wrapper {
    position: relative;
}

.gw-nav-menu-placeholder {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

/* Desktop Menu */
.gw-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gw-nav-menu.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
}

.gw-nav-menu.vertical {
    flex-direction: column;
}

.gw-nav-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.gw-nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Submenu Icon */
.gw-submenu-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.gw-nav-menu > li:hover > a .gw-submenu-icon,
.gw-nav-menu > li.has-submenu:hover > a .gw-submenu-icon {
    transform: rotate(180deg);
}

.gw-nav-menu.vertical > li:hover > a .gw-submenu-icon {
    transform: rotate(90deg);
}

/* ========== Pointer Styles ========== */

/* Underline Pointer */
.gw-nav-menu.pointer-underline > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.gw-nav-menu.pointer-underline > li > a:hover::before,
.gw-nav-menu.pointer-underline > li.current-menu-item > a::before,
.gw-nav-menu.pointer-underline > li.current-menu-ancestor > a::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Overline Pointer */
.gw-nav-menu.pointer-overline > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.gw-nav-menu.pointer-overline > li > a:hover::before,
.gw-nav-menu.pointer-overline > li.current-menu-item > a::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Double Line Pointer */
.gw-nav-menu.pointer-double-line > li > a::before,
.gw-nav-menu.pointer-double-line > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.gw-nav-menu.pointer-double-line > li > a::before {
    top: 0;
    transform-origin: right;
}

.gw-nav-menu.pointer-double-line > li > a::after {
    bottom: 0;
    transform-origin: left;
}

.gw-nav-menu.pointer-double-line > li > a:hover::before,
.gw-nav-menu.pointer-double-line > li > a:hover::after,
.gw-nav-menu.pointer-double-line > li.current-menu-item > a::before,
.gw-nav-menu.pointer-double-line > li.current-menu-item > a::after {
    transform: scaleX(1);
}

/* Framed Pointer */
.gw-nav-menu.pointer-framed > li > a {
    border: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.gw-nav-menu.pointer-framed > li > a:hover,
.gw-nav-menu.pointer-framed > li.current-menu-item > a {
    border-color: currentColor;
}

/* Background Pointer */
.gw-nav-menu.pointer-background > li > a {
    position: relative;
    z-index: 1;
}

.gw-nav-menu.pointer-background > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.gw-nav-menu.pointer-background > li > a:hover::before,
.gw-nav-menu.pointer-background > li.current-menu-item > a::before {
    opacity: 0.1;
}

/* ========== Animation Variations ========== */

/* Slide Animation */
.gw-nav-menu.animation-slide.pointer-underline > li > a::before,
.gw-nav-menu.animation-slide.pointer-overline > li > a::before {
    transform-origin: left;
    transform: scaleX(0);
}

.gw-nav-menu.animation-slide > li > a:hover::before,
.gw-nav-menu.animation-slide > li.current-menu-item > a::before {
    transform: scaleX(1);
}

/* Grow Animation */
.gw-nav-menu.animation-grow.pointer-underline > li > a::before,
.gw-nav-menu.animation-grow.pointer-overline > li > a::before {
    transform-origin: center;
}

/* Drop In/Out Animation */
.gw-nav-menu.animation-drop-in.pointer-underline > li > a::before {
    transform: translateY(-10px);
    opacity: 0;
}

.gw-nav-menu.animation-drop-in > li > a:hover::before,
.gw-nav-menu.animation-drop-in > li.current-menu-item > a::before {
    transform: translateY(0) scaleX(1);
    opacity: 1;
}

.gw-nav-menu.animation-drop-out.pointer-underline > li > a::before {
    transform: translateY(10px);
    opacity: 0;
}

.gw-nav-menu.animation-drop-out > li > a:hover::before,
.gw-nav-menu.animation-drop-out > li.current-menu-item > a::before {
    transform: translateY(0) scaleX(1);
    opacity: 1;
}

/* ========== Dropdown / Submenu ========== */

.gw-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Dark theme dropdown */
.elementor-widget-gw-nav-menu[data-theme="dark"] .gw-nav-menu .sub-menu,
.gw-nav-dark-dropdown .sub-menu {
    background: rgba(30, 30, 30, 0.98);
}

.gw-nav-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nested Submenu */
.gw-nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

.gw-nav-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.gw-nav-menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.gw-nav-menu .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Vertical Layout Submenu */
.gw-nav-menu.vertical .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    background: transparent;
    padding-left: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
}

.gw-nav-menu.vertical > li:hover > .sub-menu {
    display: block;
}

/* ========== Dropdown Animations ========== */

/* Fade (default) */
.gw-nav-menu.dropdown-animation-fade .sub-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gw-nav-menu.dropdown-animation-fade > li:hover > .sub-menu,
.gw-nav-menu.dropdown-animation-fade .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Slide Up */
.gw-nav-menu.dropdown-animation-slide-up .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gw-nav-menu.dropdown-animation-slide-up > li:hover > .sub-menu,
.gw-nav-menu.dropdown-animation-slide-up .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Slide Down */
.gw-nav-menu.dropdown-animation-slide-down .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.gw-nav-menu.dropdown-animation-slide-down > li:hover > .sub-menu,
.gw-nav-menu.dropdown-animation-slide-down .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Zoom In */
.gw-nav-menu.dropdown-animation-zoom-in .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transform-origin: top center;
    transition: all 0.3s ease;
}

.gw-nav-menu.dropdown-animation-zoom-in > li:hover > .sub-menu,
.gw-nav-menu.dropdown-animation-zoom-in .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Zoom Out */
.gw-nav-menu.dropdown-animation-zoom-out .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transform-origin: top center;
    transition: all 0.3s ease;
}

.gw-nav-menu.dropdown-animation-zoom-out > li:hover > .sub-menu,
.gw-nav-menu.dropdown-animation-zoom-out .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Flip */
.gw-nav-menu.dropdown-animation-flip .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: perspective(600px) rotateX(-15deg);
    transform-origin: top center;
    transition: all 0.4s ease;
}

.gw-nav-menu.dropdown-animation-flip > li:hover > .sub-menu,
.gw-nav-menu.dropdown-animation-flip .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: perspective(600px) rotateX(0);
}

/* Rotate */
.gw-nav-menu.dropdown-animation-rotate .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: rotate(-5deg) scale(0.95);
    transform-origin: top left;
    transition: all 0.3s ease;
}

.gw-nav-menu.dropdown-animation-rotate > li:hover > .sub-menu,
.gw-nav-menu.dropdown-animation-rotate .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: rotate(0) scale(1);
}

/* None */
.gw-nav-menu.dropdown-animation-none .sub-menu {
    transition: none;
}

/* ========== Dropdown Positions ========== */

.gw-nav-menu.dropdown-position-below .sub-menu {
    top: 100%;
    left: 0;
}

.gw-nav-menu.dropdown-position-below-left .sub-menu {
    top: 100%;
    left: 0;
    right: auto;
}

.gw-nav-menu.dropdown-position-below-right .sub-menu {
    top: 100%;
    left: auto;
    right: 0;
}

.gw-nav-menu.dropdown-position-above .sub-menu {
    top: auto;
    bottom: 100%;
    left: 0;
    transform-origin: bottom center;
}

/* ========== Menu Presets ========== */

/* Modern Preset */
.gw-nav-menu.preset-modern > li > a {
    padding: 10px 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gw-nav-menu.preset-modern > li > a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.gw-nav-menu.preset-modern .sub-menu {
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

.gw-nav-menu.preset-modern .sub-menu a {
    border-radius: 8px;
    padding: 10px 16px;
}

.gw-nav-menu.preset-modern .sub-menu li:hover > a {
    background: rgba(102, 126, 234, 0.1);
}

/* Classic Preset */
.gw-nav-menu.preset-classic > li > a {
    padding: 12px 18px;
    font-weight: 400;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.gw-nav-menu.preset-classic > li > a:hover,
.gw-nav-menu.preset-classic > li.current-menu-item > a {
    border-bottom-color: currentColor;
}

.gw-nav-menu.preset-classic .sub-menu {
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 2px solid #667eea;
}

.gw-nav-menu.preset-classic .sub-menu a {
    padding: 12px 20px;
    border-left: 3px solid transparent;
}

.gw-nav-menu.preset-classic .sub-menu li:hover > a {
    border-left-color: #667eea;
    background: #f8f9fa;
}

/* Minimal Preset */
.gw-nav-menu.preset-minimal > li > a {
    padding: 8px 12px;
    font-weight: 400;
    color: #6b7280;
    transition: color 0.2s ease;
}

.gw-nav-menu.preset-minimal > li > a:hover {
    color: #111827;
}

.gw-nav-menu.preset-minimal .sub-menu {
    border-radius: 4px;
    padding: 4px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.gw-nav-menu.preset-minimal .sub-menu a {
    padding: 8px 16px;
    font-size: 0.95em;
}

/* Bold Preset */
.gw-nav-menu.preset-bold > li > a {
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.gw-nav-menu.preset-bold > li > a:hover {
    transform: translateY(-2px);
}

.gw-nav-menu.preset-bold .sub-menu {
    border-radius: 0;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.gw-nav-menu.preset-bold .sub-menu a {
    padding: 15px 24px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.05em;
}

/* Elegant Preset */
.gw-nav-menu.preset-elegant > li > a {
    padding: 10px 20px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.03em;
    transition: all 0.4s ease;
}

.gw-nav-menu.preset-elegant > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.gw-nav-menu.preset-elegant > li > a:hover::after {
    transform: scaleX(1);
}

.gw-nav-menu.preset-elegant .sub-menu {
    border-radius: 2px;
    padding: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.gw-nav-menu.preset-elegant .sub-menu a {
    padding: 10px 16px;
    font-style: italic;
}

/* Glassmorphism Preset */
.gw-nav-menu.preset-glassmorphism > li > a {
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gw-nav-menu.preset-glassmorphism > li > a:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.gw-nav-menu.preset-glassmorphism .sub-menu {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.gw-nav-menu.preset-glassmorphism .sub-menu a {
    padding: 12px 20px;
    border-radius: 8px;
}

.gw-nav-menu.preset-glassmorphism .sub-menu li:hover > a {
    background: rgba(255, 255, 255, 0.5);
}

/* Gradient Preset */
.gw-nav-menu.preset-gradient > li > a {
    padding: 12px 24px;
    font-weight: 600;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    border-radius: 8px;
    transition: all 0.4s ease;
}

.gw-nav-menu.preset-gradient > li > a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.gw-nav-menu.preset-gradient .sub-menu {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.gw-nav-menu.preset-gradient .sub-menu a {
    padding: 12px 20px;
    border-radius: 6px;
}

.gw-nav-menu.preset-gradient .sub-menu li:hover > a {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

/* Pill Preset */
.gw-nav-menu.preset-pill > li > a {
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gw-nav-menu.preset-pill > li > a:hover {
    border-color: currentColor;
}

.gw-nav-menu.preset-pill > li.current-menu-item > a {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.gw-nav-menu.preset-pill .sub-menu {
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.gw-nav-menu.preset-pill .sub-menu a {
    padding: 10px 20px;
    border-radius: 20px;
}

.gw-nav-menu.preset-pill .sub-menu li:hover > a {
    background: rgba(102, 126, 234, 0.1);
}

/* Underline Slide Preset */
.gw-nav-menu.preset-underline-slide > li > a {
    padding: 10px 16px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.gw-nav-menu.preset-underline-slide > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gw-nav-menu.preset-underline-slide > li > a:hover::before,
.gw-nav-menu.preset-underline-slide > li.current-menu-item > a::before {
    transform: translateX(0);
}

.gw-nav-menu.preset-underline-slide .sub-menu {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.gw-nav-menu.preset-underline-slide .sub-menu a {
    padding: 12px 20px;
    position: relative;
}

.gw-nav-menu.preset-underline-slide .sub-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.gw-nav-menu.preset-underline-slide .sub-menu li:hover > a::before {
    transform: scaleY(1);
}

/* ========== Mobile Toggle ========== */

.gw-nav-toggle-wrapper {
    display: none;
}

.gw-nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.gw-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gw-hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Hamburger X Animation */
.gw-nav-toggle.active .hamburger-x .gw-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.gw-nav-toggle.active .hamburger-x .gw-hamburger-line:nth-child(2) {
    opacity: 0;
}

.gw-nav-toggle.active .hamburger-x .gw-hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.gw-toggle-text {
    font-weight: 500;
}

/* ========== Mobile Menu ========== */

.gw-nav-mobile-menu {
    display: none;
    /* Background controlled by Elementor settings, fallback to white */
    background: var(--gw-mobile-menu-bg, #fff);
}

.gw-nav-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gw-nav-mobile-menu li {
    border-bottom: 1px solid #e5e7eb;
}

.gw-nav-mobile-menu li:last-child {
    border-bottom: none;
}

.gw-nav-mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.gw-nav-mobile-menu .sub-menu {
    padding-left: 20px;
    display: none;
}

.gw-nav-mobile-menu li.submenu-open > .sub-menu {
    display: block;
}

.gw-nav-mobile-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
}

/* Mobile Menu Styles */
.gw-nav-menu-wrapper.mobile-dropdown .gw-nav-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gw-nav-menu-wrapper.mobile-full-screen .gw-nav-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 30px;
    transform: scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gw-nav-menu-wrapper.mobile-full-screen .gw-nav-mobile-menu.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.gw-nav-menu-wrapper.mobile-full-screen .gw-nav-mobile-list {
    text-align: center;
}

.gw-nav-menu-wrapper.mobile-full-screen .gw-nav-mobile-menu a {
    justify-content: center;
    font-size: 1.5em;
    padding: 15px;
}

/* Slide Menu */
.gw-nav-menu-wrapper.mobile-slide-left .gw-nav-mobile-menu,
.gw-nav-menu-wrapper.mobile-slide-right .gw-nav-mobile-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    z-index: 99999;
    overflow-y: auto;
    padding-top: 60px;
    transition: transform 0.3s ease;
}

.gw-nav-menu-wrapper.mobile-slide-left .gw-nav-mobile-menu {
    left: 0;
    transform: translateX(-100%);
}

.gw-nav-menu-wrapper.mobile-slide-right .gw-nav-mobile-menu {
    right: 0;
    transform: translateX(100%);
}

.gw-nav-menu-wrapper.mobile-slide-left .gw-nav-mobile-menu.active,
.gw-nav-menu-wrapper.mobile-slide-right .gw-nav-mobile-menu.active {
    transform: translateX(0);
}

/* Overlay */
.gw-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gw-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== Responsive Breakpoints ========== */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .gw-nav-menu-wrapper.breakpoint-tablet .gw-nav-desktop {
        display: none;
    }

    .gw-nav-menu-wrapper.breakpoint-tablet .gw-nav-toggle-wrapper {
        display: flex;
    }

    .gw-nav-menu-wrapper.breakpoint-tablet .gw-nav-mobile-menu.active {
        display: block;
    }
}

/* Mobile Breakpoint */
@media (max-width: 767px) {
    .gw-nav-menu-wrapper.breakpoint-mobile .gw-nav-desktop {
        display: none;
    }

    .gw-nav-menu-wrapper.breakpoint-mobile .gw-nav-toggle-wrapper {
        display: flex;
    }

    .gw-nav-menu-wrapper.breakpoint-mobile .gw-nav-mobile-menu.active {
        display: block;
    }
}

/* Always Mobile */
.gw-nav-menu-wrapper.breakpoint-always .gw-nav-desktop {
    display: none;
}

.gw-nav-menu-wrapper.breakpoint-always .gw-nav-toggle-wrapper {
    display: flex;
}

.gw-nav-menu-wrapper.breakpoint-always .gw-nav-mobile-menu.active {
    display: block;
}

/* Body class when nav is open */
body.gw-nav-open {
    overflow: hidden;
}

/* Submenu Toggle Button */
.gw-submenu-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gw-submenu-toggle:hover {
    background: rgba(0,0,0,0.1);
}

.gw-submenu-toggle.rotated svg {
    transform: rotate(180deg);
}

.gw-submenu-toggle svg {
    transition: transform 0.3s ease;
}

.gw-nav-mobile-menu li {
    position: relative;
}

/* ==========================================================================
   Site Logo Widget
   ========================================================================== */

.gw-site-logo {
    display: block;
    line-height: 1;
}

.gw-site-logo-link {
    display: inline-block;
    text-decoration: none;
}

.gw-site-logo img,
.gw-site-logo-img {
    display: block;
    height: auto;
    max-width: 100%;
}

.gw-site-logo-fallback {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gw-site-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gw-site-logo-placeholder a {
    color: #667eea;
    text-decoration: underline;
}

.gw-site-logo-placeholder a:hover {
    text-decoration: none;
}

/* ==========================================================================
   WooCommerce Widgets
   ========================================================================== */

/* ---------- Product Grid ---------- */
.gw-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.gw-product-item {
    position: relative;
    /* Background controlled by Elementor settings */
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gw-product-item:hover {
    transform: translateY(-5px);
}

.gw-product-image {
    position: relative;
    overflow: hidden;
}

.gw-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gw-product-item:hover .gw-product-image img {
    transform: scale(1.05);
}

.gw-product-image-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gw-product-item:hover .gw-product-image-secondary {
    opacity: 1;
}

.gw-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 5;
}

.gw-badge-sale {
    background: #e74c3c;
    color: #fff;
}

.gw-product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 5;
}

.gw-product-item:hover .gw-product-actions {
    opacity: 1;
    transform: translateX(0);
}

.gw-product-actions button {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    color: #333;
}

.gw-product-actions button:hover {
    background: #667eea;
    color: #fff;
}

.gw-product-content {
    padding: 20px;
}

.gw-product-category {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.gw-product-category a {
    color: inherit;
    text-decoration: none;
}

.gw-product-category a:hover {
    color: #667eea;
}

.gw-product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}

.gw-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gw-product-title a:hover {
    color: #667eea;
}

.gw-product-rating {
    margin-bottom: 10px;
}

.gw-product-rating .star-rating {
    font-size: 14px;
    color: #ffc107;
}

.gw-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
}

.gw-product-price del {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-right: 8px;
}

.gw-product-price ins {
    text-decoration: none;
    color: #e74c3c;
}

.gw-product-add-to-cart a,
.gw-product-add-to-cart button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gw-product-add-to-cart a:hover,
.gw-product-add-to-cart button:hover {
    background: #764ba2;
}

/* Card Styles */
.gw-product-grid.gw-style-card .gw-product-item {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.gw-product-grid.gw-style-card .gw-product-item:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gw-product-grid.gw-style-minimal .gw-product-item {
    background: transparent;
    border-radius: 0;
}

.gw-product-grid.gw-style-minimal .gw-product-content {
    padding: 15px 0;
}

.gw-product-grid.gw-style-overlay .gw-product-image {
    height: 300px;
}

.gw-product-grid.gw-style-overlay .gw-product-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(60px);
    transition: transform 0.3s ease;
}

.gw-product-grid.gw-style-overlay .gw-product-item:hover .gw-product-content {
    transform: translateY(0);
}

.gw-product-grid.gw-style-overlay .gw-product-title a,
.gw-product-grid.gw-style-overlay .gw-product-price {
    color: #fff;
}

/* ---------- Product Carousel ---------- */
.gw-product-carousel {
    position: relative;
}

.gw-product-carousel .swiper-slide {
    height: auto;
}

.gw-carousel-item {
    /* Background controlled by Elementor settings */
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.gw-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #333;
}

.gw-carousel-arrow:hover {
    background: #667eea;
    color: #fff;
}

.gw-carousel-prev {
    left: -22px;
}

.gw-carousel-next {
    right: -22px;
}

.gw-product-carousel .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.gw-product-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
}

.gw-product-carousel .swiper-pagination-bullet-active {
    background: #667eea;
}

/* ---------- Product Categories ---------- */
.gw-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gw-categories-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gw-category-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* Background controlled by Elementor settings */
    transition: all 0.3s ease;
}

.gw-category-item:hover {
    transform: translateY(-5px);
}

.gw-category-item > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gw-category-image {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.gw-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.3s ease;
}

.gw-category-item:hover .gw-category-overlay {
    background: rgba(102,126,234,0.8);
}

.gw-category-content {
    padding: 20px;
}

.gw-categories-grid.gw-style-overlay .gw-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    z-index: 1;
}

.gw-category-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
}

.gw-category-count {
    font-size: 14px;
    color: #666;
}

.gw-categories-grid.gw-style-overlay .gw-category-count {
    color: rgba(255,255,255,0.8);
}

.gw-category-description {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

/* ---------- Mini Cart ---------- */
.gw-mini-cart {
    position: relative;
    display: inline-block;
}

.gw-mini-cart-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.gw-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gw-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    background: #667eea;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gw-cart-count:empty,
.gw-cart-count[data-count="0"] {
    display: none;
}

.gw-cart-subtotal {
    font-weight: 600;
}

.gw-mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    color: #333;
}

.gw-mini-cart:hover .gw-mini-cart-dropdown,
.gw-mini-cart.active .gw-mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gw-dropdown-below-left .gw-mini-cart-dropdown {
    right: auto;
    left: 0;
}

.gw-dropdown-below-center .gw-mini-cart-dropdown {
    right: 50%;
    transform: translateX(50%) translateY(10px);
}

.gw-mini-cart:hover .gw-dropdown-below-center .gw-mini-cart-dropdown,
.gw-mini-cart.active .gw-dropdown-below-center .gw-mini-cart-dropdown {
    transform: translateX(50%) translateY(0);
}

.gw-mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.gw-mini-cart-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.gw-cart-item-count {
    font-size: 13px;
    color: #666;
}

.gw-mini-cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px 20px;
}

.gw-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.gw-mini-cart-item:last-child {
    border-bottom: none;
}

.gw-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.gw-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gw-item-details {
    flex: 1;
    min-width: 0;
}

.gw-item-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gw-item-title:hover {
    color: #667eea;
}

.gw-item-price {
    font-size: 13px;
    color: #666;
}

.gw-remove-item {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.2s ease;
}

.gw-remove-item:hover {
    background: #e74c3c;
    color: #fff;
}

.gw-cart-empty {
    text-align: center;
    padding: 30px 20px;
    color: #999;
}

.gw-cart-empty svg {
    margin-bottom: 15px;
    opacity: 0.5;
}

.gw-cart-empty p {
    margin: 0;
    font-size: 14px;
}

.gw-mini-cart-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.gw-cart-totals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.gw-totals-label {
    font-size: 14px;
    color: #666;
}

.gw-totals-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.gw-cart-buttons {
    display: flex;
    gap: 10px;
}

.gw-view-cart-btn,
.gw-checkout-btn {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.gw-view-cart-btn {
    background: transparent;
    border: 2px solid #333;
    color: #333;
}

.gw-view-cart-btn:hover {
    background: #333;
    color: #fff;
}

.gw-checkout-btn {
    background: #667eea;
    border: 2px solid #667eea;
    color: #fff;
}

.gw-checkout-btn:hover {
    background: #764ba2;
    border-color: #764ba2;
}

/* ---------- Add to Cart ---------- */
.gw-add-to-cart-wrapper {
    display: block;
}

.gw-add-to-cart-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gw-quantity-wrapper {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.gw-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gw-qty-btn:hover {
    background: rgba(0,0,0,0.1);
}

.gw-quantity-input {
    width: 60px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    -moz-appearance: textfield;
}

.gw-quantity-input::-webkit-outer-spin-button,
.gw-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gw-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gw-add-to-cart-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

.gw-add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.gw-add-to-cart-btn .gw-btn-icon {
    flex-shrink: 0;
}

/* ---------- Product Price ---------- */
.gw-product-price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gw-price {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.gw-price del {
    font-size: 0.75em;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}

.gw-price ins {
    text-decoration: none;
    color: #e74c3c;
}

.gw-price-from {
    font-size: 0.6em;
    font-weight: 400;
    color: #666;
}

.gw-sale-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

/* ---------- WooCommerce Responsive ---------- */
@media (max-width: 1024px) {
    .gw-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gw-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gw-carousel-prev {
        left: 10px;
    }

    .gw-carousel-next {
        right: 10px;
    }
}

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

    .gw-categories-grid {
        grid-template-columns: 1fr;
    }

    .gw-mini-cart-dropdown {
        width: 300px;
    }

    .gw-add-to-cart-form {
        flex-direction: column;
        align-items: stretch;
    }

    .gw-quantity-wrapper {
        justify-content: center;
    }

    .gw-add-to-cart-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gw-product-grid {
        grid-template-columns: 1fr;
    }

    .gw-mini-cart-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 80vh;
    }
}

/* ==========================================================================
   Gallery Widget - Professional Design
   ========================================================================== */

.gw-gallery {
    width: 100%;
}

/* Grid Layout */
.gw-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Masonry Layout */
.gw-gallery-masonry {
    column-count: 4;
    column-gap: 15px;
}

.gw-gallery-masonry .gw-gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
}

/* Justified Layout */
.gw-gallery-justified {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gw-gallery-justified .gw-gallery-item {
    flex-grow: 1;
    height: var(--row-height, 200px);
}

.gw-gallery-justified .gw-gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    min-width: 100px;
}

/* Metro Layout */
.gw-gallery-metro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.gw-gallery-metro .gw-gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gw-gallery-metro .gw-gallery-item:nth-child(5) {
    grid-column: span 2;
}

.gw-gallery-metro .gw-gallery-item:nth-child(8) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Gallery Item */
.gw-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gw-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gw-gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gw-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

/* Aspect Ratios for Grid */
.gw-aspect-1-1 .gw-gallery-item {
    aspect-ratio: 1 / 1;
}

.gw-aspect-4-3 .gw-gallery-item {
    aspect-ratio: 4 / 3;
}

.gw-aspect-3-4 .gw-gallery-item {
    aspect-ratio: 3 / 4;
}

.gw-aspect-16-9 .gw-gallery-item {
    aspect-ratio: 16 / 9;
}

.gw-aspect-9-16 .gw-gallery-item {
    aspect-ratio: 9 / 16;
}

/* Overlay */
.gw-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.gw-gallery-item:hover .gw-gallery-overlay {
    opacity: 1;
}

.gw-gallery-overlay i,
.gw-gallery-overlay svg {
    font-size: 30px;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gw-gallery-item:hover .gw-gallery-overlay i,
.gw-gallery-item:hover .gw-gallery-overlay svg {
    transform: scale(1);
}

.gw-gallery-overlay-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.gw-gallery-overlay-caption {
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.gw-gallery-item:hover .gw-gallery-overlay-title,
.gw-gallery-item:hover .gw-gallery-overlay-caption {
    transform: translateY(0);
    opacity: 0.9;
}

/* ========== Hover Effects ========== */

/* Zoom */
.gw-hover-zoom .gw-gallery-item:hover .gw-gallery-image {
    transform: scale(1.1);
}

/* Zoom & Rotate */
.gw-hover-zoom-rotate .gw-gallery-item:hover .gw-gallery-image {
    transform: scale(1.15) rotate(3deg);
}

/* Blur Others */
.gw-hover-blur:hover .gw-gallery-item:not(:hover) .gw-gallery-image {
    filter: blur(3px) brightness(0.7);
}

.gw-hover-blur .gw-gallery-item {
    transition: all 0.4s ease;
}

/* Grayscale to Color */
.gw-hover-grayscale .gw-gallery-image {
    filter: grayscale(100%);
}

.gw-hover-grayscale .gw-gallery-item:hover .gw-gallery-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Shine Effect */
.gw-hover-shine .gw-gallery-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    z-index: 2;
    transition: left 0.6s ease;
}

.gw-hover-shine .gw-gallery-item:hover .gw-gallery-image-wrapper::before {
    left: 150%;
}

.gw-hover-shine .gw-gallery-item:hover .gw-gallery-image {
    transform: scale(1.05);
}

/* ========== Responsive ========== */

@media (max-width: 1024px) {
    .gw-gallery-metro {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 150px;
    }

    .gw-gallery-metro .gw-gallery-item:nth-child(8) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .gw-gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .gw-gallery-masonry {
        column-count: 2 !important;
    }

    .gw-gallery-metro {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }

    .gw-gallery-metro .gw-gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gw-gallery-metro .gw-gallery-item:nth-child(5),
    .gw-gallery-metro .gw-gallery-item:nth-child(8) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .gw-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .gw-gallery-masonry {
        column-count: 2 !important;
    }

    .gw-gallery-item {
        border-radius: 8px;
    }

    .gw-gallery-overlay i,
    .gw-gallery-overlay svg {
        font-size: 24px;
    }

    .gw-gallery-overlay-title {
        font-size: 14px;
    }

    .gw-gallery-overlay-caption {
        font-size: 12px;
    }
}

/* ==========================================================================
   Logo Carousel Widget
   ========================================================================== */

.gw-logo-carousel {
    overflow: hidden;
    padding: 30px 0;
}

.gw-logo-track {
    display: flex;
    width: fit-content;
}

.gw-logo-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 5), 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.gw-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
}

.gw-logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gw-logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gw-logo-item:hover .gw-logo-img {
    opacity: 1;
    transform: scale(1.05);
}

/* Grayscale filter */
.gw-grayscale .gw-logo-img {
    filter: grayscale(100%);
}

.gw-grayscale .gw-logo-item:hover .gw-logo-img {
    filter: grayscale(0%);
}

/* Placeholder styling */
.gw-logo-placeholder-img {
    border-radius: 8px;
}

/* Scroll animation - defined in widget PHP for dynamic speed */

/* Responsive */
@media (max-width: 768px) {
    .gw-logo-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .gw-logo-item {
        padding: 0 15px;
    }

    .gw-logo-img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .gw-logo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .gw-logo-img {
        height: 40px;
    }
}

