.artex-reviews-wrapper {
    --artex-rev-primary: #e3000f; --artex-rev-primary-hover: #c9000d; --artex-rev-bg: #fff;
    --artex-rev-bg-alt: #fff; --artex-rev-text: #303030; --artex-rev-text-light: #706c6c;
    --artex-rev-border: #e5e7eb; --artex-rev-danger-bg: #fee2e2; --artex-rev-danger-text: #b91c1c;
    --artex-rev-success-bg: #eef8e9; --artex-rev-success-text: #4caf24; --artex-rev-radius: 0;
    --artex-rev-star: #e5e7eb; --artex-rev-star-active: #fbbf24; position: relative; box-sizing: border-box;
}
.artex-reviews-wrapper * { box-sizing: inherit; }
/* Alerts */
.artex-rev-alert {
padding: 20px;
    border-radius: 0;
    margin-bottom: 24px;
    animation: artexRevFadeIn 0.4s ease-out;
}

.artex-rev-alert-danger {
background-color: var(--artex-rev-danger-bg);
    color: var(--artex-rev-danger-text);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.artex-rev-alert-success {
background-color: var(--artex-rev-success-bg);
}

.artex-rev-btn {
min-width: 220px;
    min-height: 50px;
    padding: 13px 28px;
    border: 0;
    border-radius: 0;
    background: var(--artex-rev-primary);
    color: #fff;
    font: inherit;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color .2s;
}

.artex-rev-btn:hover {
background: var(--artex-rev-primary-hover);
}

.artex-rev-btn:focus-visible {
outline: 2px solid var(--artex-rev-primary);
    outline-offset: 2px;
}

.artex-rev-modal-overlay {
position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .58);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.artex-rev-modal-overlay.artex-show {
opacity: 1;
    visibility: visible;
}

.artex-rev-modal-content {
background: var(--artex-rev-bg);
    border: 1px solid var(--artex-rev-border);
    border-radius: var(--artex-rev-radius);
    padding: 38px 42px 42px;
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
    transform: translateY(10px);
    transition: transform .25s ease;
}

.artex-rev-modal-overlay.artex-show .artex-rev-modal-content {
transform: translateY(0);
}

.artex-rev-modal-close {
position: absolute;
    top: 18px; right: 20px;
    background: none; border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--artex-rev-text-light);
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}

.artex-rev-modal-close:hover {
color: var(--artex-rev-danger-text);
}

.artex-rev-modal-title {
margin: 0 0 28px;
    padding-right: 35px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.artex-rev-modal-alert .artex-rev-alert {
margin: 0 0 18px;
}

.artex-rev-modal-content--success .artex-rev-form {
display: none;
}

.artex-rev-modal-content--success .artex-rev-modal-alert .artex-rev-alert {
margin: 0;
}

/* Form Groups */
.artex-rev-form-row {
display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.artex-rev-form-row .artex-rev-form-group {
min-width: 0;
}

.artex-rev-form-group {
margin-bottom: 22px;
}

.artex-rev-form-group label {
display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 9px;
    color: var(--artex-rev-text);
}

.artex-rev-form-group label .required {
color: #ef4444;
    font-weight: 600;
}

.artex-rev-input {
width: 100%;
    background-color: var(--artex-rev-bg-alt);
    border: 1px solid var(--artex-rev-border);
    color: var(--artex-rev-text);
    min-height: 52px;
    padding: 13px 15px;
    font-size: 15px;
    border-radius: 0;
    transition: border-color .2s;
    font-family: inherit;
}

.artex-rev-input:focus {
outline: none;
    border-color: var(--artex-rev-primary);
    box-shadow: none;
}

.artex-rev-input[readonly] {
background: #f7f7f7;
}

textarea.artex-rev-input {
resize: vertical;
    min-height: 110px;
}

/* Interactive Stars */
.artex-rev-rating-group {
margin-top: 2px;
}

.artex-rev-rating-line {
display: flex;
    align-items: center;
    gap: 13px;
}

.artex-rev-rating-input {
display: flex;
    justify-content: flex-start;
    gap: 2px;
}

.artex-rev-rating-input input {
display: none;
}

.artex-rev-rating-input label {
cursor: pointer;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: var(--artex-rev-star);
    transition: transform 0.2s;
}

.artex-rev-rating-input label svg,
.artex-rev-rating-input label img {
display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.artex-rev-rating-input label svg {
fill: currentColor;
}

.artex-rev-star-state {
position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.artex-rev-star-state--inactive {
opacity: 1;
}

.artex-rev-star-state--active {
color: var(--artex-rev-star-active);
    opacity: 0;
}

.artex-rev-rating-dash,
.artex-rev-rating-status {
color: var(--artex-rev-text);
    font-size: 14px;
}

.artex-rev-rating-status {
min-width: 74px;
}

.artex-rev-rating-input label.active .artex-rev-star-state--active,
.artex-rev-rating-input label.hover .artex-rev-star-state--active {
opacity: 1;
}

.artex-rev-rating-input label.active .artex-rev-star-state--inactive,
.artex-rev-rating-input label.hover .artex-rev-star-state--inactive {
opacity: 0;
}

.artex-rev-rating-input label.hover {
transform: scale(1.1);
}

.artex-rev-rating-input .artex-rev-star-state--inactive svg path {
fill: #fff;
    stroke: #d8d8d8;
}

.artex-rev-rating-input .artex-rev-star-state--active svg path {
fill: #ffbb1d;
    stroke: #ff8d28;
}

.artex-rev-form .artex-rev-btn[disabled] {
cursor: wait;
    opacity: 0.75;
    transform: none;
}

.artex-rev-consent {
display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--artex-rev-text);
    font-size: 13px;
    line-height: normal;
    cursor: pointer;
}

.artex-rev-consent input {
appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 0;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.artex-rev-consent input:checked {
border-color: var(--artex-rev-primary);
    background: var(--artex-rev-primary);
}

.artex-rev-consent input:checked::after {
content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.artex-rev-consent input:focus-visible {
outline: none;
    box-shadow: 0 0 0 2px rgba(227, 0, 15, .15);
}

.artex-rev-consent a {
color: var(--artex-rev-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.artex-rev-consent a:hover {
color: var(--artex-rev-primary-hover);
}

.artex-rev-consent .required {
color: #ef4444;
    font-weight: 600;
}

.artex-rev-antispam-field {
position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.artex-rev-upload-heading {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.artex-rev-upload-heading label {
margin: 0;
}

.artex-rev-file-counter {
display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    border: 1px solid var(--artex-rev-border);
    border-radius: 0;
    background: var(--artex-rev-bg-alt);
    color: var(--artex-rev-text-light);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.artex-rev-file {
display: flex;
    align-items: center;
    gap: 14px;
    min-height: 80px;
    padding: 15px 16px;
    border: 1px solid var(--artex-rev-border);
    border-radius: 0;
    cursor: pointer;
    transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
}

.artex-rev-file:hover,
.artex-rev-file:focus-within {
border-color: var(--artex-rev-primary);
    box-shadow: none;
}

.artex-rev-file input {
position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.artex-rev-file-icon {
display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--artex-rev-primary);
}

.artex-rev-file-icon svg {
width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.artex-rev-file-content {
display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.artex-rev-file-button {
display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 4px 0;
    font-weight: 600;
    color: var(--artex-rev-primary);
}

.artex-rev-file-text {
color: var(--artex-rev-text-light);
    font-size: 13px;
}

.artex-rev-file-error {
margin-top: 7px;
    color: var(--artex-rev-danger-text);
    font-size: 13px;
}

.artex-rev-file-list {
display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 12px;
    margin-top: 14px;
    color: var(--artex-rev-text-light);
    font-size: 13px;
}

.artex-rev-file-preview {
position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--artex-rev-border);
    border-radius: 0;
    background: var(--artex-rev-bg-alt);
    aspect-ratio: 1;
    box-shadow: none;
}

.artex-rev-file-preview img {
display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artex-rev-file-preview-name {
position: absolute;
    right: 5px;
    bottom: 5px;
    left: 5px;
    overflow: hidden;
    padding: 4px 6px;
    border-radius: 3px;
    background: rgba(17, 24, 39, .72);
    color: #fff;
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artex-rev-file-remove {
position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, .76);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.artex-rev-file-remove:hover {
background: rgba(17, 24, 39, .50);
}

.artex-rev-lightbox {
position: fixed;
    z-index: 100000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, .82);
}

.artex-rev-lightbox.artex-show {
display: flex;
}

.artex-rev-lightbox img {
display: block;
    max-width: min(1200px, 92vw);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.artex-rev-lightbox-close {
position: absolute;
    top: 16px;
    right: 22px;
    padding: 4px 10px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 600px) {
.artex-rev-modal-overlay {
padding: 12px;
}

.artex-rev-modal-content {
max-height: calc(100vh - 24px);
    padding: 26px 18px 22px;
}

.artex-rev-modal-title {
margin-bottom: 22px;
    font-size: 20px;
}

.artex-rev-modal-close {
top: 14px;
    right: 14px;
}

.artex-rev-form-group {
margin-bottom: 18px;
}

.artex-rev-btn {
width: 100%;
}

.artex-rev-file {
min-height: 64px;
        padding: 11px 12px;
}

.artex-rev-file-icon {
width: 38px;
        height: 38px;
}

.artex-rev-lightbox {
padding: 20px;
}
}

@media (max-width: 600px) {
.artex-rev-form-row {
grid-template-columns: 1fr;
        gap: 0;
}
}

.artex-rev-consent input[type="checkbox"] {
    opacity: unset;
    position: unset;
}