/* Schülercafé Allergien – deliberately no global WooCommerce style overrides */
.skc-allergy-footer{max-width:1160px;margin:28px auto 16px;padding:12px 16px;border-top:1px solid #d8ddd5;color:#49594a;background:#f6f6ef;font-size:13px;line-height:1.55;box-sizing:border-box;border-radius:10px}
.skc-allergy-footer span{font-size:18px;color:#285c43;margin-right:4px}
.skc-allergy-product,.skc-allergy-checkout,.skc-allergy-panel,.skc-allergy-reminder{background:#faf7ef;border:1px solid #d6dfd2;border-radius:16px;padding:18px;margin:18px 0;color:#263e30;box-sizing:border-box}
.skc-allergy-product{margin:16px 0 12px}.skc-allergy-product strong,.skc-allergy-checkout>strong{color:#255a41;font-size:17px}
.skc-allergy-product p,.skc-allergy-checkout p{margin:8px 0;line-height:1.55}
.skc-allergy-panel h2{margin:0 0 10px;color:#24553c}
.skc-allergy-choices{display:flex;flex-direction:column;gap:9px;margin:14px 0}
.skc-allergy-choices label{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid #d5dcd3;padding:11px 12px;border-radius:10px;font-weight:600;line-height:1.45;cursor:pointer}
.skc-allergy-choices input{margin-top:3px;flex-shrink:0}
.skc-allergy-text{display:block;font-weight:700;margin:12px 0 10px}.skc-allergy-text small{display:block;font-size:12px;font-weight:400;color:#65736c;margin:3px 0 8px}
.skc-allergy-text textarea{display:block;width:100%!important;max-width:100%;font:inherit;font-weight:400;border:1px solid #bbc9bc;border-radius:10px;min-height:76px;padding:10px!important;margin-top:7px;box-sizing:border-box;background:#fff}
.skc-allergy-agreement{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45;margin:13px 0}.skc-allergy-agreement input{margin-top:3px;flex-shrink:0}
.skc-allergy-muted{font-size:12px!important;color:#617368!important}.skc-allergy-button{background:#28664a!important;color:#fff!important;border-color:#28664a!important;font-weight:700!important;border-radius:9px!important}
.skc-allergy-child{margin:12px 0;background:#fff;border:1px solid #d1dccc;border-radius:12px;overflow:hidden}
.skc-allergy-child>summary{padding:13px 15px;cursor:pointer;line-height:1.5;color:#274d36;list-style-position:inside}
.skc-allergy-child[open]>summary{background:#eef4eb}.skc-allergy-inner{padding:12px 15px}
.skc-allergy-good{padding:9px 12px;color:#21573d;background:#e4f0e6;border-radius:8px}.skc-allergy-error{padding:9px 12px;color:#8b2727;background:#fff0ed;border-radius:8px}
.skc-allergy-sensitive{border-left:3px solid #ac6720;background:#fff9eb;padding:7px 9px;margin-top:6px;white-space:normal;overflow-wrap:anywhere}
.skc-allergy-kitchen{max-width:1600px}.skc-allergy-kitchen td,.skc-allergy-kitchen th{vertical-align:top;padding:10px;line-height:1.5}.skc-allergy-kitchen td:last-child{min-width:200px}
@media(max-width:600px){.skc-allergy-product,.skc-allergy-checkout,.skc-allergy-panel{padding:14px;border-radius:12px}.skc-allergy-footer{margin:20px 10px;font-size:12px}}

.skc-allergy-kitchen table{width:100%;border-collapse:collapse;background:#fff}.skc-allergy-kitchen th,.skc-allergy-kitchen td{border:1px solid #d4ddd5;text-align:left;padding:10px;overflow-wrap:anywhere}

/* 1.0.1: Persönliche Angaben und Kinderdaten visuell trennen. */
.woocommerce-MyAccount-content .skc-allergy-panel + .skc-allergy-panel {margin-top:28px;}
.woocommerce-MyAccount-content #skc-kinderallergien {border-top:3px solid #2c6448;padding-top:20px;}

/* 1.0.2: Account dashboard: an independent full-width card instead of a
   conflicting item in the theme's fixed WooCommerce tile grid. */
.woocommerce-account .skc-allergy-nav-card-wrap{
  box-sizing:border-box!important;display:block!important;width:100%!important;
  max-width:none!important;min-width:0!important;clear:both!important;
  float:none!important;flex:0 0 100%!important;grid-column:1/-1!important;
  margin:16px 0!important;padding:0!important;
}
.woocommerce-account .skc-allergy-nav-card{
  box-sizing:border-box!important;display:flex!important;align-items:center;
  gap:14px;width:100%!important;min-height:88px;padding:17px 22px!important;
  border:1px solid #a5c6ad!important;border-radius:17px!important;
  background:#ecf4ec!important;color:#214b36!important;
  text-decoration:none!important;line-height:1.3!important;
  box-shadow:0 4px 0 rgba(29,80,51,.08);overflow-wrap:anywhere;
}
.woocommerce-account .skc-allergy-nav-icon{font-size:25px;line-height:1;flex-shrink:0}
.woocommerce-account .skc-allergy-nav-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.woocommerce-account .skc-allergy-nav-info strong{font-size:17px;font-weight:800;color:#214b36!important}
.woocommerce-account .skc-allergy-nav-info small{font-size:13px;color:#416450!important;line-height:1.4}
.woocommerce-account .skc-allergy-nav-arrow{font-size:28px;font-weight:700;color:#214b36;flex-shrink:0}
.woocommerce-account .skc-allergy-nav-card:hover,.woocommerce-account .skc-allergy-nav-card:focus-visible{border-color:#285e45!important;background:#dff0e2!important;outline-offset:3px}
@media(max-width:600px){.woocommerce-account .skc-allergy-nav-card{padding:14px 15px!important;min-height:76px}.woocommerce-account .skc-allergy-nav-info strong{font-size:16px}}
