.otop-product-logo {
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
}

.otop-logos {
    display: flex;
    flex-wrap: wrap;
	gap: 24px;
}

.otop-logos .otop-logo-placement input {
    display: none;
}

.otop-logos .otop-logo-placement {
    text-align: center;
	transition: all 300ms;
	min-width: 110px;
	.amount bdi {
		font-weight: 500;
        font-size: 12px;
	}
	.logo-file {
		display: none;
	}
}

.otop-logos .otop-logo-placement img {
    display: block;
    text-align: center;
    border: 1px solid #e7e7e7;
    padding: 4px;
    border-radius: 6px;
	transition: all 300ms;
	margin: 0 auto;
	width: 110px;
}

.otop-logos .otop-logo-placement:has(input:checked) {
	img {
		background: var(--e-global-color-primary);
	}
	.amount bdi {
		font-weight: 700;
	}
	input.logo-file {
		display: block !important;
		max-width: 110px;
		margin: 8px auto;
	}
}

.logo-file::file-selector-button {
	display: inline-block;
	border: none;
	outline: none;
	border-radius: 0;
	background: var(--e-global-color-primary);
	border: 2px solid var(--e-global-color-primary);
	padding: 6px 16px;
	color: #f7f7f7;
	transition: all 300ms;
	font-size: 14px;
}

.logo-file::file-selector-button:hover {
	color: var(--e-global-color-primary);
	background: #f7f7f7;
	cursor: pointer;
}

.otop-logos .otop-logo-placement img:hover {
	cursor: pointer;
    background-color: #e7e7e7;
}

.otop-logo-placements, .otop-logos {
    width: 100%;
}

body:has(.bulk-quantity-container) .quantity {
    display: none;
}

.etheme-add-to-cart-form form {
    flex-wrap: wrap;
}

.add-to-cart-button-stretched .etheme-add-to-cart-form form .add_to_cart_button:nth-last-child(3) {
    flex-basis: 100% !important;
    width: 100% !important;
}

.bulk-quantity-container ul {
    list-style: none;
    padding-left: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bulk-quantity-container ul li {
	width: calc(33% - 4px);
	flex-basis: calc(33% - 4px);
}

#otop-upload-btn {
    background-color: #000000;
    fill: #FFFFFF;
    color: #FFFFFF;
    --fill-color: #FFFFFF;
    border-radius: 10px 10px 10px 10px;
    padding: 6px 16px;
}

#otop-user-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#otop-logo-remove {
    position: absolute;
    top: 0;
    right: 0;
    font-family: monospace;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 2rem;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

@media(max-width: 768px) {
	#otop-logo-upload {
		bottom: 64px !important;
	}

	#gt_float_wrapper {
		bottom: 56px !important;
	}

	.bulk-quantity-container ul li {
		width: 100%;
		flex-basis: 100%;
	}
}