/**
 * Zhenvo Elementor Widgets - Styles
 * Copyright © 2025 Álvaro Puche Ortiz - Zhenvo.com
 */

/* Marquee Widget */
.zhenvo-marquee {
    position: relative;
    overflow: hidden !important;
    white-space: nowrap;
    background-color: #f8b060;
    display: flex;
    align-items: center;
    height: 6vh;
    user-select: none;
    contain: layout style;
}

.zhenvo-marquee::before,
.zhenvo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 80px;
    z-index: 10;
    pointer-events: none;
}

.zhenvo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--marquee-bg-color, #f8b060), transparent);
}

.zhenvo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--marquee-bg-color, #f8b060), transparent);
}

.zhenvo-marquee-inner {
    display: flex;
    width: 100%;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    overflow: visible;
}

.zhenvo-marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    overflow: visible;
}

.zhenvo-marquee-text {
    font-family: 'Noto Serif', serif;
    font-size: 33.18px;
    font-weight: 300;
    line-height: 38.23px;
    letter-spacing: -0.05em;
    color: #000000;
    display: inline-block;
    white-space: nowrap;
}

.zhenvo-marquee-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 40px;
    flex-shrink: 0;
    color: #000000;
    font-size: 20px;
}

.zhenvo-marquee-separator svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Marquee Animation */
@keyframes zhenvo-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.zhenvo-marquee-inner {
    animation: zhenvo-marquee-scroll var(--marquee-duration, 30s) linear infinite var(--marquee-direction, normal);
}

/* Responsive design */
@media (max-width: 768px) {
    .zhenvo-marquee-text {
        font-size: 24px;
        line-height: 28px;
    }
    
    .zhenvo-marquee-separator {
        width: 20px;
        height: 20px;
        margin: 0 20px;
    }
    
    .zhenvo-marquee {
        height: 5vh;
        overflow: hidden !important;
    }
    
    .zhenvo-marquee::before,
    .zhenvo-marquee::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .zhenvo-marquee-text {
        font-size: 18px;
        line-height: 22px;
    }
    
    .zhenvo-marquee-separator {
        width: 16px;
        height: 16px;
        margin: 0 15px;
    }
    
    .zhenvo-marquee {
        height: 4vh;
        overflow: hidden !important;
    }
    
    .zhenvo-marquee::before,
    .zhenvo-marquee::after {
        width: 40px;
    }
}

/* Performance optimizations */
.zhenvo-marquee {
    will-change: transform;
}

.zhenvo-marquee-text {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .zhenvo-marquee .zhenvo-marquee-inner {
        animation: none !important;
        transform: translateX(0) !important;
    }
}

/* Header Icons Widget */
.zhenvo-header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    position: relative;
    height: auto;
    line-height: 1;
}

.zhenvo-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    vertical-align: middle;
}

.zhenvo-header-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    height: auto;
}

.zhenvo-header-icon a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.zhenvo-header-icon svg {
    width: 15px;
    height: 15px;
    color: #ffffff;
    fill: none;
    transition: color 0.3s ease;
}

.zhenvo-header-icon a:hover svg {
    color: #f8b060;
}

/* Search Form Styles */
.zhenvo-search-form {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.zhenvo-search-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zhenvo-search-form form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.zhenvo-search-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}

.zhenvo-search-form input:focus {
    border-color: #f8b060;
    box-shadow: 0 0 0 2px rgba(248, 176, 96, 0.2);
}

.zhenvo-search-form input::placeholder {
    color: #999999;
}

.zhenvo-search-form button {
    padding: 10px;
    border: none;
    background-color: #f8b060;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zhenvo-search-form button:hover {
    background-color: #e6a054;
}

.zhenvo-search-form button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

/* Screen reader text for accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Responsive Design for Header Icons */
@media (max-width: 768px) {
    .zhenvo-header-icons {
        gap: 1rem;
    }
    
    .zhenvo-header-icon svg {
        width: 15px;
        height: 15px;
    }
    
    .zhenvo-search-form {
        min-width: 250px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .zhenvo-header-icons {
        gap: 0.8rem;
    }
    
    .zhenvo-header-icon svg {
        width: 15px;
        height: 15px;
    }
    
    .zhenvo-header-icon a {
        padding: 6px;
        height: auto;
    }
    
    .zhenvo-search-form {
        min-width: 200px;
        right: -75px;
        padding: 10px;
    }
    
    .zhenvo-search-form input {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .zhenvo-search-form button {
        padding: 8px;
    }
}

/* Cart Widget */
.zhenvo-cart-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s ease;
    height: auto;
}

.zhenvo-cart-container:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.zhenvo-cart-container.has-items {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    padding: 8px 12px;
    gap: 8px;
}

.zhenvo-cart-container.has-items:hover {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hide quantity badge when cart has items (text will show the count) */
.zhenvo-cart-container.has-items .zhenvo-cart-quantity {
    display: none;
}

.zhenvo-cart-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 6px;
    gap: 1px;
}

.zhenvo-cart-title {
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.zhenvo-cart-subtitle {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.zhenvo-cart-count {
    display: inline-block;
    background-color: rgba(248, 176, 96, 0.9);
    color: #000;
    font-weight: 600;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    margin-right: 2px;
    line-height: 1;
    min-width: 14px;
    text-align: center;
}

.zhenvo-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    height: 15px;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.zhenvo-cart-link:hover {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.zhenvo-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 15px;
}

.zhenvo-cart-icon svg {
    width: 15px;
    height: 15px;
    color: #ffffff;
    fill: none;
    transition: color 0.3s ease;
}

.zhenvo-cart-container:hover .zhenvo-cart-icon svg {
    color: #f8b060;
}

.zhenvo-cart-quantity {
    position: absolute;
    background-color: #f8b060;
    color: #000000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.zhenvo-cart-quantity-top-right {
    top: -8px;
    right: -8px;
}

.zhenvo-cart-quantity-top-left {
    top: -8px;
    left: -8px;
}

.zhenvo-cart-quantity-bottom-right {
    bottom: -8px;
    right: -8px;
}

.zhenvo-cart-quantity-bottom-left {
    bottom: -8px;
    left: -8px;
}

/* Hide quantity badge when count is 0 */
.zhenvo-cart-quantity:empty,
.zhenvo-cart-quantity[data-count="0"] {
    display: none;
}

/* Cart update animations */
.zhenvo-cart-updated {
    animation: zhenvo-cart-bounce 0.6s ease-out;
}

.zhenvo-badge-updated {
    animation: zhenvo-badge-pulse 0.8s ease-out;
}

@keyframes zhenvo-cart-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes zhenvo-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Added message notification */
.zhenvo-added-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999999;
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Instrument Sans', Arial, sans-serif;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.zhenvo-added-message.show {
    opacity: 1;
    transform: translateX(0);
}

.zhenvo-added-message svg {
    width: 16px;
    height: 16px;
    stroke: white;
    fill: none;
    flex-shrink: 0;
}

.zhenvo-added-message span {
    line-height: 1;
    white-space: nowrap;
}

/* Responsive Design for Cart Widget */
@media (max-width: 768px) {
    /* Hide the normal cart widget on mobile */
    .zhenvo-cart-container {
        display: none;
    }
    
    /* Adjust added message for mobile */
    .zhenvo-added-message {
        top: 15px;
        right: 15px;
        left: 15px;
        right: 15px;
        max-width: calc(100vw - 30px);
        justify-content: center;
    }
    
    .zhenvo-cart-icon svg {
        width: 15px;
        height: 15px;
    }
    
    .zhenvo-cart-quantity {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    /* Hide the normal cart widget on mobile */
    .zhenvo-cart-container {
        display: none;
    }
    
    .zhenvo-cart-icon svg {
        width: 15px;
        height: 15px;
    }
    
    .zhenvo-cart-quantity {
        width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 10px;
    }
}

/* AJAX Cart Modal Styles */
.zhenvo-cart-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 9999999 !important; /* Increased z-index significantly */
    display: none !important; /* Always hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* When modal is active - override the display none */
.zhenvo-cart-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

/* B2B Cart Item Badge Styles */
.zhenvo-cart-item-b2b-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0;
    padding: 4px 8px;
    background: rgba(44, 85, 48, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(44, 85, 48, 0.15);
}

.zhenvo-cart-item-b2b-icon {
    color: #2c5530;
    flex-shrink: 0;
}

.zhenvo-cart-item-b2b-text {
    font-size: 10px;
    font-weight: 600;
    color: #2c5530;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* B2B Header Badge Styles */
.zhenvo-cart-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zhenvo-cart-b2b-header-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: rgba(44, 85, 48, 0.1);
    border-radius: 3px;
    border: 1px solid rgba(44, 85, 48, 0.2);
    flex-shrink: 0;
    max-width: 200px;
}

.zhenvo-cart-b2b-header-icon {
    color: #2c5530;
    flex-shrink: 0;
}

.zhenvo-cart-b2b-header-text {
    font-size: 9px;
    font-weight: 700;
    color: #2c5530;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.1;
    white-space: normal;
}

/* B2B Mobile Badge Styles */
.zhenvo-cart-mobile-sticky {
    display: flex;
    align-items: center;
    gap: 6px;
}

.zhenvo-cart-b2b-mobile-badge {
    padding: 3px 6px;
    font-size: 8px;
}

.zhenvo-cart-b2b-mobile-badge .zhenvo-cart-b2b-header-icon {
    width: 10px;
    height: 10px;
}

.zhenvo-cart-b2b-mobile-badge .zhenvo-cart-b2b-header-text {
    font-size: 8px;
    letter-spacing: 0.3px;
}

.zhenvo-cart-modal {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    min-height: 500px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    transform: scale(1) translateY(0);
    opacity: 1;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    z-index: 9999999 !important; /* Ensure modal content is also high z-index */
}

.zhenvo-modal-opening .zhenvo-cart-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.zhenvo-modal-closing .zhenvo-cart-modal {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
}

.zhenvo-cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.zhenvo-cart-modal-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.zhenvo-cart-modal-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(248, 176, 96, 0.1) !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.zhenvo-cart-modal-icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #f8b060 !important;
    stroke-width: 2 !important;
    fill: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.zhenvo-cart-modal-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zhenvo-cart-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-shadow: none;
    line-height: 1.2;
}

.zhenvo-cart-modal-subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    font-style: italic;
    line-height: 1.3;
}

.zhenvo-cart-modal-close {
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    outline: none;
    color: #666;
}

.zhenvo-cart-modal-close:hover {
    background: rgba(248, 176, 96, 0.1);
    border-color: rgba(248, 176, 96, 0.5);
    color: #f8b060;
}

.zhenvo-cart-modal-close:active {
    background: rgba(248, 176, 96, 0.2);
    transform: scale(0.9);
    color: #f8b060;
}

.zhenvo-cart-modal-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.zhenvo-cart-modal-close:focus {
    outline: none;
    border-color: rgba(248, 176, 96, 0.3);
}

.zhenvo-cart-modal-close:focus-visible {
    box-shadow: 0 0 0 3px rgba(248, 176, 96, 0.2);
    border-color: rgba(248, 176, 96, 0.5);
}

.zhenvo-cart-modal-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.zhenvo-cart-content-wrapper {
    display: flex;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

.zhenvo-cart-main-content {
    flex: 2;
    padding: 20px;
    overflow-y: auto;
    max-height: 65vh;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(248, 176, 96, 0.3) transparent;
}

.zhenvo-cart-sidebar {
    flex: 1;
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
}

.zhenvo-cart-main-content::-webkit-scrollbar {
    width: 8px;
}

.zhenvo-cart-main-content::-webkit-scrollbar-track {
    background: transparent;
}

.zhenvo-cart-main-content::-webkit-scrollbar-thumb {
    background: rgba(248, 176, 96, 0.3);
    border-radius: 4px;
}

.zhenvo-cart-main-content::-webkit-scrollbar-thumb:hover {
    background: rgba(248, 176, 96, 0.5);
}

.zhenvo-cart-loading {
    text-align: center;
    padding: 40px 20px;
    color: #333;
}

.zhenvo-cart-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f8b060;
    border-radius: 50%;
    animation: zhenvo-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes zhenvo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.zhenvo-cart-empty-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px;
}

.zhenvo-cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #333;
    max-width: 500px;
    margin: 0 auto;
}

.zhenvo-cart-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    opacity: 0.6;
}

.zhenvo-cart-empty-icon svg {
    width: 100%;
    height: 100%;
    stroke: #999;
    stroke-width: 1.5;
    fill: none;
}

.zhenvo-cart-empty-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.zhenvo-cart-empty-message {
    margin: 0 0 24px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.zhenvo-cart-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(248, 176, 96, 0.9);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.zhenvo-cart-empty-cta:hover {
    background: rgba(230, 160, 84, 1);
    transform: translateY(-1px);
}

.zhenvo-cart-empty-cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.zhenvo-cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zhenvo-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.zhenvo-cart-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.zhenvo-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

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

.zhenvo-cart-item-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.zhenvo-cart-item-name a {
    color: #333;
    text-decoration: none;
}

.zhenvo-cart-item-name a:hover {
    color: #f8b060;
}

.zhenvo-cart-item-price {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.zhenvo-cart-item-quantity {
    flex-shrink: 0;
}

.zhenvo-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 2px;
}

.zhenvo-quantity-minus,
.zhenvo-quantity-plus {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #666 !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 1 !important;
}

.zhenvo-quantity-minus:hover,
.zhenvo-quantity-plus:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

.zhenvo-quantity-input {
    width: 50px !important;
    max-width: 50px !important;
    min-width: 50px !important;
    height: 32px !important;
    border: none !important;
    background: none !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
}

/* Hide number input spinners */
.zhenvo-quantity-input::-webkit-outer-spin-button,
.zhenvo-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.zhenvo-quantity-input[type=number] {
    -moz-appearance: textfield !important;
}

.zhenvo-cart-item-subtotal {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-width: 60px;
    text-align: right;
}

.zhenvo-cart-item-remove {
    flex-shrink: 0;
    margin-left: 10px;
}

.zhenvo-remove-item {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: rgba(255, 0, 0, 0.05) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    color: #999 !important;
    border: 1px solid rgba(255, 0, 0, 0.1) !important;
}

.zhenvo-remove-item:hover {
    background: rgba(255, 0, 0, 0.1) !important;
    color: #e74c3c !important;
    border-color: rgba(255, 0, 0, 0.2) !important;
    transform: scale(1.05) !important;
}

.zhenvo-remove-icon {
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Cart Recommendations Section */
.zhenvo-cart-recommendations {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 200, 200, 0.4);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.zhenvo-cart-recommendations-header {
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
}

.zhenvo-cart-recommendations-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zhenvo-cart-recommendations-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.zhenvo-cart-recommendation-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.2s ease;
    border: 1px solid rgba(200, 200, 200, 0.2);
}

.zhenvo-cart-recommendation-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 200, 200, 0.4);
}

.zhenvo-cart-recommendation-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.zhenvo-cart-recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zhenvo-no-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    border-radius: 6px;
}

.zhenvo-cart-recommendation-details {
    flex: 1;
    min-width: 0;
}

.zhenvo-cart-recommendation-name {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.zhenvo-cart-recommendation-name a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zhenvo-cart-recommendation-name a:hover {
    color: #f8b060;
}

.zhenvo-cart-recommendation-price {
    font-size: 13px;
    font-weight: 600;
    color: #f8b060;
}

.zhenvo-cart-recommendation-actions {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.zhenvo-add-to-cart-btn {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: rgba(248, 176, 96, 0.15) !important;
    border: 1px solid rgba(248, 176, 96, 0.3) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    color: #f8b060 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.zhenvo-add-to-cart-btn:hover {
    background: rgba(248, 176, 96, 0.25) !important;
    border-color: rgba(248, 176, 96, 0.5) !important;
    transform: scale(1.05) !important;
}

.zhenvo-add-to-cart-btn:active {
    transform: scale(0.95) !important;
}

.zhenvo-add-icon {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #f8b060 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.zhenvo-cart-footer {
    margin-top: 0;
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.zhenvo-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.zhenvo-cart-total-label {
    color: #666;
}

.zhenvo-cart-total-amount {
    color: #333;
}

.zhenvo-cart-actions {
    display: flex;
    gap: 12px;
}

.zhenvo-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zhenvo-btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.zhenvo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.2);
}

.zhenvo-btn-primary {
    background: rgba(248, 176, 96, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(248, 176, 96, 0.3);
}

.zhenvo-btn-primary:hover {
    background: rgba(230, 160, 84, 1);
}

/* Cart Marquee */
.zhenvo-cart-marquee {
    position: relative;
    overflow: hidden !important;
    white-space: nowrap;
    background-color: var(--cart-marquee-bg, #f8b060);
    display: flex;
    align-items: center;
    height: 50px;
    user-select: none;
    margin-top: auto;
    contain: layout style;
}

/* Cart Marquee Mobile Height */
@media (max-width: 768px) {
    .zhenvo-cart-marquee {
        height: 100px;
    }
}

.zhenvo-cart-marquee::before,
.zhenvo-cart-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    z-index: 10;
    pointer-events: none;
}

.zhenvo-cart-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--cart-marquee-bg, #f8b060), transparent);
}

.zhenvo-cart-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--cart-marquee-bg, #f8b060), transparent);
}

.zhenvo-cart-marquee-inner {
    display: flex;
    width: 100%;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    overflow: visible;
}

.zhenvo-cart-marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    overflow: visible;
}

.zhenvo-cart-marquee-text {
    font-family: 'Noto Serif', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: var(--cart-marquee-text, #000000);
    display: inline-block;
    white-space: nowrap;
}

.zhenvo-cart-marquee-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0 40px;
    flex-shrink: 0;
    color: var(--cart-marquee-text, #000000);
    font-size: 16px;
}

.zhenvo-cart-marquee-separator svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Cart Marquee Animation */
@keyframes zhenvo-cart-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.zhenvo-cart-marquee-inner {
    animation: zhenvo-cart-marquee-scroll var(--marquee-duration, 30s) linear infinite var(--marquee-direction, normal);
}

/* Modal scroll prevention */
body.zhenvo-modal-open {
    overflow: hidden;
}

/* Mobile modal improvements */
@media (max-width: 768px) {
    .zhenvo-cart-modal-overlay {
        align-items: center;
        justify-content: center;
        padding: 5vh 2vw;
    }
    
    .zhenvo-cart-modal {
        margin: 0;
        max-height: 85vh;
        min-height: 85vh;
    }
    
    /* Ensure proper flex layout for mobile */
    .zhenvo-cart-content-wrapper {
        display: flex;
        flex-direction: column;
        min-height: 0;
        flex: 1;
    }
    
    .zhenvo-cart-main-content {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .zhenvo-cart-main-content::-webkit-scrollbar {
        display: none;
    }
}

/* Ensure modal appears above all common sticky headers */
.zhenvo-cart-modal-overlay {
    z-index: 9999999 !important;
}

/* Override common header z-index values */
.zhenvo-cart-modal-overlay,
.zhenvo-cart-modal {
    z-index: 9999999 !important;
}

/* Additional z-index overrides for common themes */
.elementor-sticky,
.elementor-sticky--active,
.sticky-header,
.fixed-header,
.header-sticky,
.site-header.sticky {
    z-index: 99 !important;
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .zhenvo-cart-modal {
        max-width: 95vw;
        max-height: 85vh;
        min-height: 85vh;
        margin: 0 auto;
    }
    
    .zhenvo-cart-modal-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    
    .zhenvo-cart-content-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    
    .zhenvo-cart-main-content {
        flex: 1;
        max-height: none;
        min-height: 55vh;
        overflow-y: auto;
        padding: 24px 20px 80px 20px;
    }
    
    .zhenvo-cart-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 12px;
        align-items: center;
    }
    
    .zhenvo-cart-item-image {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        margin-bottom: 8px;
    }
    
    .zhenvo-cart-item-details {
        flex: none;
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .zhenvo-cart-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .zhenvo-cart-footer {
        padding: 20px 24px;
        margin-top: 0;
    }
    
    .zhenvo-cart-total {
        margin-bottom: 20px;
        font-size: 18px;
        padding: 16px 0;
    }
    
    /* Quantity controls optimization for mobile */
    .zhenvo-quantity-controls {
        padding: 2px;
        border-radius: 6px;
        justify-content: center;
    }
    
    .zhenvo-quantity-minus,
    .zhenvo-quantity-plus {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    
    .zhenvo-quantity-input {
        width: 40px !important;
        max-width: 40px !important;
        min-width: 40px !important;
        height: 28px !important;
        font-size: 13px !important;
    }
    
    /* Bottom section layout for mobile */
    .zhenvo-cart-item-quantity {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }
    
    .zhenvo-cart-item-subtotal {
        font-size: 15px;
        font-weight: 600;
        min-width: auto;
        text-align: center;
    }
    
    .zhenvo-cart-item-remove {
        margin-left: 0;
    }
    
    /* Extra space for last item */
    .zhenvo-cart-item:last-child {
        margin-bottom: 50px;
    }
    
    /* Also target the container to ensure scroll space */
    .zhenvo-cart-items .zhenvo-cart-item:last-child {
        margin-bottom: 50px;
    }
    
    /* Hide recommendations section on mobile */
    .zhenvo-cart-sidebar {
        display: none;
    }
    
    .zhenvo-cart-recommendations {
        display: none;
    }
}

/* REMOVED - This was a duplicate section */

@media (max-width: 480px) {
    .zhenvo-cart-modal-overlay {
        padding: 3vh 1vw;
        align-items: center;
        justify-content: center;
    }
    
    .zhenvo-cart-modal {
        max-width: 98vw;
        max-height: 85vh;
        min-height: 85vh;
        border-radius: 12px;
        margin: 0;
    }
    
    .zhenvo-cart-modal-header {
        padding: 15px;
    }
    
    .zhenvo-cart-main-content {
        padding: 20px 16px 70px 16px;
        max-height: none;
        min-height: 58vh;
        flex: 1;
    }
    
    .zhenvo-cart-modal-title {
        font-size: 18px;
    }
    
    .zhenvo-cart-footer {
        padding: 18px 20px;
    }
    
    .zhenvo-cart-total {
        margin-bottom: 18px;
        font-size: 17px;
        padding: 14px 0;
    }
    
    .zhenvo-cart-item {
        margin-bottom: 14px;
        padding: 14px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        align-items: center;
    }
    
    .zhenvo-cart-item-image {
        width: 70px;
        height: 70px;
        margin-bottom: 6px;
    }
    
    .zhenvo-cart-item-details {
        flex: none;
        width: 100%;
        text-align: center;
        margin-bottom: 6px;
    }
    
    /* Smaller quantity controls for small mobile */
    .zhenvo-quantity-minus,
    .zhenvo-quantity-plus {
        width: 26px !important;
        height: 26px !important;
        font-size: 13px !important;
    }
    
    .zhenvo-quantity-input {
        width: 36px !important;
        max-width: 36px !important;
        min-width: 36px !important;
        height: 26px !important;
        font-size: 12px !important;
    }
    
    .zhenvo-cart-item-subtotal {
        font-size: 14px;
    }
    
    /* Extra space for last item on small mobile */
    .zhenvo-cart-item:last-child {
        margin-bottom: 45px;
    }
    
    /* Also target the container to ensure scroll space on small mobile */
    .zhenvo-cart-items .zhenvo-cart-item:last-child {
        margin-bottom: 45px;
    }
    
    /* Hide recommendations section on mobile */
    .zhenvo-cart-sidebar {
        display: none;
    }
    
    .zhenvo-cart-recommendations {
        display: none;
    }
}

/* Swiper Slider Widget */
.zhenvo-swiper-container {
    position: relative;
    width: 100%;
}

.zhenvo-swiper-container .swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.zhenvo-swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

.zhenvo-slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.zhenvo-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zhenvo-swiper-slide:hover .zhenvo-slide-image img {
    transform: scale(1.05);
}

.zhenvo-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 40px 30px 30px;
    text-align: left;
}

.zhenvo-slide-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.2;
    font-family: 'Instrument Sans', sans-serif;
}

.zhenvo-slide-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
    font-family: 'Instrument Sans', sans-serif;
}

/* Navigation Buttons */
.zhenvo-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    user-select: none;
}

.zhenvo-slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.zhenvo-slider-nav.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.zhenvo-slider-nav.swiper-button-disabled:hover {
    transform: translateY(-50%) scale(1);
}

/* Navigation positioning */
.zhenvo-swiper-container.nav-outside .zhenvo-swiper-button-prev {
    left: -80px;
}

.zhenvo-swiper-container.nav-outside .zhenvo-swiper-button-next {
    right: -80px;
}

.zhenvo-swiper-container.nav-inside .zhenvo-swiper-button-prev {
    left: 20px;
}

.zhenvo-swiper-container.nav-inside .zhenvo-swiper-button-next {
    right: 20px;
}

/* Navigation Icons */
.zhenvo-slider-nav .circle {
    transition: all 0.3s ease;
}

.zhenvo-slider-nav .icon {
    transition: all 0.3s ease;
}

.zhenvo-slider-nav:hover .circle {
    transform: scale(1.05);
}

/* Pagination */
.zhenvo-swiper-container .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.zhenvo-swiper-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
    margin: 0 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.zhenvo-swiper-container .swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.2);
}

.zhenvo-swiper-container .swiper-pagination-fraction {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Instrument Sans', sans-serif;
}

.zhenvo-swiper-container .swiper-pagination-progressbar {
    background: rgba(255, 255, 255, 0.3);
    height: 4px;
    border-radius: 2px;
}

.zhenvo-swiper-container .swiper-pagination-progressbar-fill {
    background: #ffffff;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .zhenvo-swiper-container.nav-outside .zhenvo-swiper-button-prev {
        left: 10px;
    }
    
    .zhenvo-swiper-container.nav-outside .zhenvo-swiper-button-next {
        right: 10px;
    }
    
    .zhenvo-slider-nav {
        width: 50px;
        height: 50px;
    }
    
    .zhenvo-slider-nav .circle {
        width: 50px;
        height: 50px;
    }
    
    .zhenvo-slide-title {
        font-size: 24px;
    }
    
    .zhenvo-slide-text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .zhenvo-swiper-slide {
        height: 300px;
    }
    
    .zhenvo-slide-content {
        padding: 30px 20px 20px;
    }
    
    .zhenvo-slide-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .zhenvo-slide-text {
        font-size: 13px;
    }
    
    .zhenvo-slider-nav {
        width: 45px;
        height: 45px;
    }
    
    .zhenvo-slider-nav .circle {
        width: 45px;
        height: 45px;
    }
    
    .zhenvo-swiper-container.nav-inside .zhenvo-swiper-button-prev {
        left: 15px;
    }
    
    .zhenvo-swiper-container.nav-inside .zhenvo-swiper-button-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .zhenvo-swiper-slide {
        height: 250px;
    }
    
    .zhenvo-slide-content {
        padding: 20px 15px 15px;
    }
    
    .zhenvo-slide-title {
        font-size: 18px;
    }
    
    .zhenvo-slide-text {
        font-size: 12px;
    }
    
    .zhenvo-slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .zhenvo-slider-nav .circle {
        width: 40px;
        height: 40px;
    }
    
    .zhenvo-swiper-container .swiper-pagination {
        bottom: 15px;
    }
    
    .zhenvo-swiper-container .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* Custom animations */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.swiper-slide-active .zhenvo-slide-content {
    animation: slideInFromLeft 0.6s ease-out;
}

/* Loading state */
.zhenvo-swiper-container .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile Sticky Cart Button */
.zhenvo-cart-mobile-sticky {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: #f8b060;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.zhenvo-cart-mobile-sticky:hover {
    background: #e6a054;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.zhenvo-cart-mobile-sticky:active {
    transform: scale(0.95);
}

.zhenvo-cart-mobile-sticky svg {
    width: 24px;
    height: 24px;
    color: #fff;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.zhenvo-cart-mobile-sticky .zhenvo-cart-quantity {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #fff;
    color: #f8b060;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid #f8b060;
    min-width: 24px;
    line-height: 1;
}

.zhenvo-cart-mobile-sticky .zhenvo-cart-quantity:empty,
.zhenvo-cart-mobile-sticky .zhenvo-cart-quantity[data-count="0"] {
    display: none;
}

/* Show mobile sticky button only on mobile */
@media (max-width: 768px) {
    .zhenvo-cart-mobile-sticky {
        display: flex;
    }
}

/* Search Modal Styles */
.zhenvo-search-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 9999999 !important;
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.zhenvo-search-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

.zhenvo-search-modal {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    transform: scale(1) translateY(0);
    opacity: 1;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    z-index: 9999999 !important;
}

.zhenvo-search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.zhenvo-search-modal-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.zhenvo-search-modal-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(248, 176, 96, 0.1) !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.zhenvo-search-modal-icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #f8b060 !important;
    stroke-width: 2 !important;
    fill: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.zhenvo-search-modal-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zhenvo-search-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-shadow: none;
    line-height: 1.2;
}

.zhenvo-search-modal-subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    font-style: italic;
    line-height: 1.3;
}

.zhenvo-search-modal-close {
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    outline: none;
    color: #666;
}

.zhenvo-search-modal-close:hover {
    background: rgba(248, 176, 96, 0.1);
    border-color: rgba(248, 176, 96, 0.5);
    color: #f8b060;
    transform: rotate(90deg);
}

.zhenvo-search-modal-close:active {
    background: rgba(248, 176, 96, 0.2);
    transform: rotate(90deg) scale(0.9);
    color: #f8b060;
}

.zhenvo-search-modal-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.zhenvo-search-modal-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.search-form {
    margin: 0;
}

.zhenvo-search-modal .search-input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.zhenvo-search-modal .search-input-wrapper:focus-within {
    border-color: #f8b060 !important;
    box-shadow: 0 0 0 4px rgba(248, 176, 96, 0.1) !important;
}

.zhenvo-search-modal .search-input {
    flex: 1 !important;
    padding: 16px 20px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 16px !important;
    color: #333 !important;
    font-family: 'Instrument Sans', sans-serif !important;
    line-height: 1.4 !important;
    min-height: auto !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    resize: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.zhenvo-search-modal .search-input::placeholder {
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.zhenvo-search-modal .search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.zhenvo-search-modal .search-submit {
    padding: 16px 16px !important;
    background: #f8b060 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 48px !important;
    width: 48px !important;
    margin: 0 !important;
    line-height: 1 !important;
    height: auto !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    font-family: inherit !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    flex-shrink: 0 !important;
}

.zhenvo-search-modal .search-submit:hover {
    background: #e6a054 !important;
    border: none !important;
    box-shadow: none !important;
}

.zhenvo-search-modal .search-submit:focus {
    outline: 2px solid #f8b060 !important;
    outline-offset: 2px !important;
    border: none !important;
    box-shadow: none !important;
}

.zhenvo-search-modal .search-submit svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #fff !important;
    fill: none !important;
    stroke-width: 2 !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.zhenvo-search-modal .search-results {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100px !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    max-height: 400px !important;
}

/* Search Results Content */
.search-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.search-product-item {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 !important;
}

.search-product-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(248, 176, 96, 0.3) !important;
}

.search-product-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    flex-shrink: 0 !important;
}

.search-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.search-product-image:hover img {
    transform: scale(1.05) !important;
}

.search-product-details {
    flex: 1 !important;
    margin-bottom: 12px !important;
}

.search-product-title {
    margin: 0 0 8px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.search-product-title a {
    color: #333 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.search-product-title a:hover {
    color: #f8b060 !important;
}

.search-product-price {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #f8b060 !important;
    margin: 0 !important;
}

.search-product-actions {
    display: flex !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.search-add-to-cart-btn {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: rgba(248, 176, 96, 0.15) !important;
    border: 1px solid rgba(248, 176, 96, 0.3) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: #f8b060 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.search-add-to-cart-btn:hover {
    background: rgba(248, 176, 96, 0.25) !important;
    border-color: rgba(248, 176, 96, 0.5) !important;
    transform: scale(1.05) !important;
}

.search-add-to-cart-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.search-add-to-cart-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    fill: none !important;
}

.search-view-product-btn {
    padding: 6px 12px !important;
    background: rgba(248, 176, 96, 0.15) !important;
    border: 1px solid rgba(248, 176, 96, 0.3) !important;
    border-radius: 16px !important;
    color: #f8b060 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.search-view-product-btn:hover {
    background: rgba(248, 176, 96, 0.25) !important;
    border-color: rgba(248, 176, 96, 0.5) !important;
    color: #f8b060 !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

/* Search States */
.search-loading,
.search-no-results,
.search-error {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #666 !important;
    font-style: italic !important;
    margin: 0 !important;
}

.search-loading {
    color: #f8b060 !important;
}

.search-error {
    color: #e74c3c !important;
}

/* Search Modal Responsive */
@media (max-width: 768px) {
    .zhenvo-search-modal {
        max-width: 95vw;
        max-height: 85vh;
        min-height: 350px;
    }
    
    .zhenvo-search-modal-header {
        padding: 20px;
    }
    
    .zhenvo-search-modal-content {
        padding: 20px;
    }
    
    .zhenvo-search-modal .search-input-wrapper {
        border-radius: 10px !important;
    }
    
    .zhenvo-search-modal .search-input {
        padding: 14px 16px !important;
        font-size: 15px !important;
    }
    
    .zhenvo-search-modal .search-submit {
        padding: 14px 14px !important;
        min-width: 42px !important;
        width: 42px !important;
    }
    
    .search-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 12px !important;
    }
    
    .search-product-item {
        padding: 12px !important;
    }
    
    .search-product-image {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 8px !important;
    }
    
    .search-product-title {
        font-size: 13px !important;
    }
    
    .search-product-price {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .zhenvo-search-modal-overlay {
        padding: 15px;
    }
    
    .zhenvo-search-modal {
        min-height: 300px;
    }
    
    .zhenvo-search-modal-header {
        padding: 15px;
    }
    
    .zhenvo-search-modal-content {
        padding: 15px;
    }
    
    .zhenvo-search-modal-title {
        font-size: 18px;
    }
    
    .search-container {
        gap: 20px;
    }
    
    .zhenvo-search-modal .search-input {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    .zhenvo-search-modal .search-submit {
        padding: 12px 12px !important;
        min-width: 40px !important;
        width: 40px !important;
    }
    
    .zhenvo-search-modal .search-submit svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .search-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
        gap: 10px !important;
    }
    
    .search-product-item {
        padding: 10px !important;
    }
    
    .search-product-image {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 6px !important;
    }
    
    .search-product-title {
        font-size: 12px !important;
    }
    
    .search-product-price {
        font-size: 11px !important;
    }
    
    .search-add-to-cart-btn {
        width: 28px !important;
        height: 28px !important;
    }
    
    .search-add-to-cart-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
}

/* Accessibility */
.zhenvo-slider-nav:focus {
    outline: 2px solid #f8b060;
    outline-offset: 2px;
}

.zhenvo-swiper-container .swiper-pagination-bullet:focus {
    outline: 2px solid #f8b060;
    outline-offset: 2px;
}

/* ==========================================================================
   Product Quantity Widget
   ========================================================================== */

.zhenvo-product-quantity-widget {
    display: inline-block;
}

.zhenvo-quantity-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f8f9fa;
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    font-weight: 500;
    line-height: 1;
}

.zhenvo-quantity-icon {
    font-size: 16px;
    line-height: 1;
}

.zhenvo-quantity-label {
    color: #333333;
    font-weight: 500;
}

.zhenvo-quantity-number {
    color: #007cba;
    font-weight: 700;
    font-size: 1.1em;
}

.zhenvo-quantity-unit {
    color: #666666;
    font-weight: 500;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .zhenvo-quantity-container {
        padding: 10px 16px;
        gap: 4px;
    }
    
    .zhenvo-quantity-icon {
        font-size: 14px;
    }
}

/* ==========================================================================
   Products Swiper Widget
   ========================================================================== */

/* Main Wrapper */
.zhenvo-products-swiper-widget-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

/* Slider Disabled Styles */
.zhenvo-products-swiper-widget-wrapper.slider-disabled {
    padding: 0;
}

.zhenvo-products-swiper-widget-wrapper.slider-disabled .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--grid-gap-mobile, 15px) !important;
    transform: none !important;
    transition: none !important;
    flex-wrap: nowrap !important;
}

.zhenvo-products-swiper-widget-wrapper.slider-disabled .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
    max-width: none !important;
    height: auto !important;
}

/* Fix for WooCommerce product li elements */
.zhenvo-products-swiper-widget-wrapper.slider-disabled .swiper-slide li.product {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.zhenvo-products-swiper-widget-wrapper.slider-disabled .zhenvo-product-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive grid for disabled slider */
@media (min-width: 768px) {
    .zhenvo-products-swiper-widget-wrapper.slider-disabled .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--grid-gap-tablet, 20px) !important;
    }
}

@media (min-width: 1024px) {
    .zhenvo-products-swiper-widget-wrapper.slider-disabled .swiper-wrapper {
        grid-template-columns: repeat(var(--slides-per-view, 4), 1fr) !important;
        gap: var(--grid-gap-desktop, 30px) !important;
    }
}

/* Override Swiper default styles when disabled */
.zhenvo-products-swiper-widget-wrapper.slider-disabled .swiper {
    overflow: visible !important;
}

.zhenvo-products-swiper-widget-wrapper.slider-disabled .zhenvo-products-swiper-container {
    overflow: visible !important;
}

/* Navigation Container */
.zhenvo-products-swiper-navigation {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 20;
}

/* Navigation Buttons */
.zhenvo-products-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #1D1D1B;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.zhenvo-products-slider-nav:hover {
    background-color: #333333;
    transform: scale(1.05);
}

/* Focus states for accessibility */
.zhenvo-products-slider-nav:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.zhenvo-products-slider-nav:focus:not(:focus-visible) {
    outline: none;
}

.zhenvo-products-slider-nav:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.zhenvo-products-slider-nav .icon {
    width: 22px;
    height: 18px;
}

.zhenvo-products-slider-nav.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #cccccc;
}

/* Swiper Container */
.zhenvo-products-swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Swiper Main Element */
.zhenvo-products-swiper-container .swiper {
    width: 100%;
    height: auto;
    padding: 15px 10px; /* Reduced padding since hover shadows were removed */
}

/* Product Card */
.zhenvo-products-swiper-container .zhenvo-product-card {
    height: 100%;
}

/* Pagination */
.zhenvo-products-swiper-container .swiper-pagination {
    position: static;
    margin-top: 25px;
}

.zhenvo-products-swiper-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #d1d1d1;
    opacity: 1;
    transition: background-color 0.3s ease;
}

.zhenvo-products-swiper-container .swiper-pagination-bullet-active {
    background-color: #8B4513;
}

/* Focus states for pagination bullets */
.zhenvo-products-swiper-container .swiper-pagination-bullet:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.zhenvo-products-swiper-container .swiper-pagination-bullet:focus:not(:focus-visible) {
    outline: none;
}

.zhenvo-products-swiper-container .swiper-pagination-bullet:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Custom Pagination Styles */
.zhenvo-custom-pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 20px;
}

.zhenvo-custom-pagination .segment {
    flex: 1;
    height: 6px;
    background-color: #E0E0E0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
    min-width: 30px;
}

.zhenvo-custom-pagination .segment.active {
    background-color: #8B4513;
}

.zhenvo-custom-pagination .segment:hover {
    background-color: #CCCCCC;
}

.zhenvo-custom-pagination .segment.active:hover {
    background-color: #6B3410;
}

/* Focus states for custom pagination */
.zhenvo-custom-pagination .segment:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.zhenvo-custom-pagination .segment:focus:not(:focus-visible) {
    outline: none;
}

.zhenvo-custom-pagination .segment:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .zhenvo-products-swiper-navigation {
        top: -50px;
    }

    .zhenvo-products-slider-nav {
        width: 45px;
        height: 45px;
    }

    .zhenvo-products-swiper-container .swiper {
        padding: 12px 8px; /* Optimized padding for tablet */
    }
}

@media (max-width: 480px) {
    .zhenvo-products-swiper-navigation {
        top: -45px;
    }

    .zhenvo-products-slider-nav {
        width: 40px;
        height: 40px;
    }

    .zhenvo-products-swiper-container .swiper {
        padding: 10px 5px; /* Optimized padding for mobile */
    }

    .zhenvo-products-swiper-container .swiper-pagination {
        margin-top: 20px;
    }
}

/* ==========================================================================
   H2 Philosophy Button Widget - Button Alignment
   ========================================================================== */

/* Horizontal alignment */
.zhenvo-h2-philosophy[data-horizontal-alignment="left"] .philosophy-button {
    left: 0 !important;
    right: auto !important;
}

.zhenvo-h2-philosophy[data-horizontal-alignment="center"] .philosophy-button {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}

.zhenvo-h2-philosophy[data-horizontal-alignment="right"] .philosophy-button {
    left: auto !important;
    right: 0 !important;
}

/* Vertical alignment */
.zhenvo-h2-philosophy[data-vertical-alignment="top"] .philosophy-button {
    top: 0 !important;
    bottom: auto !important;
}

.zhenvo-h2-philosophy[data-vertical-alignment="middle"] .philosophy-button {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
}

.zhenvo-h2-philosophy[data-vertical-alignment="bottom"] .philosophy-button {
    top: auto !important;
    bottom: 0 !important;
}

/* Combined transforms */
.zhenvo-h2-philosophy[data-horizontal-alignment="center"][data-vertical-alignment="middle"] .philosophy-button {
    transform: translate(-50%, -50%) !important;
}

.zhenvo-h2-philosophy[data-horizontal-alignment="center"][data-vertical-alignment="top"] .philosophy-button {
    transform: translateX(-50%) !important;
}

.zhenvo-h2-philosophy[data-horizontal-alignment="center"][data-vertical-alignment="bottom"] .philosophy-button {
    transform: translateX(-50%) !important;
}

.zhenvo-h2-philosophy[data-horizontal-alignment="left"][data-vertical-alignment="middle"] .philosophy-button {
    transform: translateY(-50%) !important;
}

.zhenvo-h2-philosophy[data-horizontal-alignment="right"][data-vertical-alignment="middle"] .philosophy-button {
    transform: translateY(-50%) !important;
}