/* Quick View Woo styles */
body > div.qvwoo-modal > div > div > h2 {
 font-size: 15px !important;
 font-weight: bold !important;	
}
.qvwoo-btn {
    background: #163861;
    color: #fff;
	font-size: 14px !important;
    border: none;
    padding: 8px 12px;
    margin-top: 5px;
    cursor: pointer;
    width: 100%;
    border-radius: 16px;
    padding: 11px;
    display: inline-block !important;
}
.qvwoo-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
.qvwoo-btn:hover {
   background: #1C5186;
}

.qvwoo-modal {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.qvwoo-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
    z-index: 9999;
}

.qvwoo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid #000;
    color: #000;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    z-index: 9999;
    padding: 2px 8px;
}
.qvwoo-qty-cart {
    display: flex;
    align-items: center;
	justify-content: center !important;
    gap: 8px;
    margin-top: 10px;
}

input.qvwoo-qty {
    max-width: 70px !important;
}
.qvwoo-view-cart {
    border: 1px solid #000;
    background: #fff;
    color: #000;
    padding: 6px 10px;
    text-decoration: none;
}
.qvwoo-message {
    margin-top: 10px;
    color: green;
    font-weight: bold;
	font-size: 14px;
}
.qvwoo-check {
    color: green;
    margin-right: 5px;
}
#qv-quantity {
    width: 60px;
    -webkit-appearance: auto !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
#qv-quantity::-webkit-inner-spin-button,
#qv-quantity::-webkit-outer-spin-button {
    -webkit-appearance: auto !important;
    opacity: 1 !important;
    margin: 0 !important;
}
input#qv-quantity
 {
    padding: 5px !important;
}

.qvwoo-add-to-cart {
	background: #163861 !important;
}

.qvwoo-add-to-cart:hover {
	background: #1C5186 !important;
}


.qvwoo-add-to-cart[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #ccc;
}

.qvwoo-variation select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100% !important;
    margin-bottom: 10px;
}

.qvwoo-variation label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

@media (max-width: 600px) {
	body > div.qvwoo-modal > div > div > h2 {
 font-size: 14px !important;
 font-weight: bold !important;	
}
    .qvwoo-modal-content {
        width: 90%;
        margin: 20px auto;
    }
    .qvwoo-qty-cart {
        flex-wrap: nowrap;
		gap: 10px;
        margin-top: 10px;
        font-size: smaller;
    }
}


/* Global success overlay */
.qvwoo-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.qvwoo-success-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: green;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    animation: popIn 0.3s ease-out;
}

.qvwoo-success-box .qvwoo-check {
    display: block;
    font-size: 48px; /* veća ikona */
    margin-bottom: 10px;
    color: green;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.qvwoo-success-overlay {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display:flex;
    justify-content:center;
    align-items:center;
}

.qvwoo-success-message {
    background:#fff;
    padding: 30px 50px;
    border-radius:12px;
    display:flex;
    align-items:center;
    font-size: 20px;
    font-weight:bold;
    gap:15px;
}

.qvwoo-check {
    font-size: 32px;
    color: green;
}

.qvwoo-variation-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.qvwoo-variation-name {
    flex: 2;
    font-weight: 500;
}

.qvwoo-variation-price {
    flex: 1;
    color: #333;
    font-weight: bold;
}

.qvwoo-variation-qty input {
    width: 60px;
}

.qvwoo-variation-action button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.qvwoo-variation-action button:hover {
    background: #005c87;
}




