/* ==========================================
   KK Order Form - Professional Dark/Gold Design
   ========================================== */

.kkof-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background-color: #000000;
    color: #ffffff;
    padding: 30px;
    font-family: inherit;
}

.kkof-form-wrapper h2, 
.kkof-form-wrapper h3 {
    color: #dca07b;
}

.kkof-form-group {
    margin-bottom: 25px;
}

.kkof-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #dca07b;
    font-weight: 500;
}

.kkof-form-wrapper input[type="text"],
.kkof-form-wrapper input[type="email"],
.kkof-form-wrapper input[type="number"],
.kkof-form-wrapper select,
.kkof-form-wrapper textarea {
    display: block;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #dca07b;
    font-size: 16px;
    border-radius: 0px;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.kkof-form-wrapper input:focus,
.kkof-form-wrapper select:focus,
.kkof-form-wrapper textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.kkof-form-wrapper .kkof-submit-btn {
    display: inline-block;
    background-color: #000000;
    color: #dca07b;
    border: 1px solid #dca07b;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0px;
    transition: all 0.2s ease;
}

.kkof-form-wrapper .kkof-submit-btn:hover {
    background-color: #dca07b;
    color: #000000;
}

/* ==========================================
   Warenkorb-Bereich (Perfekt angepasst)
   ========================================== */

.kkof-cart-heading {
    margin-top: 0;
    margin-bottom: 12px;
    color: #dca07b; /* Goldene Überschrift wie die Formular-Labels */
    font-size: 18px;
}

.kkof-cart-summary {
    background-color: #000000;
    border: 1px solid #dca07b; /* Gleicher goldener Rahmen wie die Textfelder */
    padding: 15px;
    margin-bottom: 25px;
    color: #ffffff;
}

.kkof-cart-summary ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.kkof-cart-summary li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    color: #ffffff; /* Weißer Text wie in den Eingabefeldern */
    font-size: 15px;
}

.kkof-cart-summary li:last-child {
    border-bottom: none;
}

.kkof-cart-summary li strong {
    color: #ffffff; /* Preise in Weiß */
}

.kkof-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    border-top: 1px solid #dca07b;
    padding-top: 12px;
    margin-top: 10px;
}

.kkof-total-label {
    color: #dca07b; /* "Gesamtsumme:" Text im goldenen Ton der Labels */
    font-weight: 500;
}

.kkof-total-price {
    color: #dca07b; /* Gesamtpreis als goldenes Highlight */
}

.kkof-clear-link {
    color: #e25822;
    font-size: 13px;
    text-decoration: underline;
}

/* Statusmeldungen */
.kkof-notice {
padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 15px;
    border-radius: 0px;
    box-sizing: border-box;
}
.kkof-success {
	background-color: #000000 !important;
    color: #dca07b !important;
    border: 1px solid #dca07b !important;
}
.kkof-error {
    background-color: #000000 !important;
    color: #e25822 !important;
    border: 1px solid #e25822 !important;
}

/* Reines Warenkorb-Icon für Produktseiten */
.kkof-cart-icon-btn {
    background: transparent;
    border: 1px solid #dca07b;
    color: #dca07b;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 0px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kkof-cart-icon-btn:hover {
background-color: #dca07b !important;
    color: #000000 !important;
}

.kkof-cart-icon-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

//* ==========================================
   Bild-Container mit Warenkorb-Overlay (Erzwungen)
   ========================================== */

.kkof-image-wrapper {
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.kkof-image-wrapper img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* Das Warenkorb-Icon wird fest auf das Bild gezwungen */
.kkof-image-overlay-btn {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    z-index: 99 !important;
    background-color: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid #dca07b !important;
    padding: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7) !important;
}

/* Verhindert unerwünschte Abstände des Formulars im Overlay */
.kkof-image-overlay-btn form,
.kkof-image-overlay-btn .kkof-icon-form {
    margin: 0 !important;
    padding: 0 !important;
}

.kkof-image-overlay-btn:hover {
    background-color: #dca07b !important;
}

.kkof-image-overlay-btn:hover .dashicons {
    color: #000000 !important;
}

/* ==========================================
   Mengeneingabe beim Warenkorb-Button
   ========================================== */

.kkof-qty-input {
    width: 55px !important;
    height: 38px !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #dca07b !important;
    text-align: center !important;
    font-size: 15px !important;
    border-radius: 0px !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
}

.kkof-qty-input:focus {
    outline: none !important;
    border-color: #ffffff !important;
}

/* Falls das Icon direkt auf dem Bild liegt, rücken wir es etwas an die neue Breite an */
.kkof-image-overlay-btn form.kkof-icon-form {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.kkof-update-cart-btn {
    background-color: #000000 !important;
    color: #dca07b !important;
    border: 1px solid #dca07b !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    transition: all 0.2s ease !important;
}

//* ==========================================
   Mini-Warenkorb (Ohne Border, Farbe #dca07b)
   ========================================== */

.kkof-mini-cart-widget {
    display: inline-block;
    background-color: #000000;
    border: none !important; /* Kein Rahmen */
    padding: 6px 12px;
    vertical-align: middle;
}

.kkof-mini-cart-link {
    color: #dca07b !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.kkof-mini-cart-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #dca07b !important;
}

.kkof-cart-count {
    background-color: #dca07b !important;
    color: #000000 !important;
    padding: 1px 6px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0px;
}

.kkof-cart-amount {
    color: #ffffff;
}

.kkof-mini-cart-widget:hover .kkof-mini-cart-link {
    opacity: 0.85;
}