/* Fehlermeldung */
.boxyfy-productbox-alert .amz-preiswecker-message.amz-preiswecker-message-error {
    background: #ffe0e0;
    border: 1px solid #ff5c5c;
    color: #a70000;
    padding: 8px;
    margin-bottom: 10px;
}

/* Erfolgsmeldung */
.boxyfy-productbox-alert .amz-preiswecker-message.amz-preiswecker-message-success {
    background: #e0f7e9;
    border: 1px solid #28a745;
    color: #155724;
    padding: 8px;
    margin-bottom: 10px;
}

/* Produktbox – Wrapper */
.boxyfy-productbox-alert .amazon-product-box-small {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    margin: 20px 0;
    background: #fff;
    box-sizing: border-box;
}

.boxyfy-productbox-alert .amazon-product-box-small.box-shadow {
    box-shadow: inset 0 0 13px 1px #e6e4e4;
}

/* Rabatt-Badge */
.boxyfy-productbox-alert .discount-percentage-box {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 20px 0 20px 20px;
    color: #fff;
    font: 550 14px/1 'Open Sans', Arial, sans-serif;
}

.boxyfy-productbox-alert .discount-percentage-box.style2 { 
	top: -10px; 
	right: -9px; 
	border-radius: 3px; 
}

.boxyfy-productbox-alert .discount-percentage-box.style3 { 
	top: 10px;  
	right: 0;   
	border-radius: 4px 0 0 4px; 
}

.boxyfy-productbox-alert .discount-percentage-box.style4 { 
	top: -13px; 
	left: -9px; 
	right: auto; 
	border-radius: 3px; 
}

/* Flex-Layout */
.boxyfy-productbox-alert .amazon-product-small-content {
    display: flex;
    align-items: flex-start;
    margin: 2px 0;
}

/* Bild-Spalte */
.boxyfy-productbox-alert .amazon-product-box-small-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    width: 100px;
    height: 100px;
    margin: 8px 19px 0 5px;
}

.boxyfy-productbox-alert .amazon-product-box-small a img {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    padding: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Text-Spalte / Title */
.boxyfy-productbox-alert .amazon-product-small-text {
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.boxyfy-productbox-alert .boxyfy-smallbox-title {
    margin: 0 0 7px;
    padding-right: 60px;
    font: 600 16px/1.3 'Open Sans', Arial, sans-serif;
    text-transform: none;
}

.boxyfy-productbox-alert .boxyfy-smallbox-title:hover {
    text-decoration: underline; /* optional */
}

/* Preis & Ersparnis */
.boxyfy-productbox-alert .product-price-smallbox {
    display: block;
    margin: 4px 0 5px;
    color: #268b0d;
    font: 600 18px/1 'Open Sans', Arial, sans-serif;
}

.boxyfy-productbox-alert .product-saveprice-small-box {
    display: block;
    width: 100%;
    margin: 3px 0 0;
    color: #000;
    font: 13px/1 'Open Sans', Arial, sans-serif;
}

.boxyfy-productbox-alert .product-saveprice-small-box span { 
	color: #d00505 !important; 
}

.boxyfy-productbox-alert .amazon-product-box-small-save-amount { 
	color: #227911; 
}

/* Disclaimer */
.boxyfy-productbox-alert .disclaimer-amz-box-simple {
    margin: 0;
    font: 12px/1.4 'Open Sans', Arial, sans-serif;
    color: #666;
}

/* Accordion – Preiswecker */
.boxyfy-productbox-alert .amz-preiswecker-accordion { 
	margin: 5px 0 10px; 
}

.boxyfy-productbox-alert .amazon-product-box-small .amz-preiswecker-toggle-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 7px 0 0 0;
    padding: 4px 12px 5px 12px;
	min-height: 0 !important;
    border: none;
    border-radius: 15px;
    background: #686868;
    color: #fff;
    font: 400 14px Verdana, Geneva, sans-serif;
    text-transform: none !important;
}

.boxyfy-productbox-alert .amz-preiswecker-accordion .amz-preiswecker-toggle-btn svg {
    width: 17px;
    height: 17px;
    margin: 2px 5px 0 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.boxyfy-productbox-alert .amz_pricealert_heading2 { 
	font-size: 14px; 
}

.boxyfy-productbox-alert .amz-preiswecker-accordion form button { 
	font-size: 15px; 
}

.boxyfy-productbox-alert .boxyfy-preiswecker-hinweis-amz-smallbox {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45em;
    color: #000;
}

.boxyfy-productbox-alert .amz-preiswecker-accordion form button:hover,
.boxyfy-productbox-alert .amz-preiswecker-toggle-btn:hover {
    filter: brightness(0.68);
}

/* Formular initial verstecken */
.boxyfy-productbox-alert .amz-preiswecker-form-container { 
	display: none; 
}
.boxyfy-productbox-alert .amz-preiswecker-form { 
	margin-top: 10px; 
}

/* Inputs & Labels */
.boxyfy-productbox-alert .amz-preiswecker-label {
    display: block;
    margin: 0 0 3px;
    padding: 0 0 0 5px;
    font-family: 'Open Sans', Arial, sans-serif;
}

.boxyfy-productbox-alert .amz-preiswecker-input-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 30px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 9999px;
}

.boxyfy-productbox-alert .amz-preiswecker-currency-prefix {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 16px;
    border-right: 1px solid #ccc;
    background: #e0e0e0;
    font-size: 16px;
    color: #333;
}

.boxyfy-productbox-alert .amz-preiswecker-price-input,
.boxyfy-productbox-alert .amz-preiswecker-email-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 15px;
    color: #666;
    background: transparent;
}

/* Absenden */
.boxyfy-productbox-alert .amz-preiswecker-submit-btn {
    margin: 8px 0 0;
    padding: 5px 15px;
    cursor: pointer;
    height: auto;
    min-height: 28px;
    text-transform: none;
    border: none;
    border-radius: 9999px;
    background: #686868;
    color: #fff;
    font-weight: 400;
}

.boxyfy-productbox-alert .amz-preiswecker-submit-btn:hover {
    filter: brightness(0.85);
}

/* Responsive */
@media (max-width: 409px) {
    .boxyfy-productbox-alert .amazon-product-box-small        { 
		max-width: 100%; 
	}
    .boxyfy-productbox-alert .amazon-product-small-content    { 
		flex-direction: column; 
		align-items: flex-start; 
	}
    .boxyfy-productbox-alert .amazon-product-box-small img    { 
		margin: 0 0 10px 0; 
	}
    .boxyfy-productbox-alert .amazon-product-small-text       { 
		padding-right: 0; 
	}
}