.wvg-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

/* 2 Columns Responsive */
.wvg-columns-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .wvg-columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3 Columns Responsive */
.wvg-columns-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .wvg-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .wvg-columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 4 Columns Responsive */
.wvg-columns-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .wvg-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .wvg-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .wvg-columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.wvg-collection {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wvg-filter-form {
    width: 100%;
}

.wvg-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 18px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.wvg-filter-block {
    flex: 1 1 60%;
}

.wvg-filter-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: #aaa;
}

.wvg-filter-label {
    font-weight: 700;
}

.wvg-filter-reset {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.03);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.wvg-filter-reset:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
}

.wvg-filter-reset[hidden] {
    display: none;
}

.wvg-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wvg-filter-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wvg-chip {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 6px 14px;
    background: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    min-height: 28px;
}

.wvg-chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
}

.wvg-chip span {
    pointer-events: none;
}

.wvg-chip:hover {
    border-color: #111;
}

.wvg-chip.is-active,
.wvg-chip.is-selected {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.wvg-sort-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.wvg-sort-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 700;
}

.wvg-sort-control {
    position: relative;
    min-width: 180px;
    padding: 8px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.wvg-sort-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.wvg-sort-display {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wvg-sort-icon {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.product-card {
    cursor: pointer;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.wvg-card.is-filtered-out {
    display: none !important;
}

.product-media {
    position: relative;
    background: #fff;
    border: 1px solid transparent;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.wvg-image-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wvg-image-zoom-btn span {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Ccircle cx='7' cy='7' r='5.5'/%3E%3Cpath d='M11 11l4 4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.product-card:hover .wvg-image-zoom-btn {
    opacity: 1;
    transform: translateY(0);
}

.wvg-quick-favorite-btn {
    position: absolute;
    top: 12px;
    right: 54px;
    /* 12px right + 34px width + 8px gap */
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    z-index: 25;
}

.wvg-quick-favorite-btn:hover,
.wvg-image-zoom-btn:hover {
    background: #fff;
    opacity: 1;
    transform: scale(1.1);
    /* Zoom effect */
}

.wvg-quick-favorite-btn.is-active {
    color: #e00000;
}

.wvg-quick-favorite-btn.is-active svg,
.wvg-quick-favorite-btn.is-active span svg {
    fill: #e00000;
}

.product-card:hover .wvg-quick-favorite-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-image-container {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding-top: 110%;
    overflow: hidden;
    display: block;
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    will-change: transform;
}

.product-image-container img {
    transform: scale(1);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image-container img {
    transform: scale(1.25);
}

.wvg-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    z-index: 5;
}

.badge {
    position: static;
    font-size: 9px;
    font-weight: 700;
    padding: 5px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge-sale {
    color: #e00000;
}

.badge-percent {
    background: #e00000;
    color: #fff;
}

.hover-details-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 0;
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.product-card:hover .hover-details-panel {
    transform: translateY(0);
}

.size-label {
    font-size: 9px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
    transition: color 0.3s;
}

.size-label.error {
    color: #e00000;
    font-weight: 800;
}

.wvg-selected-size-display {
    font-size: 10px;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 8px;
    text-align: center;
}

.wvg-selected-size-display span {
    color: #000;
    font-weight: 800;
}

.wvg-form table.variations {
    width: 100%;
    margin: 0;
}

.wvg-form table.variations th,
.wvg-form table.variations td.label,
.wvg-form .reset_variations {
    display: none !important;
}

.wvg-form table.variations td.value {
    display: block;
    width: 100%;
    padding: 0;
}

.wvg-form form.cart {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.wvg-form-full {
    width: 100%;
}

.wvg-form {
    width: 100%;
}

.wvg-form .woocommerce-variation-add-to-cart {
    margin-top: 0;
}

.wvg-card .quantity {
    display: none !important;
}

.wvg-form .single_add_to_cart_button {
    width: 100%;
    display: block;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 0;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 5px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wvg-form .single_add_to_cart_button:hover,
.wvg-form .single_add_to_cart_button:focus {
    background: #000;
    color: #fff;
}

.wvg-form .single_add_to_cart_button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0s;
}

.product-card:hover .wvg-form .single_add_to_cart_button::after {
    left: 150%;
    transition: left 0.7s ease-in-out 0.45s;
}

.wvg-form .single_add_to_cart_button:hover,
.wvg-form .single_add_to_cart_button:focus {
    transform: scale(1.02);
}

.product-static-info {
    text-align: center;
    padding: 0 5px;
}

.static-brand {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.static-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    line-height: 1.2;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.static-title a {
    color: inherit;
    text-decoration: none;
}

.static-price {
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.static-price .price-old {
    text-decoration: line-through;
    color: #ccc;
    margin-right: 6px;
    font-weight: 400;
}

.wvg-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.wvg-btn-secondary {
    background: transparent;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.wvg-btn-primary {
    background: #111;
    color: #fff;
}

.wvg-btn-link {
    background: none;
    color: rgba(0, 0, 0, 0.7);
    padding-inline: 4px;
}

.wvg-btn:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.wvg-swatch-hidden-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.wvg-swatch-field {
    margin-top: 12px;
}

.wvg-swatch-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    color: rgba(0, 0, 0, 0.65);
}

.wvg-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

.wvg-swatch {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 8px 14px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wvg-swatch:hover:not(.is-disabled) {
    border-color: #111;
    transform: translateY(-1px);
}

.wvg-swatch.is-selected {
    background: #111;
    color: #fff;
    border-color: #111;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.wvg-swatch.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.wvg-modal-open {
    overflow: hidden;
}

.wvg-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.wvg-modal.is-active {
    display: flex;
}

.wvg-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.wvg-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(600px, 90vw);
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.wvg-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    cursor: pointer;
}

.wvg-modal-header h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
}

.wvg-modal-message {
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
}

.wvg-modal-cart {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px;
    max-height: 320px;
    overflow: auto;
}

.wvg-modal-cart .cart_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.wvg-modal-cart .wvg-cart-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 16px;
}

.wvg-cart-item-media img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 8px;
}

.wvg-cart-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wvg-cart-item-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
}

.wvg-cart-item-meta {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.wvg-cart-item-meta span {
    font-size: 0.85rem;
    text-transform: none;
    font-weight: 600;
    color: #000;
    letter-spacing: 0;
}

.wvg-cart-item-meta a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.wvg-cart-item-price {
    font-family: monospace;
    font-weight: 600;
}

.wvg-cart-remove-btn {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
}

.wvg-icon-trash {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%23000" stroke-width="1.5"><path d="M2 4h12"/><path d="M6 4V2h4v2"/><path d="M4.5 4l.5 9c.05.9.8 1.6 1.7 1.6h1.6c.9 0 1.66-.7 1.7-1.6l.5-9"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wvg-cart-empty {
    margin: 0;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
}

.wvg-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.wvg-empty-state {
    text-align: center;
    border: 1px dashed rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 36px 20px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
}

.wvg-empty-state[hidden] {
    display: none !important;
}

.wvg-image-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.wvg-image-modal.is-active {
    display: flex;
}

.wvg-image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.wvg-image-modal-dialog {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 900px);
    max-height: min(90vh, 900px);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wvg-image-modal-dialog img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wvg-image-modal-close:hover {
    color: #000;
}

/* Cart Icon Shortcode Styles */
.wvg-cart-icon-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.wvg-cart-icon-trigger:hover {
    opacity: 0.7;
    color: inherit;
}

.wvg-cart-icon-svg svg {
    display: block;
    width: 24px;
    height: 24px;
}

.wvg-cart-count-badge,
.wvg-favorites-count-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.wvg-item-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #000;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 5;
}

.wvg-cart-count-badge[data-count="0"] {
    display: none;
}

.wvg-image-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

@keyframes wvg-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.cart-item-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: #f9f9f9;
    padding: 10px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Product Page Swatches */
.wvg-swatches-container {
    margin-top: 10px !important;
    margin-bottom: 0px !important;
}

.wvg-opt-btn {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Soft border like chips */
    padding: 0 10px;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    /* Rounded like chips */
    margin-right: 6px;
    margin-bottom: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wvg-opt-btn:hover {
    border-color: #000;
    transform: translateY(-1px);
}

.wvg-opt-btn.selected {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#wvg-cart-content a h4:hover {
    color: #666;
}

.cart-remove-btn:hover {
    color: #e74c3c !important;
}

.wvg-sale-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    color: #ccc;
    cursor: help;
    transition: all 0.3s ease;
    box-shadow: none;
    margin: 0 0 0 8px;
    vertical-align: middle;
}

.wvg-sale-badge:hover {
    transform: none;
    box-shadow: none;
    color: #999;
}

.wvg-sale-badge svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
}

/* Quick View Modal Styles */
.wvg-quickview-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(18, 19, 20, .48);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .15s linear;
}

.wvg-quickview-overlay.is-active {
    display: flex;
    opacity: 1;
}

.wvg-quickview-modal {
    position: relative;
    background: #fff;
    max-width: 1200px;
    width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

    /* Animation Initial State */
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Slight bounce/pop effect */
}

.wvg-quickview-overlay.is-active .wvg-quickview-modal {
    opacity: 1;
    transform: translateY(0);
}

.wvg-quickview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wvg-quickview-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.wvg-quickview-content {
    display: flex;
    min-height: 500px;
}

.wvg-quickview-image-col {
    position: relative;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.wvg-quickview-image-wrapper {
    width: 100%;
    height: 70vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* Ensure it's relative for absolute children */
}

/* Quick View Favorites Button */
.wvg-quickview-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.wvg-quickview-fav-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #d32f2f;
    /* Red on hover */
    border-radius: 50% !important;
    border-color: rgba(0, 0, 0, 0.15);
}

.wvg-quickview-fav-btn.is-active {
    color: #d32f2f;
    border-color: #d32f2f;
}

.wvg-quickview-fav-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* Single Product Page Favorites Button */
.wvg-single-product-fav-btn {
    position: absolute;
    top: 15px;
    /* Updated per user request */
    /* Match gallery trigger */
    right: calc(15px + 36px + 10px);
    /* Left of trigger: right + width + gap */
    z-index: 9;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50% !important;
    /* Force circular shape */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    /* Override wvg-quick-favorite-btn hidden state */
    transform: none !important;
    /* Override wvg-quick-favorite-btn transform */
}

.wvg-single-product-fav-btn:hover {
    transform: scale(1.1) !important;
    color: #333;
    /* Keep default color on hover per user request */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.wvg-single-product-fav-btn.is-active {
    color: #d32f2f;
}

/* Match Gallery Trigger Style to Favorites Button */
.woocommerce-product-gallery__trigger {
    border-radius: 50% !important;
    top: 15px !important;
    /* Align with Fav Button */
    right: 15px !important;
    /* Align with Fav Button logic */
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box !important;
    /* Fix sizing */
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.woocommerce-product-gallery__trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.woocommerce-product-gallery__trigger img {
    height: auto !important;
    width: 20px !important;
    /* Enforce icon size */
    margin: 0 !important;
}

.wvg-quickview-details-col {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
    background: #fff;
}

.wvg-quickview-details-inner {
    max-width: 100%;
}

/* View Product Button Hover */
.wvg-view-product-btn:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* Add to Cart Button in Modal */
.wvg-quickview-modal .single_add_to_cart_button {
    width: 100%;
    display: block;
    padding: 15px 0 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 1px;
}

/* View Product Button in Modal */
.wvg-quickview-modal .wvg-view-product-btn {
    padding: 15px 0 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 1px;
}

/* Text Alignment in Modal */
.wvg-quickview-modal .static-title,
.wvg-quickview-modal .static-title a,
.wvg-quickview-modal .price,
.wvg-quickview-modal .wvg-short-description {
    text-align: left;
}

/* Navigation Arrows */
.wvg-quickview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.wvg-quickview-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.wvg-nav-prev {
    left: 20px;
}

.wvg-nav-next {
    right: 20px;
}

/* Responsive */
@media (max-width: 640px) {
    .wvg-quickview-content {
        flex-direction: column;
    }

    .wvg-quickview-image-col,
    .wvg-quickview-details-col {
        width: 100% !important;
    }

    .wvg-quickview-image-col {
        min-height: 300px;
        padding: 20px;
    }

    .wvg-quickview-details-col {
        padding: 20px;
    }

    .wvg-quickview-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .wvg-nav-prev {
        left: 10px;
    }

    .wvg-nav-next {
        right: 10px;
    }
}

/* Prevent body scroll when modal is open */
body.wvg-modal-open {
    overflow: hidden;
}

/* Success Notice Bar */
.wvg-success-notice {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #4caf50;
    color: white;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.wvg-success-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wvg-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}