/* Argentinear Compra Semanal · isolated styles */
.arg-weekly-shell{--cyan:#00a5cc;--pink:#e60078;--dark:#172d3a;color:var(--dark);max-width:1100px;margin:24px auto 48px;padding:0 16px;font-family:inherit}
.arg-weekly-head span{display:block;color:var(--pink);font-size:12px;font-weight:800;letter-spacing:.1em}
.arg-weekly-head h2{color:var(--dark);font-size:clamp(24px,4vw,34px);margin:7px 0}
.arg-weekly-head p{color:#59717d;font-size:14px}
.arg-weekly-banner{border:1px solid #bde9f3;background:#eaf9fd;border-radius:16px;padding:20px;margin:24px 0}
.arg-weekly-banner strong{font-size:18px}.arg-weekly-banner p{margin:7px 0 15px;font-size:13px}
.arg-weekly-button,.woocommerce .arg-weekly-button{display:inline-block;border:0;border-radius:9px;background:#00a5cc!important;color:white!important;padding:12px 18px;font-weight:700;text-decoration:none;line-height:1.4;white-space:normal;text-align:center}
.arg-weekly-button:hover{background:#e60078!important;color:#fff!important}
.arg-weekly-list{background:white;border:1px solid #e3eef2;border-radius:14px;padding:20px;margin:16px 0}
.arg-weekly-list-title{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}
.arg-weekly-list-title h3{font-size:18px;color:#172d3a;margin:0}
.arg-weekly-list-title span{font-size:11px;font-weight:700;background:#e8f8fd;color:#007f9d;border-radius:20px;padding:5px 10px}
.arg-weekly-list p{font-size:13px;color:#576e78}.arg-weekly-list ul{margin:12px 0 0;padding-left:19px}.arg-weekly-list li{padding:5px 0;font-size:13px}
.arg-weekly-warning{background:#fff0f7;padding:10px;border-radius:8px;color:#7c2855!important}
.arg-weekly-product{margin-top:14px}.arg-weekly-product p{font-size:13px;color:#637782}
.arg-weekly-add-form{margin:0}.arg-weekly-add-form button{font-size:13px}
@media(max-width:600px){.arg-weekly-banner,.arg-weekly-list{padding:16px}.arg-weekly-button{width:100%}.arg-weekly-list-title h3{font-size:16px}}

.arg-weekly-pending{background:#fff7e5;padding:12px;border-radius:8px;color:#79520a!important;border:1px solid #ffe0a0}
.woocommerce ul.products li.product .arg-weekly-loop{margin:8px 0 0!important;width:100%}
.woocommerce ul.products li.product .arg-weekly-loop button{width:100%;min-height:36px;padding:7px 10px!important;background:#e9f9fc!important;color:#007d9c!important;border:1px solid #9fe0ec!important;border-radius:8px!important;font-size:11px!important}
.woocommerce ul.products li.product .arg-weekly-loop button:hover{background:#e60078!important;color:white!important;border-color:#e60078!important}


/* V1.3 - Botones semanales compactos y colores Argentinear.
   Precisión superior a las reglas de Astra (botón amarillo por defecto). */
body.woocommerce ul.products li.product .arg-weekly-loop,
body .ast-woocommerce-container ul.products li.product .arg-weekly-loop {
  width:100%!important; margin:7px 0 0!important; padding:0!important;
}
body.woocommerce ul.products li.product .arg-weekly-loop form,
body .ast-woocommerce-container ul.products li.product .arg-weekly-loop form {margin:0!important;padding:0!important;}
body.woocommerce ul.products li.product .arg-weekly-loop button.arg-weekly-button,
body .ast-woocommerce-container ul.products li.product .arg-weekly-loop button.arg-weekly-button,
body.woocommerce ul.products li.product .arg-weekly-loop .button,
body .ast-woocommerce-container ul.products li.product .arg-weekly-loop .button {
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%!important;min-height:32px!important;max-height:none!important;
  padding:7px 9px!important;margin:0!important;
  border-radius:7px!important;border:1px solid #00a5cc!important;
  background:#e9f9fd!important;color:#007f9d!important;
  font-size:10px!important;font-weight:800!important;line-height:1.3!important;
  text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;
  white-space:normal!important;
}
body.woocommerce ul.products li.product .arg-weekly-loop button.arg-weekly-button:hover,
body .ast-woocommerce-container ul.products li.product .arg-weekly-loop button.arg-weekly-button:hover {
  background:#e60078!important;border-color:#e60078!important;color:#fff!important;
}
body.single-product .arg-weekly-product:not(.arg-weekly-loop) {margin:9px 0 0!important;}
body.single-product .arg-weekly-product:not(.arg-weekly-loop) button.arg-weekly-button {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;max-width:100%!important;min-height:38px!important;
  padding:9px 15px!important;margin:0!important;
  border-radius:8px!important;border:1px solid #00a5cc!important;
  background:#e9f9fd!important;color:#007f9d!important;
  font-size:12px!important;font-weight:800!important;line-height:1.3!important;box-shadow:none!important;
}
body.single-product .arg-weekly-product:not(.arg-weekly-loop) button.arg-weekly-button:hover {
  background:#e60078!important;color:#fff!important;border-color:#e60078!important;
}
@media(max-width:767px){
 body.woocommerce ul.products li.product .arg-weekly-loop button.arg-weekly-button,
 body .ast-woocommerce-container ul.products li.product .arg-weekly-loop button.arg-weekly-button {min-height:30px!important;padding:6px 4px!important;font-size:9px!important;}
 body.single-product .arg-weekly-product:not(.arg-weekly-loop) button.arg-weekly-button {width:100%!important;}
}

/* V1.4: reglas específicas para Astra, cargadas ahora también en Tienda. */
body .ast-woocommerce-container ul.products li.product .arg-weekly-product.arg-weekly-loop{margin:5px 0 0!important;padding:0!important;width:100%!important;flex:none!important;min-height:0!important}
body .ast-woocommerce-container ul.products li.product .arg-weekly-product.arg-weekly-loop form{display:block!important;margin:0!important;padding:0!important;line-height:1!important}
body .ast-woocommerce-container ul.products li.product .arg-weekly-product.arg-weekly-loop button.button.arg-weekly-button,
body.post-type-archive-product .ast-woocommerce-container ul.products li.product .arg-weekly-loop button.button,
body.tax-product_cat .ast-woocommerce-container ul.products li.product .arg-weekly-loop button.button{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;height:32px!important;min-height:32px!important;max-height:32px!important;
 margin:0!important;padding:4px 8px!important;border-radius:8px!important;
 background:#e9f9fd!important;background-image:none!important;border:1px solid #00a5cc!important;
 color:#007f9d!important;font-size:10px!important;font-weight:750!important;line-height:1!important;
 text-align:center!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;
 appearance:none!important;cursor:pointer!important;
}
body .ast-woocommerce-container ul.products li.product .arg-weekly-loop button.button.arg-weekly-button:hover{
 background:#00a5cc!important;border-color:#00a5cc!important;color:white!important;
}
@media(max-width:767px){
 body .ast-woocommerce-container ul.products li.product .arg-weekly-loop button.button.arg-weekly-button{
 font-size:9px!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:3px!important;
 }
}
