.gg-upload-container {
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    width: 100%;
    clear: both;
    display: block;
    flex: 0 0 100%;
    max-width: 100%;
}

.gg-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gg-dropzone:hover, .gg-dropzone.gg-dragover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.gg-dropzone-content p {
    margin: 0 0 10px;
    font-weight: 500;
    color: #334155;
    font-size: 16px;
}

.gg-dropzone-content .gg-dropzone-hint {
    font-size: 13px;
    color: #64748b;
    font-weight: normal;
}

.gg-icon-upload {
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.gg-dropzone-content .gg-dropzone-hint-min {
    color: #1e40af;
    font-weight: 600;
}

.gg-min-uploads-status {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #b45309;
}

.gg-min-uploads-status.gg-min-ok {
    color: #15803d;
}

.gg-preview-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gg-preview-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gg-preview-item:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.gg-preview-item.gg-has-error {
    border-color: #fca5a5;
    background: #fef2f2;
}

.gg-preview-img-wrap {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    background: #f1f5f9;
}

.gg-preview-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gg-preview-details {
    flex-grow: 1;
    min-width: 0; /* for text truncation */
}

.gg-preview-name {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.gg-preview-status {
    font-size: 12px;
}

.gg-uploading { color: #3b82f6; }
.gg-success { color: #10b981; }
.gg-error { color: #ef4444; }

.gg-progress-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.gg-progress-fill {
    height: 100%;
    background: #3b82f6;
    width: 0%;
    transition: width 0.2s ease;
}

.gg-preview-remove {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    margin-left: 10px;
}

.gg-preview-remove:hover {
    color: #ef4444;
}

/* Kép darabszám választó (Quantity) */
.gg-preview-qty {
    display: flex;
    align-items: center;
    margin-right: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px 8px;
}
.gg-preview-qty label {
    font-size: 12px;
    color: #64748b;
    margin-right: 6px;
    font-weight: 500;
}
.gg-qty-input {
    width: 45px !important;
    height: 28px !important;
    padding: 0 4px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    text-align: center;
    font-size: 14px;
    -moz-appearance: textfield;
}
.gg-qty-input::-webkit-outer-spin-button,
.gg-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.gg-qty-input:focus {
    outline: none;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2) !important;
}

/* Expressz UI */
.gg-express-container, .gg-upsells-container {
    margin-top: 15px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
}
.gg-upsell-item {
    margin-bottom: 8px;
}
.gg-upsell-item:last-child {
    margin-bottom: 0;
}
.gg-express-label, .gg-upsell-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0;
}
.gg-express-label input[type="checkbox"], .gg-upsell-label input[type="checkbox"] {
    margin: 3px 10px 0 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
    flex-shrink: 0;
}
.gg-express-text, .gg-upsell-text {
    font-size: 14px;
    color: #1e3a8a;
    font-weight: 600;
    line-height: 1.4;
}
.gg-upsell-textarea:focus {
    outline: none;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2) !important;
}
.gg-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: #64748b;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    margin-left: 5px;
    margin-top: 3px;
    cursor: help;
}

/* Promo Box */
.gg-promo-box {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border: 1px solid #5eead4;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(20, 184, 166, 0.1);
}
.gg-promo-text {
    font-size: 15px;
    color: #0f766e;
    margin-bottom: 12px;
    line-height: 1.5;
}
.gg-promo-text p {
    margin: 0 0 10px 0;
}
.gg-promo-text p:last-child {
    margin-bottom: 0;
}
.gg-promo-coupon-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px dashed #14b8a6;
    padding: 6px 10px;
    border-radius: 6px;
    width: fit-content;
}
.gg-promo-coupon-code {
    font-weight: bold;
    font-size: 16px;
    color: #0f766e;
    letter-spacing: 1px;
    margin-right: 12px;
}
.gg-copy-coupon-btn {
    background: #14b8a6;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.gg-copy-coupon-btn:hover {
    background: #0f766e;
}
.gg-copy-coupon-btn.copied {
    background: #22c55e !important;
}

/* Popup */
.gg-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ggPopupFadeIn 0.3s ease-out forwards;
}
.gg-popup-modal {
    background: #fff;
    width: 90%;
    max-width: 550px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    animation: ggPopupSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.gg-popup-close-x {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}
.gg-popup-close-x:hover {
    color: #334155;
}
.gg-popup-content {
    padding: 30px 24px 20px;
}
.gg-popup-text {
    font-size: 18px;
    color: #334155;
    line-height: 1.6;
    text-align: center;
}
.gg-popup-text p {
    margin: 0 0 15px 0;
}
.gg-popup-coupon-wrap {
    margin: 20px auto 0;
    justify-content: center;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
}
.gg-popup-footer {
    background: #f8fafc;
    padding: 16px 24px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}
.gg-popup-close-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.gg-popup-close-btn:hover {
    background: #3b82f6;
}

@keyframes ggPopupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ggPopupSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.gg-tooltip-icon:hover {
    background: #3b82f6;
    color: white;
}

/* Képenkénti extrák a feltöltött kép alatt */
.gg-preview-item {
    flex-wrap: wrap;
}
/* A fájlnév zsugorodjon, ne törje új sorba a darabszámot és a törlés gombot. */
.gg-preview-item .gg-preview-details {
    flex: 1 1 0;
}
.gg-image-extras {
    flex-basis: 100%;
    margin-top: 10px;
    padding: 10px 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
}
.gg-image-extras-title {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}
.gg-image-extra {
    margin-bottom: 6px;
}
.gg-image-extra:last-child {
    margin-bottom: 0;
}
.gg-image-extra-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #1e3a8a;
}
.gg-image-extra-label input[type="checkbox"] {
    margin: 2px 8px 0 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #3b82f6;
    flex-shrink: 0;
}
.gg-image-extra-name {
    font-weight: 600;
    margin-right: 4px;
}
.gg-image-extra-price {
    color: #475569;
}
.gg-image-upsell-textarea {
    width: 100%;
    min-height: 56px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    padding: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}
.gg-image-upsell-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}
.gg-bulk-upsells {
    margin-top: 10px;
}
.gg-bulk-title {
    font-size: 13px;
    color: #475569;
    margin: 0 0 8px;
}
.gg-print-size {
    margin: 6px 0 0 24px;
    font-size: 13px;
    color: #1e3a8a;
}
.gg-print-size-label {
    font-weight: 600;
}
.gg-print-size-select {
    margin-left: 4px;
    margin-top: 4px;
    padding: 4px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    max-width: 100%;
}
.gg-size-status {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #b45309;
}

/* Ingyenes szállítás jelzése a nyomtatásnál */
.gg-shipping-note {
    margin: 0 0 10px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
}
.gg-image-extra-body {
    min-width: 0;
}
.gg-image-extra-shipping {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #166534;
    background: #dcfce7;
    border-radius: 10px;
    white-space: nowrap;
}

/* Példányszám +/- gombok képenként */
.gg-qty-btn {
    width: 28px;
    height: 28px;
    padding: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #1e293b !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}
.gg-qty-btn:hover {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}
.gg-preview-qty .gg-qty-input {
    margin: 0 4px;
}

/* Express: a „24 órán belüli" rész kiemelve */
.gg-express-highlight {
    color: #dc2626;
    font-weight: 700;
}

/* Nyomtatási méretek darabszámmal */
.gg-print-size-label {
    font-weight: 600;
    margin-bottom: 6px;
}
.gg-print-size-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    padding: 6px 8px;
}
.gg-print-size-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding: 2px 0;
    color: #334155;
}
.gg-print-size-row.gg-has-count {
    color: #1e3a8a;
    font-weight: 600;
}
.gg-print-size-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.gg-print-size-count {
    width: 44px !important;
    height: 28px !important;
    padding: 0 4px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    text-align: center;
    font-size: 13px;
    -moz-appearance: textfield;
}
.gg-print-size-count::-webkit-outer-spin-button,
.gg-print-size-count::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.gg-print-size-unit {
    font-size: 12px;
    color: #64748b;
}

/* ==========================================================================
   Vásárlói vélemények (termékoldal alja)
   ========================================================================== */
.gg-testimonials-section {
    padding: 72px 0 88px;
    background: var(--gg-bg-alt, #f8fafc);
}
.gg-testimonials-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.gg-testimonials-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--gg-text-color, #1e293b);
    margin: 0 0 40px;
    letter-spacing: -0.03em;
}
.gg-testimonials-swiper {
    padding-bottom: 44px !important;
}
.gg-testimonials-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto;
}
.gg-testimonials-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 min(360px, 85%);
}
.gg-testimonials-swiper .swiper-slide {
    height: auto;
}
.gg-testimonial-card {
    height: 100%;
    margin: 0;
    padding: 28px 28px 24px;
    background: var(--gg-card-bg, #fff);
    border-radius: var(--gg-border-radius, 16px);
    box-shadow: var(--gg-shadow-sm, 0 2px 12px rgba(15, 23, 42, 0.06));
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}
.gg-testimonial-stars {
    font-size: 18px;
    letter-spacing: 2px;
    color: #d1d5db;
    line-height: 1;
}
.gg-testimonial-stars .gg-star-on {
    color: #f59e0b;
}
.gg-testimonial-text {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--gg-text-color, #1e293b);
    font-style: normal;
    flex: 1 1 auto;
}
.gg-testimonial-author {
    font-weight: 700;
    color: var(--gg-text-color, #1e293b);
    font-size: 0.95rem;
}
.gg-testimonial-author span {
    display: block;
    font-weight: 500;
    color: var(--gg-text-muted, #64748b);
    font-size: 0.85rem;
    margin-top: 2px;
}
.gg-testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--gg-brand-color-primary, #0066a8);
}
@media (max-width: 600px) {
    .gg-testimonials-title { font-size: 1.8rem; }
}

/* ==========================================================================
   „Írd meg a véleményed" űrlap
   ========================================================================== */
.gg-review-form-section {
    padding: 64px 0 88px;
}
.gg-review-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}
.gg-review-intro {
    text-align: center;
    color: var(--gg-text-muted, #64748b);
    margin: -24px 0 28px;
}
.gg-review-thanks {
    margin: 0 0 24px;
    padding: 14px 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    color: #166534;
    font-weight: 600;
    text-align: center;
}
.gg-review-form {
    background: var(--gg-card-bg, #fff);
    border-radius: var(--gg-border-radius, 16px);
    box-shadow: var(--gg-shadow-sm, 0 2px 12px rgba(15, 23, 42, 0.06));
    padding: 28px;
}
.gg-review-form p {
    margin: 0 0 16px;
}
.gg-review-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gg-text-color, #1e293b);
}
.gg-review-form input[type="text"],
.gg-review-form input[type="email"],
.gg-review-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
}
.gg-review-form textarea {
    resize: vertical;
}
.gg-review-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}
@media (max-width: 600px) {
    .gg-review-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .gg-review-form { padding: 20px; }
}
.gg-req {
    color: #dc2626;
}
.gg-review-rating {
    border: 0;
    padding: 0;
    margin: 0 0 16px;
}
.gg-review-rating legend {
    font-weight: 600;
    margin-bottom: 4px;
    padding: 0;
}
/* Csillagok: jobbról balra rendezve, hogy a kijelölt és az előtte lévők színeződjenek. */
.gg-review-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}
.gg-review-stars input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.gg-review-stars label {
    display: inline-block;
    margin: 0;
    font-size: 34px;
    line-height: 1;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s ease;
}
.gg-review-stars label:hover,
.gg-review-stars label:hover ~ label,
.gg-review-stars input:checked ~ label {
    color: #f59e0b;
}
.gg-review-stars input:focus-visible + label {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 4px;
}
.gg-review-consent label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-weight: 500;
    font-size: 0.95rem;
}
.gg-review-consent input {
    margin-top: 4px;
}
.gg-review-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.gg-review-submit {
    display: inline-block;
    background: var(--gg-brand-color-primary, #0066a8);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}
.gg-review-submit:hover {
    filter: brightness(0.92);
}
