/**
 * Sh-Virtual Product Panel — Styles
 *
 * @package Sh_Product_Images_Widget
 */

/* ============================================================
   Sh-Virtual — Hero + Slate palette
   ============================================================ */
:root {
    --shv-blue-900: #0D47A1;
    --shv-blue-800: #1565C0;
    --shv-blue-700: #1976D2;
    --shv-blue-600: #2196F3;
    --shv-blue-500: #42A5F5;
    --shv-blue-400: #64B5F6;
    --shv-blue-200: #90CAF9;
    --shv-blue-100: #e3f2fd;
    --shv-blue-50:  #f4f9ff;
    --shv-blue-25:  #f8fbff;
    --shv-ink:      #0b2a3b;
    --shv-body:     #2c2c3a;
    --shv-muted:    #64748b;
    --shv-line:     #dce8f0;
    --shv-line-soft:#e8edf3;
    --shv-gold:     #FFD700;
    --shv-red:      #e74c3c;
    --shv-hero-ink: #1a1a2e;
}

.sh-virtual-main {
    contain: layout;
    position: relative;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.shv-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    transition: background 0.5s ease;
    border-radius: 32px;
}

.shv-hero::before,
.shv-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: shvFloatShape 14s infinite ease-in-out;
}
.shv-hero::before {
    width: 400px;
    height: 400px;
    top: -120px;
    left: -150px;
    background: rgba(255, 255, 255, 0.15);
    animation-duration: 14s;
}
.shv-hero::after {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    background: rgba(255, 255, 255, 0.18);
    animation-duration: 16s;
    animation-delay: -3s;
    border-radius: 30% 70% 50% 50% / 30% 30% 70% 70%;
}
@keyframes shvFloatShape {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate(30px, -50px) scale(1.1) rotate(10deg); }
    50%  { transform: translate(-20px, 30px) scale(0.9) rotate(-5deg); }
    75%  { transform: translate(40px, 20px) scale(1.05) rotate(8deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

.shv-hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}
.shv-hero__wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.shv-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.shv-hero__left {
    flex: 1 1 52%;
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
    max-width: 58%;
    min-width: 0;
    overflow: hidden;
}

.shv-hero__texts {
    color: var(--shv-hero-ink);
    text-shadow: 0 2px 15px rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.shv-hero__title {
    margin: 0;
    font-size: 3.3rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.shv-hero__subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 100%;
}

.shv-hero__subtitle {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--shv-red);
    line-height: 1.35;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

/* ============================================================
   HERO CARD — Category fallback (no vendor)
   ============================================================ */
.shv-hero__card-wrapper {
    width: 100%;
    max-width: 480px;
}

.shv-hero__card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 80px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    min-height: 72px;
}
.shv-hero__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.shv-hero__card-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    width: 100%;
    gap: 0;
    padding: 0;
}

.shv-hero__card-thumb-wrap {
    flex: 0 0 72px;
    width: 72px;
    align-self: stretch;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

.shv-hero__card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    margin: 0;
    padding: 0;
    transition: transform 0.35s ease;
    pointer-events: none;
    -webkit-user-drag: none;
}
.shv-hero__card:hover .shv-hero__card-thumb {
    transform: scale(1.08);
}

.shv-hero__card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    gap: 12px;
    padding: 10px 20px 10px 18px;
}

.shv-hero__card-texts {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
    flex: 1 1 auto;
}

.shv-hero__card-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.shv-hero__card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--shv-hero-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shv-hero__card-browse {
    background: var(--shv-red);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 40px;
    white-space: nowrap;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}
.shv-hero__card:hover .shv-hero__card-browse {
    background: #c0392b;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.shv-hero__card--no-thumb .shv-hero__card-body {
    padding-inline-start: 28px;
}

/* ============================================================
   FLOATING VENDOR BADGE
   ============================================================ */
.shv-vendor-float-wrap {
    position: relative;
    z-index: 6;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
}

.shv-vendor-float {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
    outline: none;
    max-width: 100%;
    min-width: 0;
}

.shv-vendor-float:focus-visible {
    outline: 2px solid rgba(231, 76, 60, 0.55);
    outline-offset: 6px;
    border-radius: 24px;
}

.shv-vendor-float__thumb-circle {
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
    border-radius: 50%;
    border: 3px solid #e74c3c;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    box-shadow:
        0 14px 36px rgba(231, 76, 60, 0.30),
        0 0 0 6px rgba(255, 255, 255, 0.75);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shv-vendor-float:hover .shv-vendor-float__thumb-circle {
    transform: scale(1.03);
    box-shadow:
        0 18px 44px rgba(231, 76, 60, 0.40),
        0 0 0 6px rgba(255, 255, 255, 0.95);
}

.shv-vendor-float__thumb-circle .shv-hero__card-thumb-wrap {
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
    align-self: stretch;
    padding: 0;
    margin: 0;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.shv-vendor-float__thumb-circle .shv-hero__card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.shv-vendor-float__name-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 96px;
    min-width: 0;
    max-width: 720px;
    flex: 0 1 auto;
    padding: 18px 32px 18px 48px;
    margin-inline-start: -28px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(231, 76, 60, 0.15);
    box-shadow:
        0 14px 38px rgba(15, 23, 42, 0.12),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shv-vendor-float:hover .shv-vendor-float__name-box {
    transform: translateY(-2px);
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.18),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

.shv-vendor-float__name-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.shv-vendor-float__name-box .shv-hero__card-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
    margin: 0;
}

.shv-vendor-float__name-box .shv-hero__card-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--shv-hero-ink);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    min-width: 0;
}

.shv-vendor-float__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    background-image: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1;
    border-radius: 40px;
    white-space: nowrap;
    flex-shrink: 0;
    border: 0;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(231, 76, 60, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.shv-vendor-float__cta svg {
    width: 14px;
    height: 14px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.shv-vendor-float:hover .shv-vendor-float__cta {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(231, 76, 60, 0.48);
}

.shv-vendor-float:hover .shv-vendor-float__cta svg {
    transform: translateX(3px);
}

.shv-hero__right {
    flex: 0 0 40%;
    max-width: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    min-width: 0;
}

.sh-virtual-product__panel {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 26px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(33, 150, 243, 0.12);
    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(33, 150, 243, 0.06);
}

.sh-virtual-product__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    min-height: 40px;
    flex-wrap: nowrap;
}

.sh-virtual-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.sh-virtual-action-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sh-virtual-action-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    background-image: none;
    position: relative;
    z-index: 3;
}

.sh-virtual-action-btn:hover,
.sh-virtual-action-btn:focus-visible {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
    outline: none;
}

.sh-virtual-action-btn:active {
    transform: translateY(0) scale(0.98);
}

.sh-virtual-action-btn.is-clicked {
    transform: scale(0.9);
    transition: transform 0.15s ease;
}

.sh-virtual-wishlist-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.sh-virtual-wishlist-btn:hover,
.sh-virtual-wishlist-btn:focus-visible {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.sh-virtual-wishlist-btn.active .sh-virtual-wishlist-icon path,
.sh-virtual-wishlist-btn.is-active .sh-virtual-wishlist-icon path {
    fill: #ffffff;
    stroke: #ffffff;
}

.sh-virtual-share-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sh-virtual-share-btn:hover,
.sh-virtual-share-btn:focus-visible {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sh-virtual-wishlist-icon,
.sh-virtual-share-icon {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}

.sh-virtual-action-text {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background-color 0.22s ease;
    pointer-events: none;
    z-index: 100;
    font-family: inherit;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sh-virtual-action-item:hover .sh-virtual-action-text,
.sh-virtual-action-btn:focus-visible + .sh-virtual-action-text,
.sh-virtual-action-text.is-forced {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.sh-virtual-action-text.is-forced {
    background: #16a34a;
    border-color: rgba(255, 255, 255, 0.2);
}

.sh-virtual-product__price {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--shv-blue-800);
    line-height: 1.2;
    flex: 1 1 auto;
    min-width: 0;
    text-align: start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sh-virtual-product__price .woocommerce-Price-amount,
.sh-virtual-product__price .amount {
    color: inherit;
}

.sh-virtual-product__price del {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.7em;
    margin-inline-end: 6px;
}

.sh-virtual-product__price ins {
    text-decoration: none;
    color: var(--shv-blue-800);
}

.sh-virtual-product__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    line-height: 1;
    min-height: 28px;
    flex-wrap: wrap;
}

.shv-stars {
    position: relative;
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
    direction: ltr;
}

.shv-stars__empty,
.shv-stars__filled {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 0;
}

.shv-stars__empty {
    color: #d5d8dc;
}

.shv-stars__filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: #FFD700;
}

.shv-star {
    display: block;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
}

.shv-stars__filled .shv-star {
    filter: drop-shadow(0 1px 1px rgba(255, 215, 0, 0.30));
}

.shv-rating-summary {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 15px;
    line-height: 1;
    color: var(--shv-muted);
    font-weight: 500;
    white-space: nowrap;
    direction: inherit;
}

.shv-rating-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--shv-blue-800);
    line-height: 1;
}

.shv-rating-count {
    color: var(--shv-muted);
    font-weight: 500;
    line-height: 1;
}

.sh-virtual-product__cart { margin-top: 6px; }

.sh-virtual-product__cart form.cart {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.sh-virtual-product__cart .sh-virtual-addons-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.sh-virtual-product__cart .wc-pao-addon,
.sh-virtual-product__cart .wc-pao-addon-container,
.sh-virtual-product__cart .product-addon { width: 100%; }

.sh-virtual-product__cart .wc-pao-addon label,
.sh-virtual-product__cart .product-addon label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--shv-ink);
}

.sh-virtual-product__cart .wc-pao-addon input[type="text"],
.sh-virtual-product__cart .wc-pao-addon input[type="email"],
.sh-virtual-product__cart .wc-pao-addon input[type="number"],
.sh-virtual-product__cart .wc-pao-addon input[type="tel"],
.sh-virtual-product__cart .wc-pao-addon input[type="file"],
.sh-virtual-product__cart .wc-pao-addon textarea,
.sh-virtual-product__cart .wc-pao-addon select,
.sh-virtual-product__cart .product-addon input[type="text"],
.sh-virtual-product__cart .product-addon input[type="email"],
.sh-virtual-product__cart .product-addon input[type="number"],
.sh-virtual-product__cart .product-addon input[type="tel"],
.sh-virtual-product__cart .product-addon input[type="file"],
.sh-virtual-product__cart .product-addon textarea,
.sh-virtual-product__cart .product-addon select {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--shv-line);
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}

.sh-virtual-product__cart .wc-pao-addon textarea,
.sh-virtual-product__cart .product-addon textarea {
    min-height: 90px;
    resize: vertical;
}

.sh-virtual-product__cart .wc-pao-addon-radio-group label,
.sh-virtual-product__cart .wc-pao-addon-checkbox-group label {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline-end: 12px;
}

.sh-virtual-product__cart .button,
.sh-virtual-product__cart button.single_add_to_cart_button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
    cursor: pointer;
    color: #ffffff !important;
    background-image: linear-gradient(135deg, #2196F3 0%, #1976D2 55%, #0D47A1 100%);
    background-color: #2196F3;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    width: 100%;
}

.sh-virtual-product__cart .button::before,
.sh-virtual-product__cart button.single_add_to_cart_button::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.button.single_add_to_cart_button {
    gap:10px;
}

.sh-virtual-product__cart .button:hover,
.sh-virtual-product__cart button.single_add_to_cart_button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.45);
}

.sh-virtual-product__cart .button:active,
.sh-virtual-product__cart button.single_add_to_cart_button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.35);
}

.sh-virtual-product__cart .button.shpa-addons-without::before { display: none; }

.sh-virtual-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    min-height: 32px;
}

.sh-virtual-payments img {
    width: 100%;
    max-width: 100% !important;
    height: auto;
    display: block;
    opacity: 0.95;
}

.sh-virtual-product__cart .variations {
    width: 100%;
    border-collapse: collapse;
}

.sh-virtual-product__cart .variations th,
.sh-virtual-product__cart .variations td {
    padding: 6px 0;
    text-align: start;
    vertical-align: middle;
    border: 0;
}

.sh-virtual-product__cart .variations select {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--shv-line);
    border-radius: 10px;
    background: #fff;
}

.sh-virtual-product__cart .shpa-addons > .sh-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px;
    background: linear-gradient(180deg, #e3f2fd 0%, #f4f9ff 100%);
    border: 1px solid #d4e3f5;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(33, 150, 243, 0.06);
}

.sh-virtual-product__cart .sh-tabs-nav .sh-tab-btn {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 14px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: #0D47A1;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: inherit;
}

.sh-virtual-product__cart .sh-tabs-nav .sh-tab-btn:hover {
    color: #0D47A1;
    background: rgba(33, 150, 243, 0.12);
}

.sh-virtual-product__cart .sh-tabs-nav .sh-tab-btn:focus {
    outline: 2px solid rgba(33, 150, 243, 0.45);
    outline-offset: 2px;
}

.sh-virtual-product__cart .sh-tabs-nav .sh-tab-btn.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #1976D2 0%, #42A5F5 55%, #64B5F6 100%);
    transform: translateY(-1px);
}

.sh-virtual-product__cart .sh-tabs-nav .sh-tab-btn.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.85);
}

.sh-virtual-product__cart .shpa-addons.sh-tabbed > .shpa-block {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.sh-virtual-product__cart .shpa-addons.sh-tabbed > .shpa-block > .shpa-block-title {
    display: none;
}

.sh-virtual-product__cart .shpa-addons.sh-tabbed > .shpa-block.sh-tab-hidden {
    display: none !important;
}

.shpa-addons-modal-content > .sh-tabs-nav { display: none !important; }
.shpa-addons-modal-content > .shpa-block.sh-tab-hidden { display: block !important; }

@media (max-width: 767px) {
    .shv-hero .shpa-addons,
    .sh-virtual-product__panel .shpa-addons {
        display: block !important;
    }
}

.sh-virtual-gallery-wrapper { width: 100%; }

.sh-virtual-gallery {
    position: relative;
    width: 100%;
    margin: 24px auto 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.sh-virtual-gallery__title { display: none !important; }

.sh-virtual-gallery__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background:
        radial-gradient(circle at 20% 20%, rgba(33, 150, 243, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 85% 85%, rgba(100, 181, 246, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.10),
        inset 0 0 0 1px rgba(15, 23, 42, 0.04);
    cursor: grab;
    touch-action: pan-y;
    max-height: 550px;
}

.sh-virtual-gallery__stage.is-dragging { cursor: grabbing; }

.sh-virtual-gallery__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.985);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.5s ease;
    will-change: transform, opacity;
    box-sizing: border-box;
}

.sh-virtual-gallery__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.sh-virtual-gallery__slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    pointer-events: none;
    -webkit-user-drag: none;
    transition: transform 0.4s ease;
}

.sh-virtual-gallery__stage:hover .sh-virtual-gallery__slide.is-active img {
    transform: scale(1.02);
}

.sh-virtual-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: #1976D2;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease, color 0.18s ease;
    z-index: 3;
    opacity: 0.92;
}

.sh-virtual-gallery__nav:hover {
    background: #ffffff;
    color: #0D47A1;
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
}

.sh-virtual-gallery__nav:focus {
    outline: 2px solid rgba(33, 150, 243, 0.45);
    outline-offset: 2px;
}

.sh-virtual-gallery__nav svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sh-virtual-gallery__nav--prev { left: 10px; }
.sh-virtual-gallery__nav--next { right: 10px; }

.sh-virtual-gallery__nav[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.sh-virtual-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sh-virtual-gallery__thumbs::-webkit-scrollbar { display: none; }

.sh-virtual-gallery__thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 48px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    position: relative;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
    opacity: 0.75;
}

.sh-virtual-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    pointer-events: none;
    -webkit-user-drag: none;
}

.sh-virtual-gallery__thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    opacity: 1;
}

.sh-virtual-gallery__thumb:hover img { transform: scale(1.06); }

.sh-virtual-gallery__thumb.is-active {
    border-color: #2196F3;
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.28);
    opacity: 1;
}

.sh-virtual-product-desc-block {
    position: relative;
    width: 100%;
    margin: 20px 0 0;
    background: #ffffff;
    border: 1px solid var(--shv-line);
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.25s ease;
}

.sh-virtual-product-desc-block:hover {
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.10);
}

.sh-virtual-product-desc-block__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f4f9ff 100%);
    border-bottom: 1px solid #d4e3f5;
    position: relative;
}

.sh-virtual-product-desc-block__icon {
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: contain;
    border-radius: 12px;
    background-color: transparent;
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.22);
}

.sh-virtual-product-desc-block__title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--shv-ink);
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.sh-virtual-product-desc-block__content {
    padding: 22px 28px;
    color: var(--shv-body);
    font-size: 15px;
    line-height: 1.85;
}

.sh-virtual-product-desc-block__content > *:first-child { margin-top: 0; }
.sh-virtual-product-desc-block__content > *:last-child  { margin-bottom: 0; }
.sh-virtual-product-desc-block__content p { margin: 0 0 12px; }

.sh-virtual-product-desc-block__content h1,
.sh-virtual-product-desc-block__content h2,
.sh-virtual-product-desc-block__content h3,
.sh-virtual-product-desc-block__content h4,
.sh-virtual-product-desc-block__content h5,
.sh-virtual-product-desc-block__content h6 {
    color: var(--shv-ink);
    margin: 0 0 12px;
    line-height: 1.4;
}

.sh-virtual-product-desc-block__content ul,
.sh-virtual-product-desc-block__content ol {
    margin: 0 0 12px;
    padding-inline-start: 22px;
}

.sh-virtual-product-desc-block__content li { margin-bottom: 6px; }

.sh-virtual-product-desc-block__content a {
    color: #1976D2;
    text-decoration: none;
}

.sh-virtual-product-desc-block__content a:hover {
    color: #0D47A1;
    text-decoration: underline;
}

.sh-virtual-product-desc-block__content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.sh-virtual-faq {
    position: relative;
    width: 100%;
    margin: 20px 0 0;
    background: #ffffff;
    border: 1px solid var(--shv-line);
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.25s ease;
}

.sh-virtual-faq:hover { box-shadow: 0 10px 32px rgba(15, 23, 42, 0.10); }

.sh-virtual-faq__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f4f9ff 100%);
    border-bottom: 1px solid #d4e3f5;
    position: relative;
}

.sh-virtual-faq__icon {
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(33, 150, 243, 0.18);
}

.sh-virtual-faq__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--shv-ink);
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.sh-virtual-faq__list {
    padding: 6px 0;
    background-color: #ffffff;
}

.sh-virtual-faq__item {
    border-bottom: 1px solid #f1f5f9;
    background-color: #ffffff;
}
.sh-virtual-faq__item:last-child { border-bottom: 0; }

.sh-virtual-faq__q,
.sh-virtual-faq__q:link,
.sh-virtual-faq__q:visited,
.sh-virtual-faq__q:hover,
.sh-virtual-faq__q:focus,
.sh-virtual-faq__q:focus-visible,
.sh-virtual-faq__q:active {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background-color: #ffffff;
    background-image: none;
    border: 0;
    border-radius: 0;
    text-align: start;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    box-sizing: border-box;
    transition: background-color 0.18s ease, color 0.18s ease;
    box-shadow: none;
    color: var(--shv-ink) !important;
    outline: none;
}

.sh-virtual-faq__q:hover,
.sh-virtual-faq__q:focus,
.sh-virtual-faq__q:focus-visible {
    background-color: #f4f9ff;
    color: #0D47A1 !important;
}

.sh-virtual-faq__q:focus,
.sh-virtual-faq__q:focus-visible {
    outline: 2px solid rgba(33, 150, 243, 0.45);
    outline-offset: -2px;
}

.sh-virtual-faq__item.is-open .sh-virtual-faq__q,
.sh-virtual-faq__item.is-open .sh-virtual-faq__q:hover,
.sh-virtual-faq__item.is-open .sh-virtual-faq__q:focus,
.sh-virtual-faq__item.is-open .sh-virtual-faq__q:focus-visible,
.sh-virtual-faq__item.is-open .sh-virtual-faq__q:active {
    background-color: #e3f2fd;
    color: #0D47A1 !important;
}

.sh-virtual-faq__q-text {
    flex: 1;
    min-width: 0;
    background-color: transparent;
    color: inherit !important;
}

.sh-virtual-faq__toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    background-image: linear-gradient(135deg, #1976D2 0%, #42A5F5 55%, #64B5F6 100%);
    background-color: #1976D2;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 14px rgba(33, 150, 243, 0.30);
}

.sh-virtual-faq__item.is-open .sh-virtual-faq__toggler { transform: rotate(45deg); }

.sh-virtual-faq__toggler svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sh-virtual-faq__a {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--shv-body);
    font-size: 15px;
    line-height: 1.85;
    background-color: #ffffff;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.sh-virtual-faq__item.is-open .sh-virtual-faq__a {
    max-height: 1200px;
    padding: 0 24px 20px;
}

.sh-virtual-faq__a > *:first-child { margin-top: 0; }
.sh-virtual-faq__a > *:last-child  { margin-bottom: 0; }
.sh-virtual-faq__a p { margin: 0 0 12px; }
.sh-virtual-faq__a ul,
.sh-virtual-faq__a ol {
    margin: 0 0 12px;
    padding-inline-start: 22px;
}
.sh-virtual-faq__a li { margin-bottom: 6px; }
.sh-virtual-faq__a a { color: #1976D2; text-decoration: none; }
.sh-virtual-faq__a a:hover { color: #0D47A1; text-decoration: underline; }

.sh-virtual-product-tabs {
    width: 100%;
    margin: 20px 0 0;
}

.sh-virtual-product-tab-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 32px 0;
    color: var(--shv-body);
    font-size: 15px;
    line-height: 1.85;
    box-sizing: border-box;
    border-bottom: 1px solid var(--shv-line);
}

.sh-virtual-product-tab-section:first-child { padding-top: 8px; }
.sh-virtual-product-tab-section:last-child { border-bottom: 0; padding-bottom: 0; }
.sh-virtual-product-tab-section > *:first-child { margin-top: 0; }
.sh-virtual-product-tab-section > *:last-child  { margin-bottom: 0; }

.sh-virtual-product-tab-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--shv-ink);
    position: relative;
}

.sh-virtual-product-tab-section h2,
.sh-virtual-product-tab-section h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--shv-ink);
    position: relative;
}

.sh-virtual-product-tab-section p { margin: 0 0 12px; }

.sh-virtual-product-tab-section a {
    color: #1976D2;
    text-decoration: none;
}

.sh-virtual-product-tab-section a:hover {
    color: #0D47A1;
    text-decoration: underline;
}

.sh-virtual-product-tab-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.sh-virtual-product-tab-section .woocommerce-Reviews-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--shv-ink);
    position: relative;
}

.sh-virtual-product-tab-section .comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--shv-ink);
}

.sh-virtual-product-tab-section .comment-form input[type="text"],
.sh-virtual-product-tab-section .comment-form input[type="email"],
.sh-virtual-product-tab-section .comment-form input[type="url"],
.sh-virtual-product-tab-section .comment-form input[type="number"],
.sh-virtual-product-tab-section .comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--shv-line);
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.sh-virtual-product-tab-section .star-rating { color: #f59e0b; }
.sh-virtual-product-tab-section .comment-form-rating .stars a { color: #f59e0b; }

.sh-virtual-product-tab-section .comment-form .submit,
.sh-virtual-product-tab-section .form-submit .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    color: #ffffff !important;
    background-image: linear-gradient(135deg, #1976D2 0%, #42A5F5 55%, #64B5F6 100%);
    background-color: #1976D2;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.30);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: auto;
}

.sh-virtual-product-tab-section .comment-form .submit:hover,
.sh-virtual-product-tab-section .form-submit .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.45);
}

.sh-virtual-product-tab-section table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

.sh-virtual-product-tab-section table.shop_attributes th,
.sh-virtual-product-tab-section table.shop_attributes td {
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid #e8e8e8;
    text-align: start;
}

.sh-virtual-product-tab-section table.shop_attributes th {
    width: 30%;
    font-weight: 600;
    background-color: #e3f2fd;
    color: var(--shv-ink);
}

.sh-virtual-product-tab-section table.shop_attributes td { background-color: #ffffff; }

.sh-virtual-product-editor-message {
    padding: 20px;
    text-align: center;
    border: 1px dashed #ccc;
    border-radius: 10px;
    color: #777;
}

.sh-virtual-product-editor-message.sh-error {
    color: #721c24;
    background: #f8d7da;
    border-color: #f5c6cb;
}

.sh-virtual-product-editor-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 30px;
    background: #f5f7fa;
    border: 1px dashed #ccd2da;
    border-radius: 16px;
    text-align: center;
}

.sh-virtual-product-editor-preview__text { line-height: 2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1150px) {
    .shv-hero__title { font-size: 2.5rem; }
    .shv-hero__subtitle { font-size: 1.8rem; -webkit-line-clamp: 2; }
    .shv-hero__left { flex: 1 1 50%; max-width: 55%; }
    .shv-hero__right { flex: 0 0 44%; max-width: 420px; }
    .shv-hero__card-name { font-size: 1rem; }
    .shv-hero__card-thumb-wrap { flex: 0 0 64px; width: 64px; }
    .shv-hero__card { min-height: 64px; }
    .sh-virtual-product__panel { padding: 10px; }
    .sh-virtual-product__price { font-size: 26px; }

    .shv-vendor-float__thumb-circle {
        width: 160px;
        height: 160px;
        flex: 0 0 160px;
    }
    .shv-vendor-float__thumb-circle .shv-hero__card-thumb-wrap {
        width: 160px;
        height: 160px;
        flex: 0 0 160px;
    }
    .shv-vendor-float__name-box {
        min-height: 80px;
        min-width: 0;
        max-width: 100%;
        padding: 14px 24px 14px 36px;
        margin-inline-start: -22px;
        gap: 20px;
    }
    .shv-vendor-float__name-box .shv-hero__card-name { font-size: 1.15rem; }
    .shv-vendor-float__cta { padding: 10px 20px; font-size: 0.84rem; }
}

@media (max-width: 767px) {

    .sh-virtual-main {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .sh-virtual-main > .shv-hero {
        order: 1;
    }

    .sh-virtual-main > .sh-virtual-gallery-wrapper {
        order: 2;
        margin-top: 0;
        display: block;
        width: 100%;
    }

    .shv-hero {
        padding: 24px 0;
        border-radius: 20px;
        min-height: auto;
    }
    .shv-hero::before { width: 200px; height: 200px; top: -60px; left: -80px; }
    .shv-hero::after { width: 150px; height: 150px; }
    .shv-hero__wave { height: 60px; }
    .shv-hero__container {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 0 6px;
    }
    .shv-hero__left { flex: 1 1 auto; max-width: 100%; gap: 14px; }
    .shv-hero__right { flex: 1 1 auto; max-width: 100%; width: 100%; }
    .shv-hero__title { font-size: 2.2rem; -webkit-line-clamp: 2; }
    .shv-hero__subtitle { font-size: 1.4rem; -webkit-line-clamp: 2; }

    .shv-hero__card { min-height: 64px; border-radius: 60px; }
    .shv-hero__card-thumb-wrap { flex: 0 0 64px; width: 64px; }
    .shv-hero__card-body { padding: 8px 16px 8px 14px; gap: 10px; }
    .shv-hero__card-name { font-size: 0.95rem; }
    .shv-hero__card-label { font-size: 0.66rem; }
    .shv-hero__card-browse { font-size: 0.78rem; padding: 6px 14px; }

    .shv-vendor-float-wrap {
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        max-width: 100%;
    }
    .shv-vendor-float__thumb-circle {
        width: 150px;
        height: 150px;
        flex: 0 0 150px;
        box-shadow:
            0 10px 26px rgba(231, 76, 60, 0.28),
            0 0 0 4px rgba(255, 255, 255, 0.7);
    }
    .shv-vendor-float__thumb-circle .shv-hero__card-thumb-wrap {
        width: 150px;
        height: 150px;
        flex: 0 0 150px;
    }
    .shv-vendor-float__name-box {
        min-width: 0;
        max-width: none;
        flex: 1 1 auto;
        min-height: 76px;
        padding: 12px 16px 12px 24px;
        margin-inline-start: -18px;
        border-radius: 16px;
        gap: 12px;
        flex-wrap: wrap;
    }
    .shv-vendor-float__name-box .shv-hero__card-name { font-size: 1rem; }
    .shv-vendor-float__name-box .shv-hero__card-label { font-size: 0.68rem; }
    .shv-vendor-float__cta {
        padding: 9px 16px;
        font-size: 0.78rem;
        gap: 6px;
    }
    .shv-vendor-float__cta svg { width: 12px; height: 12px; }

    .sh-virtual-product__panel {
        padding: 18px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
    }
    .sh-virtual-product__topbar { margin: 0 0 12px; gap: 10px; align-items: center; }
    .sh-virtual-actions-wrapper { gap: 8px; }
    .sh-virtual-action-btn { width: 36px; height: 36px; }
    .sh-virtual-wishlist-icon,
    .sh-virtual-share-icon { width: 16px; height: 16px; }
    .sh-virtual-action-text { display: none; }
    .sh-virtual-product__price { font-size: 24px; }
    .sh-virtual-product__price del { font-size: 0.7em; }

    .sh-virtual-product__rating { margin: 0 0 12px; min-height: 22px; gap: 10px; }
    .shv-star { width: 20px !important; height: 20px !important; }
    .shv-stars { line-height: 0; }
    .shv-rating-summary { font-size: 13px; gap: 5px; }
    .shv-rating-value { font-size: 14px; }

    .sh-virtual-product__cart .button,
    .sh-virtual-product__cart button.single_add_to_cart_button { width: 100%; }

    .shpa-addons-modal-content > .sh-tabs-nav { display: none !important; }
    .shpa-addons-modal-content > .shpa-block.sh-tab-hidden { display: block !important; }

    .sh-virtual-product__cart .sh-tabs-nav .sh-tab-btn { padding: 10px 10px; font-size: 13px; }

    .sh-virtual-gallery { margin-top: 0; max-width: 100%; }
    .sh-virtual-gallery__stage {
        aspect-ratio: 16 / 7;
        max-height: none;
        border-radius: 18px;
        box-shadow:
            0 12px 30px rgba(15, 23, 42, 0.10),
            0 0 0 2px rgba(33, 150, 243, 0.14),
            0 0 0 5px rgba(100, 181, 246, 0.06),
            inset 0 0 0 1px rgba(15, 23, 42, 0.03);
        cursor: default;
    }
    .sh-virtual-gallery__slide {
        padding: 0;
        transform: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        overflow: hidden;
    }
    .sh-virtual-gallery__slide.is-active { transform: none; }
    .sh-virtual-gallery__slide img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: center center;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transition: none;
    }
    .sh-virtual-gallery__stage:hover .sh-virtual-gallery__slide.is-active img { transform: none; }
    .sh-virtual-gallery__nav {
        width: 36px;
        height: 36px;
        box-shadow:
            0 6px 16px rgba(15, 23, 42, 0.14),
            0 0 0 1px rgba(33, 150, 243, 0.18);
    }
    .sh-virtual-gallery__nav--prev { left: 8px; }
    .sh-virtual-gallery__nav--next { right: 8px; }
    .sh-virtual-gallery__nav svg { width: 16px; height: 16px; }
    .sh-virtual-gallery__thumbs { margin-top: 10px; padding: 2px 2px; }
    .sh-virtual-gallery__thumb { width: 56px; height: 42px; border-radius: 10px; background: #f8fafc; }
    .sh-virtual-gallery__thumb.is-active {
        border-color: #2196F3;
        box-shadow: 0 0 0 1px #2196F3, 0 6px 16px rgba(33, 150, 243, 0.30);
    }

    .sh-virtual-product-desc-block { margin: 10px 0; border-radius: 18px; }
    .sh-virtual-product-desc-block__header { padding: 10px 16px; gap: 10px; }
    .sh-virtual-product-desc-block__icon { width: 30px; height: 30px; flex: 0 0 30px; }
    .sh-virtual-product-desc-block__title { font-size: 16px; }
    .sh-virtual-product-desc-block__content { padding: 16px 18px; font-size: 14px; line-height: 1.75; }

    .sh-virtual-faq { margin-top: 0; border-radius: 18px; }
    .sh-virtual-faq__header { padding: 10px 16px; gap: 10px; }
    .sh-virtual-faq__icon { width: 30px; height: 30px; flex: 0 0 30px; }
    .sh-virtual-faq__title { font-size: 16px; }
    .sh-virtual-faq__q { padding: 12px 16px; font-size: 14px; gap: 10px; }
    .sh-virtual-faq__toggler { width: 24px; height: 24px; flex: 0 0 24px; }
    .sh-virtual-faq__toggler svg { width: 12px; height: 12px; }
    .sh-virtual-faq__a { padding: 0 16px; font-size: 14px; line-height: 1.75; }
    .sh-virtual-faq__item.is-open .sh-virtual-faq__a { padding: 0 16px 14px; }

    .sh-virtual-product-tabs { margin-top: 14px; }
    .sh-virtual-product-tab-section { padding: 22px 0; font-size: 14px; line-height: 1.75; }
    .sh-virtual-product-tab-section:first-child { padding-top: 6px; }
    .sh-virtual-product-tab-section:last-child { padding-bottom: 0; }
    .sh-virtual-product-tab-title,
    .sh-virtual-product-tab-section h2,
    .sh-virtual-product-tab-section h3,
    .sh-virtual-product-tab-section .woocommerce-reviews-title { font-size: 17px; }
}

@media (max-width: 480px) {
    .shv-hero__title { font-size: 1.3rem; }
    .shv-hero__subtitle { font-size: 1.15rem; -webkit-line-clamp: 2; }
    .shv-hero__card { min-height: 56px; border-radius: 50px; }
    .shv-hero__card-thumb-wrap { flex: 0 0 56px; width: 56px; }
    .shv-hero__card-body { padding: 6px 12px 6px 12px; }
    .shv-hero__card-name { font-size: 0.85rem; }
    .shv-hero__card-label { font-size: 0.6rem; margin-bottom: 1px; }
    .shv-hero__card-browse { font-size: 0.7rem; padding: 5px 12px; }
    .sh-virtual-product__price { font-size: 22px; }

    .shv-vendor-float-wrap {
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
    }
    .shv-vendor-float__thumb-circle {
        width: 120px;
        height: 120px;
        flex: 0 0 120px;
    }
    .shv-vendor-float__thumb-circle .shv-hero__card-thumb-wrap {
        width: 120px;
        height: 120px;
        flex: 0 0 120px;
    }
    .shv-vendor-float__name-box {
        min-height: 60px;
        padding: 8px 12px 8px 18px;
        margin-inline-start: -14px;
        gap: 10px;
    }
    .shv-vendor-float__name-box .shv-hero__card-name { font-size: 0.88rem; }
    .shv-vendor-float__name-box .shv-hero__card-label { font-size: 0.6rem; }
    .shv-vendor-float__cta {
        padding: 7px 12px;
        font-size: 0.7rem;
        gap: 5px;
    }
    .shv-vendor-float__cta svg { width: 10px; height: 10px; }
}

/* ============================================================
   RTL
   ============================================================ */
html[dir="rtl"] .shv-hero__title,
body.rtl .shv-hero__title,
.rtl .shv-hero__title { letter-spacing: 0; }

html[dir="rtl"] .sh-virtual-product__price,
body.rtl .sh-virtual-product__price,
.rtl .sh-virtual-product__price { text-align: right; direction: ltr; }

html[dir="rtl"] .sh-virtual-product__rating,
body.rtl .sh-virtual-product__rating,
.rtl .sh-virtual-product__rating { flex-direction: row-reverse; justify-content: flex-end; }

html[dir="rtl"] .shv-hero__card-link,
body.rtl .shv-hero__card-link,
.rtl .shv-hero__card-link { flex-direction: row-reverse; }

html[dir="rtl"] .shv-hero__card--no-thumb .shv-hero__card-body,
body.rtl .shv-hero__card--no-thumb .shv-hero__card-body,
.rtl .shv-hero__card--no-thumb .shv-hero__card-body {
    padding-inline-start: 20px;
    padding-inline-end: 28px;
}

html[dir="rtl"] .shv-vendor-float-wrap,
body.rtl .shv-vendor-float-wrap,
.rtl .shv-vendor-float-wrap {
    justify-content: flex-start;
    align-self: flex-start;
    padding: 0;
}

html[dir="rtl"] .shv-vendor-float__name-box,
body.rtl .shv-vendor-float__name-box,
.rtl .shv-vendor-float__name-box {
    margin-inline-start: -28px;
    padding: 18px 48px 18px 32px;
}

html[dir="rtl"] .shv-vendor-float__cta svg,
body.rtl .shv-vendor-float__cta svg,
.rtl .shv-vendor-float__cta svg { transform: scaleX(-1); }

html[dir="rtl"] .shv-vendor-float:hover .shv-vendor-float__cta svg,
body.rtl .shv-vendor-float:hover .shv-vendor-float__cta svg,
.rtl .shv-vendor-float:hover .shv-vendor-float__cta svg {
    transform: scaleX(-1) translateX(3px);
}

@media (max-width: 1150px) {
    html[dir="rtl"] .shv-vendor-float__name-box,
    body.rtl .shv-vendor-float__name-box,
    .rtl .shv-vendor-float__name-box {
        padding: 14px 36px 14px 24px;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] .shv-vendor-float__name-box,
    body.rtl .shv-vendor-float__name-box,
    .rtl .shv-vendor-float__name-box {
        padding: 12px 24px 12px 16px;
    }
}

@media (max-width: 480px) {
    html[dir="rtl"] .shv-vendor-float__name-box,
    body.rtl .shv-vendor-float__name-box,
    .rtl .shv-vendor-float__name-box {
        padding: 8px 18px 8px 12px;
    }
}

/* ============================================================
   Override: رفع تداخل با استایل‌های قالب/افزونه‌ها
   ============================================================ */
.sh-virtual-product__panel .sh-virtual-wishlist-btn,
.sh-virtual-product__panel .sh-virtual-wishlist-btn:hover,
.sh-virtual-product__panel .sh-virtual-wishlist-btn:focus,
.sh-virtual-product__panel .sh-virtual-wishlist-btn:focus-visible,
.sh-virtual-product__panel .sh-virtual-wishlist-btn:active,
.sh-virtual-product__panel button.sh-virtual-wishlist-btn,
.sh-virtual-product__panel button.sp-wishlist-btn.sh-virtual-wishlist-btn {
    background-color: #f5576c !important;
    background-image: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

.sh-virtual-product__panel .sh-virtual-share-btn,
.sh-virtual-product__panel .sh-virtual-share-btn:hover,
.sh-virtual-product__panel .sh-virtual-share-btn:focus,
.sh-virtual-product__panel .sh-virtual-share-btn:focus-visible,
.sh-virtual-product__panel .sh-virtual-share-btn:active,
.sh-virtual-product__panel button.sh-virtual-share-btn {
    background-color: #764ba2 !important;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

.sh-virtual-product__panel .sh-virtual-product__cart .button,
.sh-virtual-product__panel .sh-virtual-product__cart .button.alt,
.sh-virtual-product__panel .sh-virtual-product__cart a.button,
.sh-virtual-product__panel .sh-virtual-product__cart a.button.alt,
.sh-virtual-product__panel .sh-virtual-product__cart button.button,
.sh-virtual-product__panel .sh-virtual-product__cart button.button.alt,
.sh-virtual-product__panel .sh-virtual-product__cart button.single_add_to_cart_button,
.sh-virtual-product__panel .sh-virtual-product__cart input.single_add_to_cart_button,
.sh-virtual-product__panel .sh-virtual-product__cart input.button.alt {
    background-color: #2196F3 !important;
    background-image: linear-gradient(135deg, #2196F3 0%, #1976D2 55%, #0D47A1 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    text-shadow: none !important;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.28) !important;
}

.sh-virtual-product__panel .sh-virtual-product__cart .button:hover,
.sh-virtual-product__panel .sh-virtual-product__cart .button.alt:hover,
.sh-virtual-product__panel .sh-virtual-product__cart button.single_add_to_cart_button:hover,
.sh-virtual-product__panel .sh-virtual-product__cart input.single_add_to_cart_button:hover {
    background-color: #1976D2 !important;
    background-image: linear-gradient(135deg, #2196F3 0%, #1976D2 55%, #0D47A1 100%) !important;
    color: #ffffff !important;
    filter: brightness(1.05);
}

.sh-virtual-product__panel .sh-virtual-product__cart .button:focus,
.sh-virtual-product__panel .sh-virtual-product__cart button.single_add_to_cart_button:focus,
.sh-virtual-product__panel .sh-virtual-product__cart input.single_add_to_cart_button:focus {
    color: #ffffff !important;
    outline: none;
}

.sh-virtual-product__panel .sh-virtual-product__cart .button *,
.sh-virtual-product__panel .sh-virtual-product__cart button.single_add_to_cart_button * {
    color: inherit !important;
}